We ran the SQL tuning advisor and it produced a list of possible indexes and statistics. What the index is clear, but are those “statistics” also important to create? What do they precisely (I assume they collect data, but who uses it)?
Share
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.
The statistics is used by the query planner to determine which way is the most efficient way to get the result.
Without the statistics, the query planner only has the table layouts to use to try to determine the cost of different operations. With the statistics it can make a better prediction of the cost.