Finding the Queries That Use the Most CPU, and What Each Source Misses
Plan cache, procedure stats, Query Store, dm_exec_requests and the ring buffer each name a different top CPU query. Tested on SQL Server 2019 and 2025.
Connection Pool Exhaustion: Reproducing the Timeout and What SQL Server Sees
A PowerShell test that leaks SqlClient connections until the pool times out, what sys.dm_exec_sessions shows, and the fix with proper disposal.
THREADPOOL Waits: Reproducing Worker Thread Exhaustion in SQL Server
Reproducing THREADPOOL waits on SQL Server 2019: how max worker threads is sized, what new logins see, and finding the blocker through the DAC.
Logins, SIDs, and Kerberos from First Principles, Part 7: Is Your Kerberos Still Using RC4?
got your connections onto Kerberos. This part asks an uncomfortable follow-up: encrypted with what? You probably have not thought about Kerberos encryption types recently. That is fair; the protocol mostly just works and has for…
Logins, SIDs, and Kerberos from First Principles, Part 6: SPNs and the Silent NTLM Fallback
The first five parts of this series were about who you are: SIDs, logins, groups. This one is about how you prove it. When a Windows principal connects to SQL Server with integrated authentication, one…
Logins, SIDs, and Kerberos from First Principles, Part 2: The Vanishing Service Account
Years ago at a previous employer, I wrote a fleet-sweep script that searched every SQL Server instance in the estate for a specific service account, by name and by a known-bad SID. I no longer…