From 50b136708f383ac9f4b293aafa9c300894674994 Mon Sep 17 00:00:00 2001 From: Erik Darling <2136037+erikdarlingdata@users.noreply.github.com> Date: Sun, 22 Feb 2026 10:02:49 -0500 Subject: [PATCH] Add memory clerks tab to Lite with picker-driven chart (#145) Memory clerks data was already being collected but had no UI. Added a Memory Clerks sub-tab under Memory with a type picker (matching the wait stats pattern), trend chart showing MB over time per clerk type, and a summary footer showing non-buffer-pool total and top clerk. Also added missing DuckDB index on memory_clerks(server_id, collection_time). Co-Authored-By: Claude Opus 4.6 --- Lite/Controls/ServerTab.xaml | 58 ++++++++ Lite/Controls/ServerTab.xaml.cs | 177 ++++++++++++++++++++++- Lite/Database/Schema.cs | 4 + Lite/Services/LocalDataService.Memory.cs | 80 ++++++++++ 4 files changed, 318 insertions(+), 1 deletion(-) diff --git a/Lite/Controls/ServerTab.xaml b/Lite/Controls/ServerTab.xaml index 689218c2..e3cea39a 100644 --- a/Lite/Controls/ServerTab.xaml +++ b/Lite/Controls/ServerTab.xaml @@ -565,6 +565,64 @@ + + + + + + + + + + + + + + + + + + + +