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_QuickieStore/README.md
+2-1Lines changed: 2 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -73,6 +73,7 @@ Use the `@expert_mode` parameter to return additional details.
73
73
| @regression_comparator | varchar | what difference to use ('relative' or 'absolute') when comparing @sort_order's metric for the normal time period with any regression time period. | relative, absolute | NULL; absolute if @regression_baseline_start_date is specified |
74
74
| @regression_direction | varchar | when comparing against any regression baseline, what do you want the results sorted by ('magnitude', 'improved', or 'regressed')? | regressed, worse, improved, better, magnitude, absolute, whatever | NULL; regressed if @regression_baseline_start_date is specified |
75
75
| @include_query_hash_totals | bit | will add an additional column to final output with total resource usage by query hash | 0 or 1 | 0 |
76
+
| @include_maintenance | bit | Set this bit to 1 to add maintenance operations such as index creation to the result set | 0 or 1 | 0 |
76
77
|@help| bit | how you got here | 0 or 1 | 0 |
77
78
|@debug| bit | prints dynamic sql, statement length, parameter and variable values, and raw temp table contents | 0 or 1 | 0 |
78
79
| @troubleshoot_performance | bit | set statistics xml on for queries against views | 0 or 1 | 0 |
Copy file name to clipboardExpand all lines: sp_QuickieStore/sp_QuickieStore.sql
+11-1Lines changed: 11 additions & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -100,6 +100,7 @@ ALTER PROCEDURE
100
100
@regression_comparator varchar(20) =NULL, /*what difference to use ('relative' or 'absolute') when comparing @sort_order's metric for the normal time period with the regression time period.*/
101
101
@regression_direction varchar(20) =NULL, /*when comparing against the regression baseline, want do you want the results sorted by ('magnitude', 'improved', or 'regressed')?*/
102
102
@include_query_hash_totals bit=0, /*will add an additional column to final output with total resource usage by query hash, may be skewed by query_hash and query_plan_hash bugs with forced plans/plan guides*/
103
+
@include_maintenance bit=0, /*Set this bit to 1 to add maintenance operations such as index creation to the result set*/
103
104
@help bit=0, /*return available parameter details, etc.*/
104
105
@debug bit=0, /*prints dynamic sql, statement length, parameter and variable values, and raw temp table contents*/
105
106
@troubleshoot_performance bit=0, /*set statistics xml on for queries against views*/
@@ -215,6 +216,7 @@ BEGIN
215
216
WHENN'@regression_comparator'THEN'what difference to use (''relative'' or ''absolute'') when comparing @sort_order''s metric for the normal time period with any regression time period.'
216
217
WHENN'@regression_direction'THEN'when comparing against any regression baseline, what do you want the results sorted by (''magnitude'', ''improved'', or ''regressed'')?'
217
218
WHENN'@include_query_hash_totals'THENN'will add an additional column to final output with total resource usage by query hash, may be skewed by query_hash and query_plan_hash bugs with forced plans/plan guides'
219
+
WHENN'@include_maintenance'THENN'Set this bit to 1 to add maintenance operations such as index creation to the result set'
218
220
WHENN'@help'THEN'how you got here'
219
221
WHENN'@debug'THEN'prints dynamic sql, statement length, parameter and variable values, and raw temp table contents'
220
222
WHENN'@troubleshoot_performance'THEN'set statistics xml on for queries against views'
0 commit comments