August 13, 2008 at 9:01 pm
Comments posted to this topic are about the item Update Stats with Reindex
Cheers,
Sugeshkumar Rajendran
SQL Server MVP
http://sugeshkr.blogspot.com
August 13, 2008 at 9:23 pm
I think answer "Yes" is also right. A simple/straightforward answer.
"Yes, with full table scan details" is just an answer with more details.
Reindex, of course, a full table scan.
August 14, 2008 at 12:07 am
How come "Yes" a wrong answer?
August 14, 2008 at 3:10 am
Vivien Xing (8/13/2008)
I think answer "Yes" is also right. A simple/straightforward answer."Yes, with full table scan details" is just an answer with more details.
Reindex, of course, a full table scan.
I agree, 'Yes' is still a valid answer, with a little less qualification.
Regards,
Phil
August 14, 2008 at 6:36 am
I liked the question, but think the answer could have been just yes. I didn't know that the table scans stats were included "free" in the rebuild. A question I have, if you do update stats with a sample scan, after a rebuild, you lose the table scan stats. If you do generic update stats after rebuild do you also lose the table scan stats? If so, then doing rebuild would always be preferred to update stats?
August 14, 2008 at 7:05 am
I've updated the question to show partial scan with the plain yes answer and awarded back points.
August 14, 2008 at 7:43 am
I liked the point of the question and I hope that is not missed. I have seen occassions where the DBA performed a REINDEX in a maintenance plan followed by an update of statistics. The second step is more than just a waste of the maintenance window and CPU, it negates some of the benefit of the reindex (unless a full scan is specified).
August 14, 2008 at 8:58 am
Shucks.
I assumed based on the question wording that it was asking if the table statistics (not the index statistics) were updated. Guess I read "on the table" as the target. Sigh... c'est la vie.
Chad
Hmm.... I think I just thought of another QOD question... 🙂
August 20, 2008 at 1:04 am
Good question.
Viewing 9 posts - 1 through 8 (of 8 total)
You must be logged in to reply to this topic. Login to reply