Free Computer, Mathematics, Technical Books and Lecture Notes, etc.
- Title SQL Server Statistics
- Author(s) Holger Schmeling
- Publisher: Red Gate books (November 15, 2010)
- Paperback N/A
- eBook Online, PDF
- Language: English
- ISBN-10: N/A
- ISBN-13: N/A
- Share This:
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.About the Authors