Home » RDBMS Server » Performance Tuning » DBMS Stats gathering (Oracle 10.2.0.4,Linux)
DBMS Stats gathering [message #480755] Tue, 26 October 2010 18:49 Go to next message
preet_kumar
Messages: 204
Registered: March 2007
Senior Member
Oracle 10g has the feature of automatic stats gathering in this case is it necessary to run DBMS_STATS on tables manually.
Does the stats gathered become stale when the auto stat runs ?
Re: DBMS Stats gathering [message #480756 is a reply to message #480755] Tue, 26 October 2010 18:56 Go to previous message
BlackSwan
Messages: 26766
Registered: January 2009
Location: SoCal
Senior Member
>is it necessary to run DBMS_STATS on tables manually.
no, not necessary.
by default the job runs once every 24 hours.
When you see LAST_ANALYZED being days, weeks, or months in the past do not be alarmed.
If/when the data in a table does not change, then the statistics do not need to change.
Oracle collects new statistics when enough of the data (about 10%) has changed.
Previous Topic: distributing datafiles in server
Next Topic: Group By taking more time (merged)
Goto Forum:
  


Current Time: Fri Nov 22 07:37:23 CST 2024