Press "Enter" to skip to content

Finding the Real tempdb Culprit

Aaron Bertrand is searching all of the golf courses:

In my previous post, I described a monitoring system that tries to get ahead of tempdb capacity problems instead of waiting for a full disk alarm to tell us something went wrong. It collects lightweight snapshots continuously, captures more detailed information when space starts getting tight, and can even disconnect particularly troublesome sessions when the right conditions are met.

That’s all useful for dealing with an incident while it’s happening. But one of the main reasons I built this system was to help with the inevitable question that comes afterward: What caused it?

We now have historical snapshots, session and request details, log transactions, growth events, and an audit trail of sessions nominated for termination (and the outcome of any attempts to terminate them). That’s a lot more information than I’d have trying to reconstruct an incident from DMVs after everyone has disconnected and gone home.

Unfortunately, having all this data doesn’t automatically make it easy to find the answer. 

Read on to learn what Aaron does to find an answer.

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.