|
|
|
Hall of Fame
       
Group: General Forum Members
Last Login: Saturday, November 10, 2012 8:18 AM
Points: 3,461,
Visits: 346
|
|
|
|
|
|
Ten Centuries
      
Group: General Forum Members
Last Login: Tuesday, March 26, 2013 7:19 AM
Points: 1,279,
Visits: 2,191
|
|
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.
|
|
|
|
|
Ten Centuries
      
Group: General Forum Members
Last Login: Friday, February 15, 2013 2:53 PM
Points: 1,199,
Visits: 568
|
|
| How come "Yes" a wrong answer?
|
|
|
|
|
Ten Centuries
      
Group: General Forum Members
Last Login: Thursday, April 04, 2013 4:54 AM
Points: 1,383,
Visits: 520
|
|
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
|
|
|
|
|
SSCommitted
      
Group: General Forum Members
Last Login: Thursday, March 31, 2011 1:40 AM
Points: 1,938,
Visits: 208
|
|
| 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?
|
|
|
|
|
SSC-Dedicated
           
Group: Administrators
Last Login: Today @ 5:09 AM
Points: 31,526,
Visits: 13,864
|
|
|
|
|
|
Hall of Fame
       
Group: General Forum Members
Last Login: Today @ 2:05 PM
Points: 3,418,
Visits: 3,439
|
|
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).
|
|
|
|
|
SSCrazy
      
Group: General Forum Members
Last Login: Yesterday @ 1:31 PM
Points: 2,558,
Visits: 17,421
|
|
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... :)
|
|
|
|
|
SSCarpal Tunnel
       
Group: General Forum Members
Last Login: Tuesday, June 11, 2013 5:01 AM
Points: 4,815,
Visits: 1,343
|
|
|
|
|