Lite UI responsiveness overhaul + Query Store collector optimization (#510)#514
Merged
erikdarlingdata merged 2 commits intodevfrom Mar 11, 2026
Merged
Lite UI responsiveness overhaul + Query Store collector optimization (#510)#514erikdarlingdata merged 2 commits intodevfrom
erikdarlingdata merged 2 commits intodevfrom
Conversation
Lite timer tick: 6-13s → ~900ms idle, ~3s under TPC-C load. UI refresh changes: - Timer tick and manual refresh now only query the visible tab/sub-tab - Sub-tab awareness for Queries (8→1-4 queries), Memory (5→1-3), and Blocking (7→1-3) tabs - Added _isRefreshing guard to tab switch handler to prevent DuckDB contention with timer ticks causing "not responding" freezes - Lightweight GetAlertCountsAsync replaces full row fetches for badge Query Store collector optimizations: - Stop collecting plan XML (CONVERT nvarchar(max) → NULL) — plans are fetched on-demand via FetchQueryStorePlanAsync, pre-cached XML was never used. DuckDB write: 6-16s → ~230ms - Added LOOP JOIN hint — SQL time: 374-1100ms → ~300ms (30x faster in isolated benchmarks) Dashboard visible-tab-only refresh carried forward from prior session. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Timer tick and Query Store collector before/after numbers from TPC-C load testing on SQL2022. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
_isRefreshingflag prevents tab switch handler from competing with timer ticksBenchmark results (TPC-C load on SQL2022)
Test plan
🤖 Generated with Claude Code