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

VERY slow SQLs in Dashboard -> Last issues widget

XMLWordPrintable

    • Icon: Problem report Problem report
    • Resolution: Won't fix
    • Icon: Critical Critical
    • None
    • 3.2.7
    • Frontend (F)
    • 2 x Intel Xeon E5420
      16 GB RAM
      4 x 1 TB SAS HDD in RAID10
      -------------------------------------------
      OS: Debian 8.9
      DB: MariaDB 10.0.30
      This server is for DB only !
    • Sprint 13, Sprint 14, Sprint 15, Sprint 16, Sprint 17, Sprint 18, Sprint 19, Sprint 20, Sprint 21, Sprint 22, Sprint 23

      Hi !

      After updating from 3.2.4 to 3.2.7, there is a ridiculously HUGE difference of Dashboard "Last issues" widget's loading times, that greatly affects system load on the DB server.
      I have a split-setup configuration: one server is DB-only and another server is for zabbix-server and frontend.

      I turned on debugging and tested 2 scenarios:
      1. Only 1 user (Super Admin) online on the frontend - DB server load = near 0
      2. Real-world scenario with 9-12 users online - DB server load = 12 - 14 (on the "user" side, NOT I/O !)
      On both cases, zabbix-server WAS running.
      There are 2 files attached that represent the SQL profile for each case, only on the "Last Issues" widget, of course.

      Note that a lot of time is spent on SELECT DISTINCT queries.

      Please help me investigate this critical issue.
      I can make all kind of tests, even SQL profile v3.2.4 in the exact same environment.

            Unassigned Unassigned
            Raziel Andrei Coada
            Team B
            Votes:
            1 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: