build(repo): restructure repository into postgresql subdirectory with template and script

This commit is contained in:
Maksym Buz
2026-03-30 21:18:15 +00:00
parent fc79992dee
commit f83adeee8a
5 changed files with 11 additions and 0 deletions

8
postgresql/README.md Normal file
View File

@@ -0,0 +1,8 @@
# PostgreSQL Partitioning for Zabbix
This directory contains solutions for partitioning a Zabbix database running on PostgreSQL. Partitioning is essential for large Zabbix environments as it eliminates the need for the built-in Zabbix Housekeeper to aggressively delete old data row-by-row, replacing it with instant DDL operations that drop entire daily or monthly chunks.
## Implementations
- **[procedures](procedures/)**: The recommended Declarative (SQL-based) implementation. It uses native PostgreSQL procedures and features like `pg_cron` for entirely self-contained maintenance.
- **[script](script/)**: External script-based management solution. (Coming soon)

View File

@@ -0,0 +1,3 @@
# Script-based Partitioning
(Coming soon)