Alerts


Alert 2034
TempDB Usage By Session

Alert 2034 is a SQL Instance alert and is triggered when a single session is holding an excessive amount of tempdb space - including space held while the session is idle (for example an open transaction or an open cursor), which Alert 2035 (By Request) can't see because it only looks at sessions with an active request right now.

Default thresholds (MB held by one session):

Recommended action: check [TempDBUsageBySessionHistory] for the session's last SQL text and database; a session idle with an open transaction or a large, un-closed cursor is the most common cause.

 


Page Last Updated: 16 November 2026