585 pts.
 Is having the auto create statistics on in a database a good thing?
Hello I have a 250GB database and the auto create statistics is on is that a good thing?

Software/Hardware used:
sql server 2005
ASKED: October 23, 2009  2:08 AM
UPDATED: October 23, 2009  3:31 PM

Answer Wiki:
Generally you want the statistics to be automatically created and maintained. There are exceptions - if your database is routinely updated by a high-volume batch update, you might want to disable statistics during the update and then turn them on after the update completes. Otherwise, maintaining the statistics helps the query optimizer to properly execute the queries. This is true for all database engines. If your statistics get "stale" the query optimizer may execute queries in a non-optimal manner, possibly leading to table scans and other performance-killing strategies.
Last Wiki Answer Submitted:  October 23, 2009  3:31 pm  by  Kccrosser   3,830 pts.
All Answer Wiki Contributors:  Kccrosser   3,830 pts.
To see all answers submitted to the Answer Wiki: View Answer History.


Discuss This Question:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _