Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

RUNSTATS

Status
Not open for further replies.

balajipn

Programmer
Mar 30, 2004
65
IN
Hi,

Is there a way to find out whether RUNSTATS was not run against a DB2 table?.

Thanks in Advance,
Balaji Neelakantan.
 
RUNSTATS updates the values in catalog tables SYSCOLDIST and SYSCOLDISTATS. You can run a query against these tables to find out. No row = no RUNSTATS.
 
Hi Steve & Sathya,

Thanks for your answers.

I did some research on this and found that RUNSTATS is updating the following DB2 catalog tables.

SYSCOLUMNS
SYSINDEXES
SYSINDEXPART
SYSTABLEPART
SYSTABLES
SYSTABLESPACE
SYSDBAUTH
SYSSTOGROUP
SYSCOLDIST
SYSCOLDISTSTATS
SYSCOLSTATS
SYSINDEXSTATS
SYSTABSTATS
SYSLOBSTATS

Hope this information will be useful for everyone.

Thanks,
Balaji.

 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top