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
Execution plan of a query with a single row and single table.

SQL SERVER – Puzzle – Why Such a Complicated Execution Plan for a Single Row, Single Table Query?

July 13, 2018
Pinal Dave
SQL Puzzle
Execution Plan, SQL Scripts, SQL Server

A simple puzzle: why does SQL Server show such a complicated execution plan for a single row, single table query on WideWorldImporters? Try to solve it.

Read More
Six evenly spaced bird feeders on a fence, a flock of sparrows crowding one and a robin alone on another

Local Variable Estimates: Why the Density Vector Wins

June 18, 2018
Pinal Dave
SQL Performance
Execution Plan, Parameter Sniffing, SQL Server, SQL Statistics, SQL Variable

Understand local variable estimates with skewed data, density calculations, parameter comparisons, and targeted OPTION RECOMPILE tests.

Read More
A wooden seesaw tipping as one more stone is added from a red bucket.

The Tipping Point: Why SQL Server Skips Your Nonclustered Index

June 5, 2018
Pinal Dave
SQL Performance
Execution Plan, SQL Index, SQL Performance, SQL Server

Find the tipping point where key lookups cost more than a scan, then compare covering and filtered indexes with measured reads.

Read More
One railway route can split into parallel tracks, but the switch controls the route

How to Force a Parallel Execution Plan for a Query? – Interview Question of the Week #170

April 22, 2018
Pinal Dave
SQL Interview Questions and Answers
Execution Plan, SQL Performance, SQL Scripts, SQL Server

A customer asked how to force a Parallel Execution Plan for a query. Here are two methods, including QUERYTRACEON 8649, with a simple example.

Read More
Management Studio query window.

SQL SERVER – FIX: Arithmetic Overflow Error in Object Execution Statistics Report in Management Studio

April 6, 2018
Pinal Dave
SQL Tips and Tricks
Execution Plan, SQL Error Messages, SQL Scripts, SQL Server, SQL Server Management Studio, SQL Statistics

The SSMS Object Execution Statistics report suddenly failed for a client with Msg 8115, arithmetic overflow converting to int. Here is why and what to do.

Read More
A round-bottomed wooden wobble toy with a red base rocking back upright on a table.

Automatic Plan Correction: Reading SQL Server’s Tuning Advice

March 10, 2018
Pinal Dave
SQL Performance
Execution Plan, Query Store, SQL Performance, SQL Server 2017

Read automatic plan correction advice, compare regressed and recommended plans, and verify that forcing the last good plan held.

Read More
A stack of bamboo steamer baskets with one tier lifted out and steaming beside it.

Partition Elimination: Proving a Query Reads Only What It Needs

November 24, 2017
Pinal Dave
SQL Performance
Execution Plan, SQL Performance, SQL Server, Table Partitioning

Prove partition elimination with the actual plan, test date predicates, and use $PARTITION to check which slice SQL Server targets.

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

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