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
Gouache painting of a rack of spice jars of different sizes with one worn jar lid in vermilion

Plan Cache Size in SQL Server: List Every Cached Plan

March 16, 2019
Pinal Dave
SQL Tips and Tricks
Execution Plan, SQL Cache, SQL DMV, SQL Scripts

Plan cache size shows how much memory each cached query plan takes. This post lists every plan in one database with its size, its text and its execution count. It also explains why the cache entry and the plan itself report different sizes.

Read More
The morning catch sorted into shallow crates on ice on a harbor quay, a hand lifting one fish from a crate.

Eager Index Spool: When the Plan Builds Its Own Index

February 23, 2019
Pinal Dave
SQL Performance
Execution Plan, SQL Index, SQL Performance, SQL Server

Investigate an eager index spool, read seek keys and output, and compare a supporting index with the cost of rebuilding temporary storage.

Read More
A small scoop holds a sample in front of a broad full tray

How to Find Table Cardinality from the Execution Plan? – Interview Question of the Week #213

February 17, 2019
Pinal Dave
SQL Interview Questions and Answers
Execution Plan, SQL Scripts, SQL Server, SQL Server Management Studio, SQL Statistics

How to find table cardinality from the execution plan? I answer this health check question in two different ways, using a simple AdventureWorks query.

Read More
Four sorting channels deliver different-sized walnut heaps into separate compartments

Does Parallel Threads Process Equal Rows? – Interview Question of the Week #211

February 3, 2019
Pinal Dave
SQL Interview Questions and Answers
Execution Plan, Parallel, SQL Scripts, SQL Server, SQL Statistics

Do parallel threads process equal rows? Usually no, and a simple AdventureWorks query with its actual execution plan proves it in a few seconds.

Read More
A hand turning a heap of inside-out children's clothes right side out one by one to find a red jumper.

Implicit Conversions That Quietly Turn Seeks Into Scans

January 18, 2019
Pinal Dave
SQL Performance
Execution Plan, SQL Datatype, SQL Index, SQL Performance

Find implicit conversions in SQL Server plans, compare parameter and column types, and fix type contracts without losing Unicode data.

Read More
Two ski tracks leaving the same spot on a snowy hill, one in easy turns, one ending in a scuffed hollow by a red ski pole

Finding the Plan That Changed: Query Store Plan History

January 7, 2019
Pinal Dave
SQL Performance
Execution Plan, Maintenance Plan, Query Store

Read Query Store plan history, compare duration by interval, find plan changes, and review a temporary force with an exit plan.

Read More
A lamplit wooden pier at dusk whose newly built far end extends past the last lamp into darkness.

The Ascending Key Problem: Estimates for Today’s New Rows

December 25, 2018
Pinal Dave
SQL Performance
Execution Plan, SQL Performance, SQL Server, SQL Statistics

Diagnose ascending key estimates with histogram boundaries, modification counts, and controlled comparisons before updating statistics.

Read More
Previous 1 … 17 18 19 20 21 22 23 … 35 Next
  • Books
  • Testimonials
  • Privacy Policy

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