Enhance partitioning logic and update Zabbix config template

This commit is contained in:
Maksym Buz
2026-04-02 17:02:16 +00:00
parent a28a789454
commit f38e9677e5
5 changed files with 81 additions and 14 deletions

View File

@@ -1,5 +1,7 @@
SELECT
table_name,
period,
keep_history::text AS keep_history,
future_partitions,
total_size_bytes,
EXTRACT(EPOCH FROM (now() - last_updated)) AS age_seconds