sp_BlitzWho


Job details

Name: sp_BlitzWho
Platform: Sqlserver
Category: Performance extension (Brent Ozar)
Description: Runs the sp_BlitzWho procedure (Brent Ozar) which, among other things, shows blocking sessions
Long description: Runs the sp_BlitzWho procedure (Brent Ozar) which, among other things, shows blocking sessions.
Version: 1.3
Default schedule: 0,5,10,15,20,25,30,35,40,45,50,55 6-18 * *
Requires engine install: Yes
Compatibility tag: .[type=‘instance’ & databasetype=‘sqlserver’]/instance[maj_version > ‘2005′ & hasengine=‘YES’ & (engine_edition = ‘Microsoft SQL Server’ engine_edition = ‘Azure SQL Managed Instance’)]/blitz_obj_id/obj_name[id=‘sp_BlitzWho’]/instance

Parameters

Name Default value Description
location of dbo.sp_BlitzWho procedure master Name of the database where the dbo.sp_BlitzWho procedure is located.
warning threshold 5 The maximum number of minutes a session can be blocked before a warning is triggered.
alarm threshold 30 The maximum number of minutes a session can be blocked before an alarm is triggered.
@ShowSleepingSPIDs 0 @ShowSleepingSPIDs
@OutputDatabaseName BlitzWho If you want to output information to a specific database. This is input parameter to the sp_BlitzWho procedure.
@OutputSchemaName dbo Specify a schema name to output information to a specific Schema. This is input parameter to the sp_BlitzWho procedure.
@OutputTableName BlitzWho Specify table name to output information to a specific table. This is input parameter to the sp_BlitzWho procedure.
delete old output YES If set to “YES“ (default) old statistics from previous executions of sp_BlitzWho procedure will be deleted.
max history records 100 Maximum number of records in the history table tab_histr_sp_blitzwho.

Job Summary

EXEC sp_BlitzWho;

Job Details

Execution and Logging

Reporting and Output

Upgrade Considerations

This comprehensive setup allows database administrators to monitor critical performance metrics effectively, and address potential issues proactively, ensuring stable and efficient database operations.