Hello,
I'm quite new to zabbix and still getting the hang of things and I've been facing an issue with the proxy database size.
We do have a large number of hosts/items reporting in to the proxy but the size seems to grow very large within a couple of weeks. The current size it around 700GB which seems very huge considering the proxy shouldn't be storing that much data.
The one table is particular is getting that large is "proxy_history".
Previously I had to delete the rows and optimize the table in mysql db to get the size back to normal but we can't keep doing that. Also, my understanding was that the housekeeper will go ahead and delete the history every hour or so. It shouldn't be growing that large if that was the case. I also noticed that the proxy configuration doesn't have a max housekeeper delete parameter that I could increase so that more rows get deleted. I'm not even sure if that's the issue though.
Is there a way I can control this size?
Also, I've been looking into partitioning the Server DB but from what I've understood the proxy DBs don't need partitioning but I'm now wondering if that would be something I should do.
About my setup:
RHEL7.7
Zabbix 4.4.7 with server, proxy and DB all on separate hosts
DB is mysql
Any help would be much appreciated!
Thanks,
Karan
I'm quite new to zabbix and still getting the hang of things and I've been facing an issue with the proxy database size.
We do have a large number of hosts/items reporting in to the proxy but the size seems to grow very large within a couple of weeks. The current size it around 700GB which seems very huge considering the proxy shouldn't be storing that much data.
The one table is particular is getting that large is "proxy_history".
Previously I had to delete the rows and optimize the table in mysql db to get the size back to normal but we can't keep doing that. Also, my understanding was that the housekeeper will go ahead and delete the history every hour or so. It shouldn't be growing that large if that was the case. I also noticed that the proxy configuration doesn't have a max housekeeper delete parameter that I could increase so that more rows get deleted. I'm not even sure if that's the issue though.
Is there a way I can control this size?
Also, I've been looking into partitioning the Server DB but from what I've understood the proxy DBs don't need partitioning but I'm now wondering if that would be something I should do.
About my setup:
RHEL7.7
Zabbix 4.4.7 with server, proxy and DB all on separate hosts
DB is mysql
Any help would be much appreciated!
Thanks,
Karan
Comment