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
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
Gouache painting: a still canal at dawn with four wooden barges moored in a row, each loaded with a stack of hay bales of a different height, the fourth barge still empty, and one vermilion ribbon tied to the nearest stack

percent_complete: Which Commands Show Real Progress

December 31, 2020
Pinal Dave
SQL Tips and Tricks
SQL Backup and Restore, SQL DMV, SQL Monitoring, SQL Server DBCC

percent_complete tells you how far a running command has come, but only some commands fill it in. This post times eleven commands on SQL Server 2025, shows which ones report real progress and which stay at 0, and adds a way to watch the silent ones.

Read More
Gouache painting of a row of grey-blue birds on a wire with two vermilion birds among them above a quiet village road

Parameters of sp_who2: Active, Session ID and the Login Trap

December 29, 2020
Pinal Dave
SQL Tips and Tricks
SQL DMV, SQL Monitoring, SQL Scripts, SQL Server

The parameters of sp_who2 are one optional value that can be a session ID, the word active or a login name. This post counts the rows each form returns, shows that the login form does not filter, and explains the errors.

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

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