It takes me 19 mins to delete 4500 records from the history table.
I dont think zabbix housekeeping is really clearing the data since the delete in mysql is too slow. I only keep at most 90 days of history, but I still have history data from 2005.
Anyone have suggestions to speed up the process? My history table is 16GB now.
mysql> delete FROM `history` where `clock` < 1122000000;
Query OK, 4545 rows affected (19 min 57.07 sec)
Thanks
I dont think zabbix housekeeping is really clearing the data since the delete in mysql is too slow. I only keep at most 90 days of history, but I still have history data from 2005.
Anyone have suggestions to speed up the process? My history table is 16GB now.
mysql> delete FROM `history` where `clock` < 1122000000;
Query OK, 4545 rows affected (19 min 57.07 sec)
Thanks
Comment