Uploaded image for project: 'ZABBIX BUGS AND ISSUES'
  1. ZABBIX BUGS AND ISSUES
  2. ZBX-898

Events component on a screen is slow to load due to ineffecient mysql query or queries

XMLWordPrintable

    • Icon: Incident report Incident report
    • Resolution: Fixed
    • Icon: Minor Minor
    • None
    • 1.6
    • Frontend (F)
    • None
    • RHEL5, MySQL 5.0.45

      The events component in a screen is slow to generate because of an inefficient query on the MySQL database. An event list of the last 10 items takes about 5 seconds to generate.

      I checked the MySQL query log and saw that Zabbix executes a very large statement on the database and verified that this statement is the statement that takes a while to finish. See attached query.txt. The entire query is 14kb ! I suspect this could be done more efficiently, to speed up the GUI's response.

        1. query.log
          14 kB
        2. query_output.txt
          256 kB

            alexei Alexei Vladishev
            krimson Jasper Spit
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: