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
Two matching kites on the grass, differing only in their tails, one short and red.

Comparing a Good and a Bad Plan for One Query in Query Store

December 3, 2019
Pinal Dave
SQL Performance
Execution Plan, Query Store, SQL Performance, SQL Server

Compare a good and a bad plan in Query Store using runtime history, SSMS Compare Showplan, estimates, joins, grants, and parallelism.

Read More
A figure pushing a loaded red handcart from a smooth lane onto a new stretch of rough cobbles, slowing at the seam.

Finding Regressed Queries in Query Store After a Deployment

November 20, 2019
Pinal Dave
SQL Performance
Execution Plan, Query Store, SQL CPU, SQL Server

Find regressed queries in Query Store using weighted before-and-after duration and CPU, then compare plans and changed procedure text.

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
A cabinet's contents are visible through glass while a locked door prevents additions

Why Query Store Actual Operation Mode is Not Same as Requested? – Interview Question of the Week #248

October 27, 2019
Pinal Dave
SQL Interview Questions and Answers
Query Store, SQL Scripts, SQL Server, SQL Server Configuration

Question: Why Query Store Actual Operation Mode is Not Same as Requested? Query Regression (poor performing queries, once working great)

Read More
A new harp in a sunny music room, a foot moving one brass pedal while a hand plucks a string

Listing Databases Below the Server’s Native Compatibility Level

May 3, 2019
Pinal Dave
SQL Tips and Tricks
Compatibility Level, Query Store, SQL Server, SQL Upgrade

Find databases below the native compatibility level, generate reviewable ALTER statements, and prepare Query Store checks safely.

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 roller blind at the end of its travel while daylight continues through the window

Query Store Read-Only: Size Limits That Stop Capture

March 15, 2018
Pinal Dave
SQL Performance
Change Data Capture, Query Store, SQL Server

Your Query Store may want READ_WRITE and still be READ_ONLY. Here is how it happens, how to read the reason, and how to get capture back.

Read More
Previous 1 2 3 4 5 6 7 … 9 Next
  • Books
  • Testimonials
  • Privacy Policy

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