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

Promblem tag filter benefits of extra indexes

XMLWordPrintable

    • Sprint candidates

      In version 7.0, if User Groups use “Problem tag Filter” like this:

      Users experience a very high load time, around 30 seconds, this makes the Problems page unusable.
      One way to fix problem of creating these two indexes on database Maria DB 10.5:

      create index items_11 on items (itemid,hostid,key_(100));
      create index functions_4 on functions (triggerid,itemid);

      After the creation of these two indexes, the load time passed from 30 seconds to 0.5 seconds.

      Similar benefit happens on Zabbix 6.0, where the outcome is 1.9 (without) VS 0.3 (with) seconds.

      In Addition to that I see that with version 7 , a lot of TMP table are created on disk by MariaDB , so we need to increase the tmp-table-size parameter to 4GB .

      Size stats about tables sizes: zabbix7db-size.txt

        1. problem-filter-tag.png
          23 kB
          Aigars Kadikis
        2. zabbix7db-size.txt
          81 kB
          Aigars Kadikis

            vmaksimovs Vladimirs Maksimovs
            aigars.kadikis Aigars Kadikis
            Team C
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated: