mirror of
https://github.com/librenms/librenms.git
synced 2024-10-07 16:52:45 +00:00
Add additional composite index to speed up display of pages where a device has a lot of syslogs. In our environment, this took page loads for some devices from over 60 seconds to nearly instant
This commit is contained in:
1
sql-schema/273.sql
Normal file
1
sql-schema/273.sql
Normal file
@@ -0,0 +1 @@
|
||||
ALTER TABLE `syslog` ADD KEY `device_id-timestamp` (`device_id`,`timestamp`);
|
||||
Reference in New Issue
Block a user