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
*@ExecuteKills = 'Y' or 'N' (default 'N') - whether to actually kill, or just show recommendations. When set to 'Y', you must also specify at least one targeting filter to prevent accidentally killing everything.
361
+
*@ExecuteKills = 'Y' or 'N' (default 'N') - whether to actually kill, or just show recommendations. When set to 'Y' with no targeting filters, all non-system sessions are killed - so always specify at least one filter to avoid killing everything.
362
362
*@SPID - target a specific session ID.
363
363
*@LoginName - kill sessions belonging to this login.
364
364
*@AppName - kill sessions from this application (supports LIKE wildcards).
365
365
*@DatabaseName - kill sessions using this database.
366
366
*@HostName - kill sessions from this host.
367
367
*@LeadBlockers = 'Y' - kill only lead blockers (sessions blocking others but not blocked themselves).
368
368
*@ReadOnly = 'Y' - only kill read-only queries (SELECTs with no writes).
369
-
*@SPIDState - 'S' for sleeping sessions only, 'R' for running only, empty string for both (default).
369
+
*@SPIDState - 'S' for sleeping sessions only, 'R' for running only, NULL for both (default).
370
370
*@HasOpenTran = 'Y' - only target sessions with open transactions. Combine with @SPIDState = 'S' to catch sleeping sessions with forgotten transactions.
371
-
*@RequestsOlderThanMinutes - only target sessions whose last request started at least this many minutes ago.
371
+
*@RequestsOlderThanSeconds - only target sessions whose last request started at least this many seconds ago.
372
372
*@OmitLogin - exclude sessions belonging to this login from kill recommendations.
373
373
*@OrderBy - sort order for kill recommendations: duration (default), cpu, reads, writes, tempdb, transactions. Useful when you want to kill the worst offenders one by one.
0 commit comments