Statistics refers to the statistical information about the distribution of
values in one or more columns of a table or an index. The SQL Server Query
Optimizer uses this statistical information to estimate the cardinality, or
number of rows, in the query result to be returned, which enables the SQL Server
Query Optimizer to create a high-quality query execution plan. For example,
based on these statistical information SQL Server Query Optimizer might decide
whether to use the index seek operator or a more resource-intensive index scan
operator in order to provide optimal query performance. In this article series,
I am going to talk about statistics in detail. For information click here for Part 1 and here for Part 2.
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment