Hello,
i am worried that my compression is not working since i moved from Zabbix 5 to 6 / housekeeper is not deleting hist/trends.
i am using TimeScaledb 2.3.1 in a postgresql 13.7
history we keep 30 days
trends 180 days
compression is set to 7 days
Before the move our database was about 80GB. Within 20 days it has grown by 100GB. Although we have hardly created more items / hosts. Only our 3 main proxies have been completely reinstalled. (But they got the same host as before).
In the log of the server I see when searching for delet:
1436:20220618:190849.539 housekeeper [deleted 0 hist/trends, 0 items/triggers, 472 events, 88 problems, 0 sessions, 0 alarms, 0 audit, 0 records in 0.057586 sec, idle for 1 hour(s)]
only the numbers of events and problems change.
There are three jobs in the database for compressing: (probably nothing to do with the setting in the webfrontend?!?)
SELECT * FROM timescaledb_information.jobs;
job_id | application_name | schedule_interval | max_runtime | max_retries | retry_period | proc_schema | proc_name | owner | scheduled | config | next_start | hypertable_schema | hypertable_name
--------+---------------------------+-------------------+-------------+-------------+--------------+-----------------------+--------------------+----------+-----------+-------------------------------------------------+-------------------------------+-------------------+-----------------
1008 | Compression Policy [1008] | 1 day | 00:00:00 | -1 | 01:00:00 | _timescaledb_internal | policy_compression | zabbix | t | {"hypertable_id": 15, "compress_after": 612000} | 2022-06-21 20:10:37.916419+02 | public | history_uint
1009 | Compression Policy [1009] | 1 day | 00:00:00 | -1 | 01:00:00 | _timescaledb_internal | policy_compression | zabbix | t | {"hypertable_id": 6, "compress_after": 612000} | 2022-06-21 19:49:46.08989+02 | public | trends
1010 | Compression Policy [1010] | 1 day | 00:00:00 | -1 | 01:00:00 | _timescaledb_internal | policy_compression | zabbix | t | {"hypertable_id": 7, "compress_after": 612000} | 2022-06-21 19:50:18.816019+02 | public | trends_uint
Have followed the following pages:
Update Postgresql:
Upgrade Zabbix:
Customize database:
Now how do I find out if this is all normal or I have an error somewhere.
Translated with www.DeepL.com/Translator (free version)
i am worried that my compression is not working since i moved from Zabbix 5 to 6 / housekeeper is not deleting hist/trends.
i am using TimeScaledb 2.3.1 in a postgresql 13.7
history we keep 30 days
trends 180 days
compression is set to 7 days
Before the move our database was about 80GB. Within 20 days it has grown by 100GB. Although we have hardly created more items / hosts. Only our 3 main proxies have been completely reinstalled. (But they got the same host as before).
In the log of the server I see when searching for delet:
1436:20220618:190849.539 housekeeper [deleted 0 hist/trends, 0 items/triggers, 472 events, 88 problems, 0 sessions, 0 alarms, 0 audit, 0 records in 0.057586 sec, idle for 1 hour(s)]
only the numbers of events and problems change.
There are three jobs in the database for compressing: (probably nothing to do with the setting in the webfrontend?!?)
SELECT * FROM timescaledb_information.jobs;
job_id | application_name | schedule_interval | max_runtime | max_retries | retry_period | proc_schema | proc_name | owner | scheduled | config | next_start | hypertable_schema | hypertable_name
--------+---------------------------+-------------------+-------------+-------------+--------------+-----------------------+--------------------+----------+-----------+-------------------------------------------------+-------------------------------+-------------------+-----------------
1008 | Compression Policy [1008] | 1 day | 00:00:00 | -1 | 01:00:00 | _timescaledb_internal | policy_compression | zabbix | t | {"hypertable_id": 15, "compress_after": 612000} | 2022-06-21 20:10:37.916419+02 | public | history_uint
1009 | Compression Policy [1009] | 1 day | 00:00:00 | -1 | 01:00:00 | _timescaledb_internal | policy_compression | zabbix | t | {"hypertable_id": 6, "compress_after": 612000} | 2022-06-21 19:49:46.08989+02 | public | trends
1010 | Compression Policy [1010] | 1 day | 00:00:00 | -1 | 01:00:00 | _timescaledb_internal | policy_compression | zabbix | t | {"hypertable_id": 7, "compress_after": 612000} | 2022-06-21 19:50:18.816019+02 | public | trends_uint
Have followed the following pages:
Update Postgresql:
Upgrade Zabbix:
Customize database:
Now how do I find out if this is all normal or I have an error somewhere.
Translated with www.DeepL.com/Translator (free version)
Comment