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
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 tall floodlight lighting an entire empty car park at night, one small bicycle standing in a far corner.

SSRS Parameters That Do Not Slow Reports

July 28, 2013
Pinal Dave
SQL Performance
Parameter Sniffing, Reporting Services, SQL Performance, SQL Reports, SQL Server

SSRS parameters work best with selective defaults, compact value lists, and SQL queries that preserve useful indexes under real filters.

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
Gouache painting of a book lying open on a wooden desk, thin grey copy sheets beneath its blank pages and one vermilion sheet at the edge

Change Data Capture Cost: Log, Storage and Cleanup Measured

July 10, 2013
Pinal Dave
SQL Performance
SQL Log, SQL Performance, SQL Scripts

Change Data Capture cost shows up in places a quick setup never checks. On SQL Server 2025, the same update wrote three times the log with CDC on, the log waited for the capture, and the change table grew to almost four times the table. Here is every number and the script that produced it.

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 … 34 35 36 37 38 39 40 … 54 Next
  • Books
  • Testimonials
  • Privacy Policy

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