- Category: Computer
- Author: Holger Schmeling
- File type: Online, PDF
Read and download free eBook intituled SQL Server Statistics in format Online, PDF created by Holger Schmeling.
A Distribution Statistics object is a sampled map of the distribution of data in a table. Such statistics help the Query Optimizer of SQL Server’s Database Engine to translate the ‘logical’ SQL Query into the best strategy for doing all the physical operations of joining, sorting, and selecting the data. Most of the time, this work happens effectively without the database administrator having to be aware of what is going on, but occasionally, if the statistics no longer reflect what is actually in the table, then queries can suddenly run grindingly slow. At this point, the DBA must intervene to correct the problem.
Holger divides his work into two parts. In the first part, he explains what “statistics” are, why they are there, how they are created, updated and removed. He shows how to inspect them and to maintain them. In the second part, he lists all the problems that are related to these statistics objects, and how to solve them.
Read and Download Links: