Skip to content

Issue #274: Query Store Regressions drill-down + TVF rewrite#276

Merged
erikdarlingdata merged 1 commit intodevfrom
fix/issue-274-regression-drilldown
Feb 25, 2026
Merged

Issue #274: Query Store Regressions drill-down + TVF rewrite#276
erikdarlingdata merged 1 commit intodevfrom
fix/issue-274-regression-drilldown

Conversation

@erikdarlingdata
Copy link
Copy Markdown
Owner

Summary

  • Rewrite report.query_store_regressions TVF: bounded baseline (mirror window), weighted averages, multi-metric detection (duration/CPU/reads), absolute minimum thresholds, total impact ranking (additional_duration_ms)
  • Add double-click drill-down from regressions grid to QueryExecutionHistoryWindow
  • Add new grid columns: Total Impact (ms), Base/Recent Exec Counts, Base/Recent Plan Counts
  • Fix chart:grid ratio to 3*:2* with MinHeight 300 across all drill-down windows
  • Lower sparse data threshold to 1 (lines always connect with 2+ points)
  • Fix QueryExecutionHistoryWindow sparse threshold and tooltip registration

Test plan

  • TVF deployed and tested on sql2017, sql2019, sql2022, sql2025
  • Dashboard builds cleanly (0 errors, 0 warnings)
  • Query Store Regressions tab shows new columns (Total Impact, exec counts, plan counts)
  • Double-click regression row opens QueryExecutionHistoryWindow
  • All 4 drill-down charts show connected lines with 2+ data points
  • Chart:grid ratio is 3:2 across all drill-down windows

Closes #274

🤖 Generated with Claude Code

Rewrite report.query_store_regressions TVF with bounded baseline (mirror
window instead of unbounded), execution-count weighted averages, multi-metric
detection (duration/CPU/reads >25%), absolute minimum thresholds, and total
impact ranking (additional_duration_ms). Deployed to sql2017-sql2025.

Add double-click drill-down from regressions grid to QueryExecutionHistoryWindow.
Add new grid columns: Total Impact, Base/Recent Exec Counts, Base/Recent Plan Counts.

Fix chart:grid ratio to 3*:2* with MinHeight 300 across all drill-down windows.
Lower sparse data threshold from 10 to 1 so lines always connect with 2+ points.
Fix QueryExecutionHistoryWindow sparse threshold to use total count not per-plan count.
Fix tooltip registration to collect scatters in loop instead of GetPlottables().

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@erikdarlingdata erikdarlingdata merged commit a3d2f50 into dev Feb 25, 2026
3 checks passed
@erikdarlingdata erikdarlingdata deleted the fix/issue-274-regression-drilldown branch February 25, 2026 20:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant