Solved

Rebuilding indexes and maintaining statistics

Posted on 2016-08-18
3
35 Views
Last Modified: 2016-08-18
I have a client who has a maintenance plan that runs an update statistics task straight after rebuilding indexes. I have read recently that rebuilding indexes will automatically update the statistics tables, which if true, will make the task of updating statistics superfluous and unnecessary. Can you confirm that this is true ?
0
Comment
Question by:Philip van Gass
3 Comments
 
LVL 48

Expert Comment

by:PortletPaul
ID: 41760734
Rebuilding indexes updates index statistics, not column statistics, so the process being followed isn't  redundant.
1
 
LVL 49

Accepted Solution

by:
Vitor Montalvão earned 500 total points
ID: 41760833
I can't agree with Paul. Rebuilding indexes will update statistics with FULL SCAN so by my point of view is redundant to update statistics after. Or even worse if the update statistics doesn't run with the FULL SCAN option.

Reorganizing indexes is a totally different story. After a REORG operation it's acceptable an UPDATE STATS operation.
0
 

Author Closing Comment

by:Philip van Gass
ID: 41760925
I have reviewed this topic and it looks like Vitor is right.
0

Featured Post

Free Tool: SSL Checker

Scans your site and returns information about your SSL implementation and certificate. Helpful for debugging and validating your SSL configuration.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
sql query help 15 52
SQL 2012 AOG and SQL2014 AOG 76 60
Access #Deleted data 20 42
SQL syntax question 6 40
When you hear the word proxy, you may become apprehensive. This article will help you to understand Proxy and when it is useful. Let's talk Proxy for SQL Server. (Not in terms of Internet access.) Typically, you'll run into this type of problem w…
Ever wondered why sometimes your SQL Server is slow or unresponsive with connections spiking up but by the time you go in, all is well? The following article will show you how to install and configure a SQL job that will send you email alerts includ…
Via a live example, show how to shrink a transaction log file down to a reasonable size.
Viewers will learn how the fundamental information of how to create a table.

749 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question