From c5f2fc5aa5ca6e104b0856849ca52d65e0b6be73 Mon Sep 17 00:00:00 2001 From: Eric Lippmann Date: Thu, 27 Jul 2017 15:03:12 +0200 Subject: [PATCH] Reduce service_display_names order by columns Ordering by host_display_name too here reduces performance as it forces MySQL to use a temp table. --- .../monitoring/library/Monitoring/DataView/Servicestatus.php | 4 ---- 1 file changed, 4 deletions(-) diff --git a/modules/monitoring/library/Monitoring/DataView/Servicestatus.php b/modules/monitoring/library/Monitoring/DataView/Servicestatus.php index a5154c4ea..7f3f075bd 100644 --- a/modules/monitoring/library/Monitoring/DataView/Servicestatus.php +++ b/modules/monitoring/library/Monitoring/DataView/Servicestatus.php @@ -107,10 +107,6 @@ class ServiceStatus extends DataView { return array( 'service_display_name' => array( - 'columns' => array( - 'service_display_name', - 'host_display_name' - ), 'order' => self::SORT_ASC ), 'service_severity' => array(