Commit 9d03cc9
sp_QuickieCache: add CPU tie-breaker to duplicate plans sort order
Within the same plan_count, sort by total_worker_time DESC so the
most expensive query hash surfaces first.
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>1 parent 99deded commit 9d03cc9
1 file changed
Lines changed: 2 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
498 | 498 | | |
499 | 499 | | |
500 | 500 | | |
501 | | - | |
| 501 | + | |
| 502 | + | |
502 | 503 | | |
503 | 504 | | |
504 | 505 | | |
| |||
0 commit comments