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
Copy file name to clipboardExpand all lines: sp_HealthParser/README.md
+3-1Lines changed: 3 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -33,10 +33,12 @@ Typical result set will show you:
33
33
| @end_date | datetimeoffset | latest date to show data for, will be internally converted to UTC | a reasonable date | current date |
34
34
| @warnings_only | bit | only show rows where a warning was reported | NULL, 0, 1 | 0 |
35
35
| @database_name | sysname | database name to show blocking events for | the name of a database | NULL |
36
-
| @wait_duration_ms | bigint | minimum wait duration | the minimum duration of a wait for queries with interesting waits |0 |
36
+
| @wait_duration_ms | bigint | minimum wait duration | the minimum duration of a wait for queries with interesting waits |500|
37
37
| @wait_round_interval_minutes | bigint | interval to round minutes to for wait stats | interval to round minutes to for top wait stats by count and duration | 60 |
38
38
| @skip_locks | bit | skip the blocking and deadlocking section | 0 or 1 | 0 |
39
+
| @skip_waits | bit | skip the wait stats section | 0 or 1 | 0 |
39
40
| @pending_task_threshold | integer | minimum number of pending tasks to display | a valid integer | 10 |
41
+
| @use_ring_buffer | bit | use ring_buffer target instead of file target for faster collection | 0 or 1 | 0 |
40
42
| @log_to_table | bit | enable logging to permanent tables | 0 or 1 | 0 |
41
43
| @log_database_name | sysname | database to store logging tables | valid database name | NULL |
42
44
| @log_schema_name | sysname | schema to store logging tables | valid schema name | NULL |
Copy file name to clipboardExpand all lines: sp_HumanEvents/README.md
+3-2Lines changed: 3 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -63,7 +63,8 @@ Misuse of this procedure can harm performance. Be very careful about introducing
63
63
| @object_schema | sysname | (inclusive) the schema of the object you want to filter to; only needed with blocking events | a stringy thing | dbo |
64
64
| @requested_memory_mb | integer | (>=) the memory grant a query must ask for to have data collected | an integer | 0 |
65
65
| @seconds_sample | tinyint | the duration in seconds to run the event session for | an integer | 10 |
66
-
| @gimme_danger | bit | used to override default minimums for query, wait, and blocking durations. | 1 or 0 | 0 |
66
+
| @gimme_danger | bit | used to override default duration minimums for wait events, including zero-duration waits | 1 or 0 | 0 |
67
+
| @target_output | sysname | output target for extended events | "ring_buffer" or "event_file" (event_file not available for Azure SQL DB or Managed Instance) | "ring_buffer" |
67
68
| @keep_alive | bit | creates a permanent session, either to watch live or log to a table from | 1 or 0 | 0 |
68
69
| @custom_name | sysname | if you want to custom name a permanent session | a stringy thing | intentionally left blank |
69
70
| @output_database_name | sysname | the database you want to log data to | a valid database name | intentionally left blank |
@@ -192,7 +193,7 @@ ON SERVER
192
193
| @log_schema_name | sysname | schema to store logging tables | a valid schema name | NULL |
193
194
| @log_table_name_prefix| sysname | prefix for all logging tables | a valid table name prefix | 'HumanEventsBlockViewer' |
194
195
| @log_retention_days | integer | Number of days to keep logs, 0 = keep indefinitely | a valid integer | 30 |
195
-
| @max_blocking_events |bigint| maximum blocking events to analyze, 0 = unlimited | 0 to 9223372036854775807| 5000 |
196
+
| @max_blocking_events |integer| maximum blocking events to analyze, 0 = unlimited | 0 to 2147483647 | 5000 |
196
197
|@help| bit | how you got here | 0 or 1 | 0 |
197
198
|@debug| bit | dumps raw temp table contents | 0 or 1 | 0 |
198
199
|@version| varchar | OUTPUT; for support | none; OUTPUT | none; OUTPUT |
Copy file name to clipboardExpand all lines: sp_IndexCleanup/README.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -98,5 +98,5 @@ EXECUTE dbo.sp_IndexCleanup
98
98
- When using @get_all_databases, results for all databases are combined in a single result set
99
99
- The index_count column for the SUMMARY row in the output table will likely indicate a lower number than is shown at the DATABASE level. The SUMMARY level only includes indexes that have been analyzed; excluding things like clustered indexes, heaps, xml indexes, etc. The DATABASE level index_count value is the total number of indexes in the database.
Copy file name to clipboardExpand all lines: sp_LogHunter/README.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -19,7 +19,7 @@ It helps you give you a fuller, better picture of any bad stuff happening.
19
19
| @days_back | integer | how many days back you want to search the logs | an integer; will be converted to a negative number automatically | -7 |
20
20
| @start_date | datetime | if you want to search a specific time frame | a datetime value | NULL |
21
21
| @end_date | datetime | if you want to search a specific time frame | a datetime value | NULL |
22
-
| @custom_message | nvarchar | if you want to search for a custom string | something specific you want to search for. no wildcards or substitions. | NULL |
22
+
| @custom_message | nvarchar | if you want to search for a custom string | something specific you want to search for. no wildcards or substitutions. | NULL |
23
23
| @custom_message_only | bit | only search for the custom string | NULL, 0, 1 | 0 |
24
24
| @first_log_only | bit | only search through the first error log | NULL, 0, 1 | 0 |
25
25
| @language_id | integer | to use something other than English | SELECT DISTINCT m.language_id FROM sys.messages AS m ORDER BY m.language_id; | 1033 |
0 commit comments