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
Table-style diagram that connects each DMV source to the real-time view it feeds, with how often it is collected: sessions and blocking, wait stat deltas, cached execution plans, query CPU against the historical average, tempdb pressure and memory pressure

Real-Time Troubleshooting Views That Turn DMV Data Into Answers

April 15, 2026
Pinal Dave
SQL Tips and Tricks
Idera, SQL DMV, SQL Monitoring, SQL Performance

Real-time troubleshooting views turn raw DMV data into something a DBA can act on at 9 PM. Here is what belongs in them, how often to collect it, and why wait stats need deltas, not totals.

Read More
A brass trumpet in an open case with a mute fitted in its bell, a vermilion mute lying beside it.

Trace Flag 3226: Keeping Backup Messages Out of the Error Log

August 11, 2023
Pinal Dave
SQL Tips and Tricks
DBA, SQL Backup and Restore, SQL Monitoring, TraceFlags

Check trace flag 3226, understand suppressed backup success messages, and use msdb history to monitor backups without log noise.

Read More
A small vermilion dinghy carrying one tiny parcel across a harbor while dozens more wait on a cargo boat.

Chatty Applications: Finding Many Tiny Queries per Second

April 28, 2023
Pinal Dave
SQL Performance
SQL Counter, SQL Extended Events, SQL Monitoring, SQL Server, SQL Wait Stats

Diagnose chatty applications with batch rates, cached executions, bounded session event counts, and measured round trips per user action.

Read More
A line of hilltop beacon fires along a coast at dusk, one beacon in the middle dark and unlit.

Heartbeat Gaps: Finding Missing Check-Ins With LAG

June 28, 2022
Pinal Dave
SQL Tips and Tricks
SQL DateTime, SQL Function, SQL Monitoring, SQL Scripts, SQL Server

Detect missing check-ins with LAG, report closed heartbeat gaps, and find silent or never-seen sources using an explicit UTC tolerance.

Read More
A lone swimmer in a red cap still doing lengths in an almost empty evening pool

Agent Jobs Running Longer Than Usual: Finding Them in Job History

March 16, 2022
Pinal Dave
SQL Tips and Tricks
DBA, SQL Monitoring, SQL Server, SQL Server Agent

Find Agent jobs running longer than usual by decoding history durations, comparing current activity, and alerting against a baseline.

Read More
A jar of sourdough starter risen well above a red rubber band marking its earlier level.

Reading Performance Counters in T-SQL Without Misreading Them

September 17, 2021
Pinal Dave
SQL Performance
SQL Counter, SQL DMV, SQL Memory, SQL Monitoring

Read SQL Server performance counters with two timed samples, a proper ratio base, and a concise workload and memory dashboard.

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

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