You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The current version of sp_whoisactive reports wait duration as part of the text value in the wait_info column, which is human-oriented and unamenable to sorting, filtering, or any other automated, machine-based analysis. This is a request for a dedicated numeric column to store this important metric—wait_duration or wait_duration_ms (for milliseconds)—that shall be usable in MSSQL predicates and operators and shall facilitate quantitative lock analysis and automated gathering of wait statistics.
Whereas the numeric value of lock duration is already used internally inside sp_whoisactive, this request should not be hard to implement.
Sample use
Monitor waits longer than 30 seconds.
Sort collected wait information by duraition.
The text was updated successfully, but these errors were encountered:
erikdarlingdata
changed the title
Output wait duration in a decicated column
Output wait duration in a dedicated column
Aug 25, 2022
Proposal
The current version of
sp_whoisactive
reports wait duration as part of the text value in thewait_info
column, which is human-oriented and unamenable to sorting, filtering, or any other automated, machine-based analysis. This is a request for a dedicated numeric column to store this important metric—wait_duration
orwait_duration_ms
(for milliseconds)—that shall be usable in MSSQL predicates and operators and shall facilitate quantitative lock analysis and automated gathering of wait statistics.Whereas the numeric value of lock duration is already used internally inside
sp_whoisactive
, this request should not be hard to implement.Sample use
The text was updated successfully, but these errors were encountered: