From 1d66495efd04687cafbebb6a312b46a3bb2136aa Mon Sep 17 00:00:00 2001 From: Erik Darling <2136037+erikdarlingdata@users.noreply.github.com> Date: Wed, 25 Feb 2026 14:22:16 -0500 Subject: [PATCH] Issue #281 Gap 3: Surface min/max extremes in both apps, fix Query Store gaps, improve collector health logic MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Query Stats: Add min/max physical reads, rows, grant KB, spills to Lite grids. Add min/max physical reads to Dashboard query stats main grid. Procedure Stats: Add min/max logical reads, physical reads, logical writes, spills to Lite grid. Query Store: Wire 3 broken XAML bindings (ForceFailureCount, LastForceFailureReasonDesc, PlanForcingType), add 6 hidden columns (CLR time, num physical IO reads, log bytes), add min memory/tempdb MB display. Collector Health: Add consecutive failure detection to report.collection_health view — 5+ recent errors = FAILING, 3+ = WARNING, regardless of 7-day percentage. Co-Authored-By: Claude Opus 4.6 --- .../Controls/QueryPerformanceContent.xaml | 88 +++++++++++++++++++ Dashboard/Models/QueryStatsItem.cs | 2 + Dashboard/Models/QueryStoreItem.cs | 19 ++++ .../DatabaseService.QueryPerformance.cs | 58 ++++++++---- Lite/Controls/ServerTab.xaml | 48 ++++++++++ Lite/Services/LocalDataService.QueryStats.cs | 64 ++++++++++++-- install/47_create_reporting_views.sql | 48 +++++++++- 7 files changed, 300 insertions(+), 27 deletions(-) diff --git a/Dashboard/Controls/QueryPerformanceContent.xaml b/Dashboard/Controls/QueryPerformanceContent.xaml index f478a328..b7c71c9d 100644 --- a/Dashboard/Controls/QueryPerformanceContent.xaml +++ b/Dashboard/Controls/QueryPerformanceContent.xaml @@ -727,6 +727,22 @@ + + + +