sqlinsight-pro/tests/SQLInsight.Core.Tests
Søren Eggert Lundsteen Olsen 6cc65e3c75 Index usage over time and never-updated statistics (8g, F)
The index collector now sums index reads and writes between collections
across restarts of SQL Server (and of the agent, by seeding from the
stored snapshot) and keeps them per day in insight.IndexUsageDaily
(migration 0015, HourlyDays). SQLI-IDX-002 judges an index once it has
been followed for 7 days instead of needing 7 days of uptime.
GET /api/v1/instances/{name}/index-usage lists usage per index.

SQLI-STAT-001 also reports statistics that were never updated on tables
with rows; statistic rows now come from the table's heap or clustered
index, as a never-updated statistic has no row count of its own.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
2026-10-02 10:55:22 +02:00
..
BaselineTests.cs Fase 2: baselines and anomaly detection 2026-09-29 08:01:11 +00:00
ConfigurationFingerprintTests.cs Configuration page with change log 2026-10-02 08:12:26 +02:00
DeltaTests.cs Fase 1: collectors and rule pack (41 rules) 2026-09-29 06:17:08 +00:00
DiskTests.cs Disk speed per drive: IOPS, MB/s and latency 2026-10-02 08:03:11 +02:00
ErrorLogTests.cs SQL Server error log without elevated rights (8a) 2026-10-02 10:30:41 +02:00
IndexUsageTests.cs Index usage over time and never-updated statistics (8g, F) 2026-10-02 10:55:22 +02:00
InstanceCapabilitiesTests.cs Fase 2: Azure SQL Managed Instance, docs and rule catalog test 2026-09-29 08:23:40 +00:00
PrivilegeAnalysisTests.cs Privilege audit: sysadmin and server roles with AD unfolding 2026-10-02 08:39:56 +02:00
QueryStatsDeltaTests.cs Top SQL: collect what the heaviest statements use every 5 minutes 2026-10-01 15:46:45 +02:00
SQLInsight.Core.Tests.csproj Fase 0: solution structure, capability model, rule engine, least-privilege script 2026-09-29 05:40:49 +00:00
SqlServerVersionTests.cs Fase 0: solution structure, capability model, rule engine, least-privilege script 2026-09-29 05:40:49 +00:00
WaitSamplingTests.cs Wait type drill-down with active session sampling 2026-10-02 08:50:31 +02:00