Commit 1391589
Each wait stat recorded on a statement now emits a first-class PlanWarning
alongside the existing wait-stats card, so waits sort by benefit % in the
warnings list next to operator findings instead of living only in their own
panel.
- WaitStatsKnowledge: per-wait description + how-to-fix content covering
PAGEIOLATCH_*, PAGELATCH_*, LATCH_*, LCK_M_*, MEMORY_ALLOCATION_EXT,
RESOURCE_SEMAPHORE*, CX*/HT*/BMPBUILD parallel + batch-mode families,
SOS_SCHEDULER_YIELD, THREADPOOL, ASYNC_NETWORK_IO, WRITELOG, IO_COMPLETION,
LOGBUFFER, EXECSYNC, PREEMPTIVE_OS_WRITEFILEGATHER, with prefix fallbacks.
- PAGEIOLATCH_SH/EX/UP/DT warnings include effective latency per wait
(wait_ms / wait_count) in the message.
- Severity tiers off benefit %: >=50 Critical, >=10 Warning, else Info.
- Flows through existing PlanWarnings pipeline so web viewer, HTML export,
JSON/text, and Avalonia Plan Warnings expander all pick it up with no
renderer changes. Wait-stats chart stays as a complementary view.
- Version bump 1.6.0 -> 1.7.0.
Co-authored-by: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
1 parent 78d3a46 commit 1391589
4 files changed
Lines changed: 372 additions & 1 deletion
File tree
- src
- PlanViewer.App
- PlanViewer.Core/Services
- PlanViewer.Web
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
6 | 6 | | |
7 | 7 | | |
8 | 8 | | |
9 | | - | |
| 9 | + | |
10 | 10 | | |
11 | 11 | | |
12 | 12 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
38 | 38 | | |
39 | 39 | | |
40 | 40 | | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
| 61 | + | |
| 62 | + | |
| 63 | + | |
| 64 | + | |
| 65 | + | |
| 66 | + | |
| 67 | + | |
| 68 | + | |
| 69 | + | |
| 70 | + | |
| 71 | + | |
| 72 | + | |
| 73 | + | |
| 74 | + | |
| 75 | + | |
| 76 | + | |
| 77 | + | |
| 78 | + | |
| 79 | + | |
41 | 80 | | |
| 81 | + | |
| 82 | + | |
| 83 | + | |
| 84 | + | |
| 85 | + | |
| 86 | + | |
| 87 | + | |
| 88 | + | |
| 89 | + | |
| 90 | + | |
| 91 | + | |
| 92 | + | |
| 93 | + | |
| 94 | + | |
| 95 | + | |
| 96 | + | |
42 | 97 | | |
43 | 98 | | |
44 | 99 | | |
| 100 | + | |
| 101 | + | |
| 102 | + | |
| 103 | + | |
| 104 | + | |
| 105 | + | |
| 106 | + | |
| 107 | + | |
45 | 108 | | |
46 | 109 | | |
47 | 110 | | |
| |||
0 commit comments