Q

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 first published in February 2006

Dig deeper on Microsoft SQL Server Performance Monitoring and Tuning

Pro+

Features

Enjoy the benefits of Pro+ membership, learn more and join.

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.

0 comments

Oldest 

Forgot Password?

No problem! Submit your e-mail address below. We'll send you an email containing your password.

Your password has been sent to:

SearchBusinessAnalytics

SearchDataCenter

SearchDataManagement

SearchAWS

SearchOracle

SearchContentManagement

SearchWindowsServer

Close