Hi all,
We've recently migrate an installation with Zabbix 2.0.10 and MySQL 5.6.13 to Zabbix 3.2.6 and MySQL 5.7.18. We didn't have problems in a small enviroment, but in large we are experiencing problems with too many slow queries everytime:
I've been changing a lot of parameters in my.cnf without success. We receive more than 1000 new values per second.
I trying to keep the configuration of the previous installation as possible, but it seems we need to allocate more memory or something we are doing bad.
I attach here my.cnf and zabbix_server.conf parameters so that you can help me. This config worked well in Zabbix 2.0.
Any help would be apreciated.
Best regards!
We've recently migrate an installation with Zabbix 2.0.10 and MySQL 5.6.13 to Zabbix 3.2.6 and MySQL 5.7.18. We didn't have problems in a small enviroment, but in large we are experiencing problems with too many slow queries everytime:
23231:20170718:161916.830 slow query: 10.811605 sec, "select clock,ns,value from history_uint where itemid=227901 and clock<=1500387351 and clock>1500383751 order by clock desc limit 1"
23231:20170718:161923.804 slow query: 6.943898 sec, "select clock,ns,value from history_uint where itemid=216364 and clock<=1500387351 and clock>1500383751 order by clock desc limit 1"
23231:20170718:161931.567 slow query: 7.598017 sec, "select clock,ns,value from history_uint where itemid=217767 and clock<=1500387351 and clock>1500383751 order by clock desc limit 1"
23231:20170718:161923.804 slow query: 6.943898 sec, "select clock,ns,value from history_uint where itemid=216364 and clock<=1500387351 and clock>1500383751 order by clock desc limit 1"
23231:20170718:161931.567 slow query: 7.598017 sec, "select clock,ns,value from history_uint where itemid=217767 and clock<=1500387351 and clock>1500383751 order by clock desc limit 1"
I've been changing a lot of parameters in my.cnf without success. We receive more than 1000 new values per second.
I trying to keep the configuration of the previous installation as possible, but it seems we need to allocate more memory or something we are doing bad.
I attach here my.cnf and zabbix_server.conf parameters so that you can help me. This config worked well in Zabbix 2.0.
Any help would be apreciated.
Best regards!
Comment