Details
-
Improvement
-
Resolution: Fixed
-
Minor
-
None
-
Professional Edition
-
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
Status | Original: Resolved [ 5 ] | New: Closed [ 6 ] |
Issue Type | Original: Add New Device / OS [ 10002 ] | New: Improvement [ 4 ] |
Resolution | New: Fixed [ 1 ] | |
Status | Original: Open [ 1 ] | New: Resolved [ 5 ] |
Assignee | Original: Adam Armstrong [ adama ] | New: Mike Stupalov [ landy ] |
Fixed in r8940.