Home » RDBMS Server » Performance Tuning » difference between locking and disabling statistics (oracle10g)
difference between locking and disabling statistics [message #277353] Mon, 29 October 2007 13:37 Go to next message
oradba16
Messages: 54
Registered: September 2005
Member
Hi,

can anyone brief me the difference between disabling the automatic statistics collection and locking the statistics.

Scenario 1:
Imagine I disabled the automatic statistics gathering for whole db and consider now I am collecting the statistics for the table manually. After collecting the statistics if I am not locking the statistics. Will it keep updating, eventhough I disabled the auto stats gathering?


Why I am asking is document says, statistics will keep updated if we are not locking the stats gathering, is it?

With Regards
Boo


Re: difference between locking and disabling statistics [message #277357 is a reply to message #277353] Mon, 29 October 2007 14:47 Go to previous message
Michel Cadot
Messages: 68716
Registered: March 2007
Location: Saint-Maur, France, https...
Senior Member
Account Moderator
If you disable auto gathering, statistics are not automatically updated.
If you lock statistics, they are no more auto gathered.

Regards
Michel
Previous Topic: How to place many datafile on large tablespace?
Next Topic: Fragmented Tables
Goto Forum:
  


Current Time: Tue Nov 26 20:46:19 CST 2024