After I have created a clustered index on a table, is there any point in updating the statistics for that table?
Cheers.
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
No, the statistics will of been updated automatically on the index creation.
If anything an update statistics will make it worse since it will default to samping the data, where as the index creation looked at all the data. sp_update_stats checks the row modification counter to prevent uncessary updates, so would not show a difference, but I’m not sure if directly issuing a update statistics command on the table would check first.