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: public/Get-DbaWaitStatistic.ps1
+43-1Lines changed: 43 additions & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -39,6 +39,14 @@ function Get-DbaWaitStatistic {
39
39
Includes wait types that are typically benign and can be safely ignored during troubleshooting, such as Service Broker idle waits and background task waits.
40
40
Use this when you need to see all wait activity or when investigating unusual issues with specific features like mirroring or Availability Groups.
41
41
42
+
.PARAMETERExcludeWaitType
43
+
Additional wait types to exclude beyond the default ignorable list. Provide an array of wait type names (e.g., "CXPACKET", "CXCONSUMER").
44
+
Use this when you want to filter out specific waits that may not be relevant to your analysis.
45
+
46
+
.PARAMETERIncludeWaitType
47
+
Wait types to always include in results, even if they appear in the ignorable list. Provide an array of wait type names.
48
+
Use this to ensure specific waits are shown regardless of the -IncludeIgnorable switch setting.
49
+
42
50
.PARAMETEREnableException
43
51
By default, when something goes wrong we try to catch it, interpret it and give you a friendly warning message.
44
52
This avoids overwhelming you with "sea of red" exceptions, but is inconvenient because it basically disables advanced scripting.
@@ -108,6 +116,16 @@ function Get-DbaWaitStatistic {
108
116
109
117
Displays the output then loads the associated sqlskills website for each result. Opens one tab per unique URL.
0 commit comments