Q
Problem solve Get help with specific problems with your technologies, process and projects.

When to update index statistics

SQL Server 2005 expert Adam Machanic explains why it is not necessary to update statistics after rebuilding indexes.

Is it necessary to update statistics after indexes are rebuilt?
No. When indexes are rebuilt (using DBCC DBREINDEX or the newer ALTER INDEX REBUILD syntax) statistics are automatically updated. However, this is not the case when reorganizing indexes (using DBCC INDEXDEFRAG or ALTER INDEX REORGANIZE). If you are doing an index reorganization rather than an index rebuild, you might find it useful to update the statistics after the process completes.
This was last published in February 2006

Dig Deeper on Microsoft SQL Server Performance Monitoring and Tuning

Have a question for an expert?

Please add a title for your question

Get answers from a TechTarget expert on whatever's puzzling you.

You will be able to add details on the next page.

Start the conversation

Send me notifications when other members comment.

By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy

Please create a username to comment.

-ADS BY GOOGLE

SearchBusinessAnalytics

SearchDataCenter

SearchDataManagement

SearchAWS

SearchOracle

SearchContentManagement

SearchWindowsServer

Close