Page Free Space

SQL Server internals by Paul White

Wednesday, 21 September 2011

Finding the Statistics Used to Compile an Execution Plan

›
Finding the Statistics Used to Compile an Execution Plan In this post, I show you how to determine the statistics objec...
Tuesday, 30 August 2011

Can a SELECT query cause page splits?

›
Can a SELECT query cause page splits? The SQL Server documentation has this to say about page splits : When a new row...
Tuesday, 9 August 2011

SQL Server, Seeks, and Binary Search

›
SQL Server, Seeks, and Binary Search The following table summarizes the results from my last two articles, Enforcing Un...
Thursday, 4 August 2011

Avoiding Uniqueness for Performance

›
Avoiding Uniqueness for Performance In my last post, Enforcing Uniqueness for Performance , I showed how using a unique...
Friday, 29 July 2011

Enforcing Uniqueness for Performance

›
Enforcing Uniqueness for Performance A little while back, I posted a short series on seeks and scans: When is a Seek ...
Tuesday, 19 July 2011

Join Performance, Implicit Conversions, and Residuals

›
Join Performance, Implicit Conversions, and Residuals Introduction You probably already know that it’...
Thursday, 7 July 2011

Bitmap Magic (or… how SQL Server uses bitmap filters)

›
Bitmap Magic (or… how SQL Server uses bitmap filters) Question Can a parallel query use less CPU than the same serial...
Saturday, 2 July 2011

Undocumented Query Plans: The ANY Aggregate

›
Undocumented Query Plans: The ANY Aggregate As usual, here’s a sample table: CREATE TABLE #Example ( pk numeri...
Wednesday, 22 June 2011

Undocumented Query Plans: Equality Comparisons

›
Undocumented Query Plans: Equality Comparisons The diagram below shows two data sets, with differences highlighted: T...
12 comments:
Saturday, 5 March 2011

How Parallelism Works in SQL Server

›
How Parallelism Works in SQL Server You might have noticed that January was a quiet blogging month for me. Part of the...
Sunday, 27 February 2011

SQL Server Bug: Slow T-SQL Sums and Averages

›
SQL Server Bug: Slow T-SQL Sums and Averages It’s a curious thing about SQL that the SUM or AVG of no items (an empt...
Wednesday, 23 February 2011

Advanced TSQL Tuning: Why Internals Knowledge Matters

›
Advanced T-SQL Tuning: Why Internals Knowledge Matters There is much more to query tuning than reducing logical reads a...
Saturday, 19 February 2011

I see no LOBs!

›
I see no LOBs! Is it possible to see LOB (large object) logical reads from STATISTICS IO output on a table with no LO...
Thursday, 17 February 2011

Seeking Without Indexes

›
Seeking Without Indexes A seek can contain one or more seek predicates , each of which can either identify (at most) on...
1 comment:

So…is it a Seek or a Scan?

›
So…is it a Seek or a Scan? You might be most familiar with the terms ‘Seek’ and ‘Scan’ from the graphical plans produce...
Wednesday, 16 February 2011

When is a Seek not a Seek?

›
When is a Seek not a Seek? The following script creates a single-column clustered table containing the integers from 1 ...
Tuesday, 14 December 2010

Beware Sneaky Reads with Unique Indexes

›
Beware Sneaky Reads with Unique Indexes I saw a question asked recently on the #sqlhelp hash tag: Might SQL Server ...
Friday, 10 December 2010

Heaps of Trouble?

›
Heaps of Trouble? Brad Schulz recently wrote about optimizing a query run against tables with no indexes at all . The...
Thursday, 4 November 2010

Myth: SQL Server Caches a Serial Plan with every Parallel Plan

›
Myth: SQL Server Caches a Serial Plan with every Parallel Plan Many people believe that whenever SQL Server creates an ...
Monday, 1 November 2010

The Case of the Missing Shared Locks

›
The Case of the Missing Shared Locks This post covers a little-known locking optimization that provides a surprising an...
Tuesday, 19 October 2010

Sequence Tables

›
Sequence Tables It is frequently useful to generate sequences of values within SQL Server, perhaps for use as surrogat...
Thursday, 23 September 2010

A Tale of Two Index Hints

›
A Tale of Two Index Hints If you look up Table Hints in the official documentation, you’ll find the following stateme...
Wednesday, 1 September 2010

Inside the Optimizer: Plan Costing

›
Inside the Optimizer: Plan Costing A detailed look at costing, and more undocumented optimizer fun. The SQL Server que...
Friday, 27 August 2010

Sorting, Row Goals, and the TOP 100 Problem

›
Sorting, Row Goals, and the TOP 100 Problem When you write a query to return the first few rows from a potential result...
2 comments:
Sunday, 22 August 2010

Row Goals and Grouping

›
Row Goals and Grouping You might recall from Inside the Optimizer: Row Goals In Depth that query plans containing a r...
‹
›
Home
View web version

About Me

My photo
Paul White
View my complete profile
Powered by Blogger.