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
Three nearly identical rakes on a shed wall and a fourth new red-handled rake by the door.

Missing Index Suggestions: Three Checks Before You Create One

November 12, 2019
Pinal Dave
SQL Performance
SQL DMV, SQL Index, SQL Performance, SQL Server

Review missing index suggestions against existing indexes, key order, and INCLUDE size before adding extra write overhead.

Read More
Gouache painting of a railway junction where a vermilion switch lever sends a small handcar onto a short siding ending at a buffer stop.

ABORT_QUERY_EXECUTION: Stopping a Runaway Query With a Query Store Hint

November 8, 2019
Pinal Dave
SQL Performance
Query Hint, Query Store, SQL Performance, SQL Scripts

ABORT_QUERY_EXECUTION is a SQL Server 2025 Query Store hint that makes one known bad query fail before it uses any CPU. This post sets the hint, shows the exact error the caller gets, lists and clears the hint, and covers the traps: exact text, SET options and queries already running.

Read More
Gouache painting of seedling trays on a greenhouse bench, grouped by wooden dividers and ordered smallest to tallest, with one vermilion divider.

Sequence Project and Segment: How Window Functions Show Up in a Plan

November 6, 2019
Pinal Dave
SQL Performance
Execution Plan, SQL Index, SQL Performance, SQL Scripts

A window function leaves Segment and Sequence Project operators in a query plan, and a Sort in front of them. This post tests ROW_NUMBER and a running total on SQL Server 2025, shows the batch mode Window Aggregate that replaces them, and removes the Sort with an index.

Read More
Gouache painting of a conveyor belt where most wooden crates slide into a return chute and only two continue, one of them vermilion.

The Filter Operator: When SQL Server Reads Everything and Keeps a Few Rows

November 5, 2019
Pinal Dave
SQL Performance
Execution Plan, SQL Index, SQL Performance, SQL Scripts

The Filter operator keeps a few rows after the plan has read and sorted many more. This post shows one on SQL Server 2025 with the actual plan and the logical reads, then rewrites the query so it seeks instead and reads about a fifth as many pages.

Read More
Gouache painting of a small wildlife camera strapped to a birch tree, aimed at one narrow forest path, with a vermilion cord running to a stake.

Capture Query Plans With Extended Events: A Safe, Scoped Session

November 4, 2019
Pinal Dave
SQL Performance
Execution Plan, SQL Extended Events, SQL Performance, SQL Scripts

To capture query plans without guessing, use an Extended Events session scoped to one database and a duration threshold. This post builds one on SQL Server 2025, reads the captured actual plan, and measures why plan capture must be switched on briefly and then off.

Read More
A railway yard where wagons roll into four sidings, one siding far longer than the other three.

Parallel Plans: Reading Gather Streams and Repartition Streams

October 24, 2019
Pinal Dave
SQL Performance
Execution Plan, MAXDOP, Parallel, SQL Performance, SQL Server

Read Gather Streams and other parallel exchanges, inspect rows per thread and spill evidence, and relate exchange waits to actual work.

Read More
Hands holding a huge airy meringue and a small dense fruitcake, the hand with the fruitcake sinking lower.

Operator Costs in an Execution Plan: Read Them Without Being Fooled

October 19, 2019
Pinal Dave
SQL Performance
Execution Plan, SQL Operator, SQL Performance, SQL Server

Interpret operator costs as estimates, compare actual rows and runtime evidence, and find expensive work without trusting plan percentages.

Read More
Previous 1 … 15 16 17 18 19 20 21 … 50 Next
  • Books
  • Testimonials
  • Privacy Policy

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