View previous topic :: View next topic |
Author |
Message |
pentapati Beginner
Joined: 01 Dec 2003 Posts: 2 Topics: 2
|
Posted: Mon Dec 01, 2003 5:03 am Post subject: Runstat time for the DB2 table |
|
|
Hi,
please let me know if we can find the runstat time for a table.
Thanks,
Pentapati |
|
Back to top |
|
 |
kolusu Site Admin

Joined: 26 Nov 2002 Posts: 12378 Topics: 75 Location: San Jose
|
Posted: Mon Dec 01, 2003 6:51 am Post subject: |
|
|
Pentapati,
You can get the runstats time from STATSTIME of SYSIBM.SYSTABLES. STATSTIME is a timestamp column which if updated by runstats will contain date and time of last RUNSTATS invocation. You can use the following query to get the desired results
Code: |
SELECT STATSTIME
FROM SYSIBM.SYSTABLES
WHERE NAME = 'TABLE NAME'
;
|
Check this link for explanation of columns of SYSIBM.SYSTABLES.
Hope this helps...
cheers
kolusu _________________ Kolusu
www.linkedin.com/in/kolusu |
|
Back to top |
|
 |
|
|