If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

 
Go Back  dBforums > Database Server Software > DB2 > DB2 Control Center "Statistics time" column

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 04-23-09, 16:30
chinatrain99 chinatrain99 is offline
Registered User
 
Join Date: Sep 2003
Posts: 73
DB2 Control Center "Statistics time" column

Where is the Control Center getting the information from for the "Statistics time" column? The column tells you the last time statistics were gathered on each table. I would think it's in one of the sysibm views, but I don't see it. Thanks, jeff
Reply With Quote
  #2 (permalink)  
Old 04-23-09, 16:49
ARWinner ARWinner is offline
Registered User
 
Join Date: Jan 2003
Posts: 3,575
syscat.tables: STATS_TIME

Andy
Reply With Quote
  #3 (permalink)  
Old 04-24-09, 09:00
chinatrain99 chinatrain99 is offline
Registered User
 
Join Date: Sep 2003
Posts: 73
that doesn't have the same dates that show on the "control center"
Reply With Quote
  #4 (permalink)  
Old 04-24-09, 09:50
ARWinner ARWinner is offline
Registered User
 
Join Date: Jan 2003
Posts: 3,575
I looked on my system and the timestamps match. What DB2 version and OS is your server, and what is your client (where you are running control center)?

Andy
Reply With Quote
  #5 (permalink)  
Old 04-24-09, 10:03
chinatrain99 chinatrain99 is offline
Registered User
 
Join Date: Sep 2003
Posts: 73
the server is aix. my client is windows. the server is 8 fp14 and my client is 9.5. i assume when the gui maps to the screen, it's selecting the runstat time from somewhere. i'll check a 9.1 server and see if the stats match.
Reply With Quote
  #6 (permalink)  
Old 04-24-09, 10:06
chinatrain99 chinatrain99 is offline
Registered User
 
Join Date: Sep 2003
Posts: 73
i queried the table you suggested, syscat.tables: STATS_TIME, and on v9.1 they do match. I guess my issue specifically is where does my 9.5 client get it from when it connects to an 8.1 database.
Reply With Quote
  #7 (permalink)  
Old 04-27-09, 10:29
ARWinner ARWinner is offline
Registered User
 
Join Date: Jan 2003
Posts: 3,575
I do not know, I no longer have any V8.x databases to check. Maybe you can do a select * from syscat.tables and see if anything there matches. If not, then open a PMR with IBM, because it is obviously a bug.

Andy
Reply With Quote
  #8 (permalink)  
Old 04-28-09, 03:57
przytula_guy przytula_guy is offline
Registered User
 
Join Date: Apr 2006
Location: Belgium
Posts: 1,159
this is from v8
C:\Documents and Settings\GUY>db2 describe table syscat.tables

Column Type Type
name schema name Length Scale Nulls
------------------------------ --------- ------------------ -------- ----- ------
TABSCHEMA SYSIBM VARCHAR 128 0 No
TABNAME SYSIBM VARCHAR 128 0 No
DEFINER SYSIBM VARCHAR 128 0 No
TYPE SYSIBM CHARACTER 1 0 No
STATUS SYSIBM CHARACTER 1 0 No
BASE_TABSCHEMA SYSIBM VARCHAR 128 0 Yes
BASE_TABNAME SYSIBM VARCHAR 128 0 Yes
ROWTYPESCHEMA SYSIBM VARCHAR 128 0 Yes
ROWTYPENAME SYSIBM VARCHAR 128 0 Yes
CREATE_TIME SYSIBM TIMESTAMP 10 0 No
STATS_TIME SYSIBM TIMESTAMP 10 0 Yes
__________________
Best Regards, Guy Przytula
Database Software Consultant
DB2 UDB LUW Certified V7-V8-V9-V9.7 DB Admin - Dprop..
Information Server Datastage Certified
http://www.infocura.be
Reply With Quote
  #9 (permalink)  
Old 04-28-09, 05:20
rahul_s80 rahul_s80 is offline
Registered User
 
Join Date: Jul 2006
Location: Pune , India
Posts: 433
may be syscat.indexes : stats_time !!
__________________
Rahul Singh
Certified DB2 9 DBA / Application Developer
Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On