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
Wool skeins on a table, one heap swept together and another sorted to remove repeats.

UNION vs UNION ALL: Reading the Operators Each One Adds to a Plan

October 19, 2013
Pinal Dave
SQL Performance
Execution Plan, SQL Server, SQL Union clause

Compare UNION vs UNION ALL through actual plans, duplicate-removal operators, memory grants and reads, then prove when branches cannot overlap.

Read More
A tall van stopped at a hanging height bar at a car park entrance while small cars pass under

Bitmap Filters in Parallel Hash Joins: Reading Them in a Plan

October 15, 2013
Pinal Dave
SQL Performance
Execution Plan, Parallel, SQL Joins, SQL Server

Read bitmap filters in parallel hash join plans, compare fact scan output, and distinguish early row rejection from guaranteed savings.

Read More
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
Previous 1 … 24 25 26 27 28 29 30 … 35 Next
  • Books
  • Testimonials
  • Privacy Policy

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