File tree Expand file tree Collapse file tree 1 file changed +1
-1
lines changed
Expand file tree Collapse file tree 1 file changed +1
-1
lines changed Original file line number Diff line number Diff line change @@ -4396,7 +4396,7 @@ SET frequent_execution = CASE WHEN ExecutionsPerMinute > @execution_threshold
43964396 AND MinReturnedRows < ((1 .0 - (@parameter_sniffing_warning_pct / 100 .0 )) * AverageReturnedRows) THEN 1
43974397 WHEN ExecutionCount > 3 AND AverageReads > @parameter_sniffing_io_threshold
43984398 AND MaxReturnedRows > ((1 .0 + (@parameter_sniffing_warning_pct / 100 .0 )) * AverageReturnedRows) THEN 1 END ,
4399- near_parallel = CASE WHEN QueryPlanCost BETWEEN @ctp * (1 - (@ctp_threshold_pct / 100 .0 )) AND @ctp THEN 1 END ,
4399+ near_parallel = CASE WHEN is_parallel <> 1 AND QueryPlanCost BETWEEN @ctp * (1 - (@ctp_threshold_pct / 100 .0 )) AND @ctp THEN 1 END ,
44004400 long_running = CASE WHEN AverageDuration > @long_running_query_warning_seconds THEN 1
44014401 WHEN max_worker_time > @long_running_query_warning_seconds THEN 1
44024402 WHEN max_elapsed_time > @long_running_query_warning_seconds THEN 1 END ,
You can’t perform that action at this time.
0 commit comments