Dear all,
our Zabbix 5 installation is not compressing older chunks in timescaledb. It seems to have stopped after we had a disk IO overload (solved now) that resulted in the following error:
Following this instructions we executed the following command about two weeks ago:
After this command the error stopped but it seems that no new chunks are being compressed.
This is the situation on November 27th (when we detected this issue):
And today (November 30th):
Housekeeping is enabled for 7d with compression turned on.
our Zabbix 5 installation is not compressing older chunks in timescaledb. It seems to have stopped after we had a disk IO overload (solved now) that resulted in the following error:
Code:
32159:20201112:220215.184 [Z3005] query failed: [0] PGRES_FATAL_ERROR:ERROR: insert/update/delete not permitted on chunk "_hyper_7_32_chunk"
Code:
select decompress_chunk('_timescaledb_internal._hyper_7_3 2_chunk');
After this command the error stopped but it seems that no new chunks are being compressed.
This is the situation on November 27th (when we detected this issue):
Code:
zabbix=# select * from timescaledb_information.compressed_hypertable_stat s; hypertable_name | total_chunks | number_compressed_chunks | uncompressed_heap_bytes | uncompressed_index_bytes | uncompressed_toast_bytes | uncompressed_total_bytes | compressed_heap_bytes | compressed_index_bytes | compressed_toast_bytes | compressed_total_bytes -----------------+--------------+--------------------------+-------------------------+--------------------------+--------------------------+--------------------------+-----------------------+------------------------+------------------------+------------------------ history_log | 22 | 3 | 3904 kB | 952 kB | 15 MB | 20 MB | 56 kB | 48 kB | 192 kB | 296 kB history_str | 29 | 9 | 66 MB | 82 MB | 0 bytes | 148 MB | 19 MB | 2288 kB | 120 kB | 21 MB history_text | 29 | 9 | 2872 kB | 2328 kB | 336 kB | 5536 kB | 2920 kB | 552 kB | 352 kB | 3824 kB trends | 2 | 1 | 1552 kB | 1368 kB | 0 bytes | 2920 kB | 872 kB | 72 kB | 208 kB | 1152 kB history_uint | 30 | 8 | 1784 MB | 2732 MB | 0 bytes | 4516 MB | 33 MB | 4056 kB | 217 MB | 254 MB trends_uint | 2 | 1 | 2440 kB | 2392 kB | 0 bytes | 4832 kB | 1976 kB | 200 kB | 72 kB | 2248 kB history | 30 | 8 | 3074 MB | 3826 MB | 0 bytes | 6899 MB | 192 MB | 6560 kB | 247 MB | 445 MB
Code:
zabbix=# select * from timescaledb_information.compressed_hypertable_stat s; hypertable_name | total_chunks | number_compressed_chunks | uncompressed_heap_bytes | uncompressed_index_bytes | uncompressed_toast_bytes | uncompressed_total_bytes | compressed_heap_bytes | compressed_index_bytes | compressed_toast_bytes | compressed_total_bytes -----------------+--------------+--------------------------+-------------------------+--------------------------+--------------------------+--------------------------+-----------------------+------------------------+------------------------+------------------------ history_log | 25 | 3 | 3904 kB | 952 kB | 15 MB | 20 MB | 56 kB | 48 kB | 192 kB | 296 kB history_str | 32 | 9 | 66 MB | 82 MB | 0 bytes | 148 MB | 19 MB | 2288 kB | 120 kB | 21 MB history_text | 32 | 9 | 2872 kB | 2328 kB | 336 kB | 5536 kB | 2920 kB | 552 kB | 352 kB | 3824 kB trends | 2 | 1 | 1552 kB | 1368 kB | 0 bytes | 2920 kB | 872 kB | 72 kB | 208 kB | 1152 kB history_uint | 33 | 8 | 1784 MB | 2732 MB | 0 bytes | 4516 MB | 33 MB | 4056 kB | 217 MB | 254 MB trends_uint | 2 | 1 | 2440 kB | 2392 kB | 0 bytes | 4832 kB | 1976 kB | 200 kB | 72 kB | 2248 kB history | 33 | 8 | 3074 MB | 3826 MB | 0 bytes | 6899 MB | 192 MB | 6560 kB | 247 MB | 445 MB
Comment