This month's discount Comprehensive Database Performance Health Check · Testimonials
SQLAuthority with Pinal Dave
Home
  • Consulting
    • Health Check
  • Free Videos
  • All Articles
    • AI
    • SQL Performance
    • SQL Tips and Tricks
    • Interview Questions and Answers
    • SQL Puzzle
    • SQL Video
    • SQLAuthority News
    • Personal
  • Books
  • Consulting
Queue barriers with red ropes zigzagging across an empty hall toward a nearby door.

OPTION (FORCE ORDER): When a Join Order Hint Helps and Hurts

October 12, 2013
Pinal Dave
SQL Performance
Execution Plan, Query Hint, Query Store, SQL Joins, SQL Server

Test OPTION (FORCE ORDER) against real join plans, see when fixed table order helps or hurts, and apply a reversible Query Store hint.

Read More
A ladder against one big haystack in a field, a red pitchfork starting the search.

An Index Seek That Reads Millions of Rows: Residual Predicates

August 24, 2013
Pinal Dave
SQL Performance
Execution Plan, SQL Index, SQL Performance, SQL Server

Diagnose an index seek that reads far more rows than it returns by checking residual predicates, Actual Rows Read and index key order.

Read More
Two hands taking blocks from two sorted bins, one of cubes and one of cylinders, beside a messy heap of blocks.

Rewriting OR Conditions So the Index Gets Used

July 29, 2013
Pinal Dave
SQL Performance
Execution Plan, SQL Index, SQL Performance, SQL Server, SQL Union clause

Rewrite OR conditions with separate seeks, preserve duplicate and NULL behavior, and compare plans before choosing UNION or recompilation.

Read More
A baking table with only the used ingredients left out, including an open red cocoa tin.

Finding Which Statistics a Query Used in the Execution Plan

July 20, 2013
Pinal Dave
SQL Performance
Execution Plan, Query Store, SQL Server, SQL Statistics

Find which statistics a query used through OptimizerStatsUsage in actual-plan XML, cached plans, and Query Store history.

Read More
A small proofing basket with a huge mass of dough spilling over its sides across a floured bakery bench.

Temp Table Statistics: Why a #Table Plan Goes Stale

July 12, 2013
Pinal Dave
SQL Performance
Execution Plan, SQL Performance, SQL Server, SQL Statistics, Temp Table

Inspect temp table statistics across procedure calls, compare estimates with loaded rows, and test targeted refresh and recompile fixes.

Read More
A small saucepan of stew on a stove, with a long dining table set for many guests visible through a doorway.

Estimated vs Actual Rows: The First Thing to Read in a Plan

June 26, 2013
Pinal Dave
SQL Performance
Execution Plan, SQL Performance, SQL Server, SQL Statistics

Read estimated vs actual rows in execution plans, find where the first gap appears, and investigate statistics, parameters, and predicates.

Read More
A small wooden model ship hull towed through a long indoor test tank, leaving a clean wake behind it.

Sample Databases for Practicing Performance Tuning

June 23, 2013
Pinal Dave
SQL Performance
Execution Plan, SQL Index, SQL Performance, SQL Sample Database

Use sample databases for practicing performance tuning by checking data volume and skew, then enlarging the right tables carefully.

Read More
Previous 1 … 21 22 23 24 25 26 27 … 30 Next
  • Books
  • Testimonials
  • Privacy Policy

© 2006 – 2026 All rights reserved. pinal @ SQLAuthority.com