Kick off (#1)

* Kick off
* Update LICENSE copyright
This commit is contained in:
2026-04-11 13:22:36 +02:00
committed by GitHub
parent 1f1e74c9f8
commit 3882a1941a
76 changed files with 17154 additions and 1 deletions

View File

@@ -0,0 +1,7 @@
-- Indexes for status page & aggregation performance
CREATE INDEX idx_checked_at ON check_results(checked_at);
CREATE INDEX idx_hourly_timestamp ON check_results_hourly(hour_timestamp);
-- Optional covering index for aggregation queries
-- Includes all columns needed for hourly aggregation to avoid table lookups
CREATE INDEX idx_checked_at_monitor_covering ON check_results(checked_at, monitor_name, status, response_time_ms);