Table Statistics for oracle 11g [message #569387] |
Thu, 25 October 2012 08:30  |
pokhraj_d
Messages: 117 Registered: December 2007
|
Senior Member |
|
|
Hi All,
I want to get the stale stats for Table resides at APPS schema.
Is there is any table or view exists to get the details like DBA_STALE_STATS or anything?
Currently I am checking LAST_ANALYZED column from DBA_TABLES?
Thanks-
P
|
|
|
|
Re: Table Statistics for oracle 11g [message #569389 is a reply to message #569387] |
Thu, 25 October 2012 08:42  |
John Watson
Messages: 8965 Registered: January 2010 Location: Global Village
|
Senior Member |
|
|
Stale statistics are identified by comparing the DML activity tracked in dba_tab_modifications with the statistics currently known. If you look at dba_tab_modifications and think "those figures are rubbish", that could be because they aren't updated in real-time: execute dbms_stats.flush_database_monitoring_info to force an update.
|
|
|