CaptureTempDBUsageByRequest
Renamed 261116 from sp_CaptureTempDBUsage2 (clearer name: this is the per-active-request snapshot, with execution context - query text, database - that the by-session snapshot doesn't have).
Capture tempdb usage by active request into the [TempDBUsageByRequestHistory] table.
Functionality not available for SQL 2008R2 and below.
Page Last Updated: 16 November 2026
