Josh Darnell takes us through a weird scenario where WhoIsActive can’t catch the real culprit:
Let’s say you are informed that tempdb is getting hammered on a production SQL Server instance (in the “lots of reads and writes” sense, not the “lots of shots of tequila” sense), and it’s disrupting other workloads on the system. You may have found this out through the power of monitoring (tempdb files are growing or full), or your favorite DMV queries, or just from being really smart.
You spring into action to find the offending query, and run
EXEC sp_WhoIsActive
but get…nothin’:
I did not successfully guess why this might be, but Josh explains it well.