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.
where can i find a date (timestamp) when runstats were done on a table? same for reorg. On z/OS I think it was in some SYSIBM or so table but could not find it for UDB on Unix.
Thanks in advance
__________________
DB2 v9.5 ESE on AIX v6.1/ v9./10 on z/OS
For runstats: select stats_time from syscat.tables
For Reorg: This is a little tougher. If the database has been restarted since the reorg, then the information is lost. If the database has remained active then you can do something like this:
select reorg_end from table (snapshot_tbreorg('MYDB',-1)) as x where table_schema = ? and table_name = ? and reorg_status = 4