Uploaded image for project: 'Observium'
  1. Observium
  2. OBS-2506

Improve syslog output performance

    XMLWordPrintable

Details

    • Improvement
    • Resolution: Fixed
    • Minor
    • None
    • Professional Edition
    • Web Interface
    • None

    Description

      Output of syslog entries is very slow due to the fact that query

       

      SELECT DISTINCT `priority` FROM `syslog` WHERE 1 AND `device_id` = '762';

       

      can not use a index

       

      alter table syslog add key device_id_priority (device_id,priority);

       

      makes that a lot better.

      Attachments

        Activity

          People

            landy Mike Stupalov
            cramer Matthias Cramer
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: