added historian indexes

This commit is contained in:
litoral05
2026-05-22 17:38:47 +01:00
parent af709852ac
commit d86ec39b08
@@ -0,0 +1,5 @@
CREATE INDEX IF NOT EXISTS idx_historian_key_time
ON historian_sample(key_name, sampled_at);
CREATE INDEX IF NOT EXISTS idx_historian_sampled_at
ON historian_sample(sampled_at);