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

API create and update optimization

    XMLWordPrintable

    Details

    • Type: Change Request
    • Status: Open
    • Priority: Trivial
    • Resolution: Unresolved
    • Affects Version/s: 2.3.0
    • Fix Version/s: None
    • Component/s: API (A)

      Description

      API create and update methods check existing names in each foreach iteration. This means a separate SQL query is executed for each name. We can optimize this to query existing names all at once. Partially this has been done in ZBX-7981, but could also be done in other API places mentioned there: Template, Graph and Graph prototype, UserGroup and XML v1.8 import in various places.

        Attachments

          Activity

            People

            Assignee:
            Unassigned Unassigned
            Reporter:
            iivs Ivo Kurzemnieks
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Dates

              Created:
              Updated: