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

T-sql - we created Message from app1 and trying to disable from app2 (9h)

SQL select Top 10 records for unique combination of two columns (23h)

SSRS Report Sorting with Grouping Issue (2d)

ORA-01476: divisor is equal to zero (2d)

Create new columns based on min and max values of a record with multiple rows (2d)

Memory Required for Reporting Services 2022 (2d)

Backup sql server large db on cloud (2d)

Selecting x columns but only displaying y columns (2d)

- Advertisement -