Uploaded image for project: 'ZABBIX FEATURE REQUESTS'
  1. ZABBIX FEATURE REQUESTS
  2. ZBXNEXT-9143

Add index on auditlog Recordset ID

XMLWordPrintable

    • Prev.Sprint, S24-W24/25, S24-W26/27
    • 1

      Searching auditlog entries by Recordset ID is a common use-case:

      Auditlog table has no index on it:

      Indexes:
          "auditlog_pkey" PRIMARY KEY, btree (auditid)
          "auditlog_1" btree (userid, clock)
          "auditlog_2" btree (clock)
          "auditlog_3" btree (resourcetype, resourceid)
      

      We need to add one to avoid sequential table scan.

            arimdjonoks Artjoms Rimdjonoks
            arimdjonoks Artjoms Rimdjonoks
            Team C
            Votes:
            0 Vote for this issue
            Watchers:
            6 Start watching this issue

              Created:
              Updated:
              Resolved:

                Estimated:
                Original Estimate - 8h
                8h
                Remaining:
                Remaining Estimate - 0h
                0h
                Logged:
                Time Spent - 8h
                8h