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
Old west poster illustration of eight slightly different outlaw sketches, faces hidden under hat brims, each with the same distinctive tear on the sleeve, and a pencil circle drawn around that tear.

Find the Query That Ran at 3 a.m.: A Wanted Poster

October 30, 2026
Pinal Dave
SQL Performance
Execution Plan, Query Store, SQL Monitoring, SQL Performance, SQL Scripts

How to find the query that ran at 3 a.m. after the fact. It uses nothing but what SQL Server 2025 keeps on its own. I planted a culprit, gave it eight disguises and buried it in four hundred innocent lookups. Then I tracked it down with Query Store. This is the poster.

Read More
Gouache painting of a thick glass observation window in a slate-blue wall, a quiet sage workshop visible inside, a wooden rail in front and one vermilion lantern hanging from the frame

Claude on SQL Server: Read, Prove, Then Change

October 29, 2026
Pinal Dave
AI
AI, Query Store, SQL Performance, SQL Server Security, SQL Wait Stats

Claude on SQL Server is safe when production gives it eyes and nothing else. This post splits the loop into three stages: start this week with a read-only login, make it a daily habit with a past cases library, then run it on a schedule with a second opinion. I tested the login on SQL Server 2025.

Read More
Query Store Feature for Secondary Replicas.

SQL SERVER – Query Store Feature for Secondary Replicas

September 14, 2023
Pinal Dave
SQL Tips and Tricks
AlwaysOn, Query Store, SQL Server 2022

SQL Server 2022 extends the Query Store feature for secondary replicas. Here is how to enable it and what to watch before using it.

Read More
Cardinality Estimation

SQL Server 2022 – Cardinality Estimation (CE) Feedback for Performance

June 27, 2023
Pinal Dave
SQL Performance
Compatibility Level, Execution Plan, Query Store, SQL Server 2022

SQL Server 2022introduces an enhanced Cardinality Estimation (CE) feedback feature as part of the intelligent query processing family.

Read More
Degree of Parallelism

SQL Server 2022 – Degree of Parallelism (DOP) Feedback for Optimize Query Performance

June 26, 2023
Pinal Dave
SQL Performance
Compatibility Level, MAXDOP, Parallel, Query Store, SQL CPU, SQL DMV, SQL Server 2022, SQL Server Configuration

SQL Server 2022 introduces a powerful new feature called Degree of Parallelism (DOP) feedback as part of the Intelligent Query Processing (IQP).

Read More
A hand pulling a lint filter packed thick with grey fluff from a tumble dryer full of damp towels.

Query Store Wait Stats: Why a Query Was Slow, Not Just That It Was

May 30, 2023
Pinal Dave
SQL Performance
Query Store, SQL Performance, SQL Server, SQL Wait Stats

Read Query Store wait stats by query, plan, interval, and category, then compare matched windows with execution counts and capture coverage.

Read More
A truffle shaver making thin slices beside a few thick slices

Query Store Interval Length: Choosing How Fine Your History Is

April 4, 2022
Pinal Dave
SQL Performance
Best Practices, Query Store, SQL Server

An hourly average can hide the slowdown users remember. Here is a small demo of Query Store interval length and how to choose it.

Read More
1 2 3 4 … 9 Next
  • Books
  • Testimonials
  • Privacy Policy

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