Commit 1319f40
committed
RunningQueries - performance improvement
Improve performance of RunningQueries collection by adding a HASH join hint. The hint is to avoid a nested loops join which results in multiple executions of the DMV. This can be a problem when the DMVs return a large number of rows.
#16631 parent 62a9612 commit 1319f40
1 file changed
+3
-3
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
76 | 76 | | |
77 | 77 | | |
78 | 78 | | |
79 | | - | |
80 | | - | |
| 79 | + | |
| 80 | + | |
81 | 81 | | |
82 | 82 | | |
83 | 83 | | |
| |||
175 | 175 | | |
176 | 176 | | |
177 | 177 | | |
178 | | - | |
| 178 | + | |
0 commit comments