Is having the auto create statistics on in a database a good thing?
85 pts.
0
Q:
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: Oct 23 2009  2:08 AM GMT
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
0
1835 pts.
0
A:
 RATE THIS ANSWER
0
Click to Vote:
  •   0
  •  0
  • AddThis Social Bookmark Button
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 Answered: Oct 23 2009  3:31 PM GMT by Kccrosser   1835 pts.
0
0
Discuss This Answer:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _



0