Statistics Used by the Query Optimizer in Microsoft SQL Server 2005

By Bill Graziano on 1 June 2005 | Tags: Performance Tuning


Microsoft® SQL Server™ 2005 collects statistical information about indexes and column data stored in the database. These statistics are used by the SQL Server query optimizer to choose the most efficient plan for retrieving or updating data. This paper describes what data is collected, where it is stored, and which commands create, update, and delete statistics. By default, SQL Server 2005 also creates and updates statistics automatically, when such an operation is considered to be useful. This paper also outlines how these defaults can be changed on different levels (column, table, and database).

Link: Statistics Used by the Query Optimizer in Microsoft SQL Server 2005


Related Articles

Which is Faster: SAN or Directly-Attached Storage? (21 January 2008)

Benchmarking Disk I/O Performance: Size Matters! (30 October 2007)

What I Wish Developers Knew About SQL Server (Presentation) (11 October 2007)

Introduction to Parameterization in SQL Server (7 August 2007)

Using Indexed Computed Columns to Improve Performance (16 January 2007)

SQL Server Storage Engine Team Blog (7 June 2006)

Improving .NET Application Performance and Scalability (29 April 2004)

MSDN: Inside the SQL Server 2000 User Mode Scheduler (8 March 2004)

Other Recent Forum Posts

Extracting data between two consistents in a string (6h)

Which Scheduled Task is Backing Up My Database? (11h)

Finding the latest unreversed receipt (13h)

Sql sorting by date doesn't work (17h)

Unable to Import the trace file (3d)

Error on ALTER VIEW but same ALTER runs OK from SSMS (4d)

Creating groups based on criteria and time based? (7d)

Tsql - logic to to get the Expected result (7d)

- Advertisement -