Hello,
We have a large Zabbix Environment, with 5 servers :
- 1 zabbix server
- 1 MySQL Database with partitioning (Housekeeper disabled)
- 1 MySQL Slave Database (for data extraction and reportings)
- 2 proxy
And, since I've reached 500 vps, (~2000 hosts) the server history syncer process is busy at 100% almost all the time.

I've tried to raise the number of DBSyncProcess in server configuration (100 process), but it's still busy (it's better, but not enough)..
Do you have an idea to make zabbix proxy history sync to the master faster ?
Edit :
I'have examined the Mysql "show processlist" results, and show that each insert is very, very long ! (150 seconds).
My history_uint table is partioned by range on clock (1 partition / day) and I have to keep 30 days of history to make manual extracts of raw data at the end of the month.
MySQL is already cusomised (inno_db_buffer_pool_size = 8G, innodb_flush_log_at_trx_commit = 2, ...)
Database Cpu usage I/O wait is ~2% and cpu idle time 97%
So i don't know what is the problem...
Thanks..
We have a large Zabbix Environment, with 5 servers :
- 1 zabbix server
- 1 MySQL Database with partitioning (Housekeeper disabled)
- 1 MySQL Slave Database (for data extraction and reportings)
- 2 proxy
And, since I've reached 500 vps, (~2000 hosts) the server history syncer process is busy at 100% almost all the time.
I've tried to raise the number of DBSyncProcess in server configuration (100 process), but it's still busy (it's better, but not enough)..
Do you have an idea to make zabbix proxy history sync to the master faster ?
Edit :
I'have examined the Mysql "show processlist" results, and show that each insert is very, very long ! (150 seconds).
My history_uint table is partioned by range on clock (1 partition / day) and I have to keep 30 days of history to make manual extracts of raw data at the end of the month.
MySQL is already cusomised (inno_db_buffer_pool_size = 8G, innodb_flush_log_at_trx_commit = 2, ...)
Database Cpu usage I/O wait is ~2% and cpu idle time 97%
So i don't know what is the problem...
Thanks..
In the zabbix_proxy database, the number of rows in "proxy_history" table is increasing continuously instead of catching up. When I do a show create table on proxy_history, i have
Comment