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.
This commit is contained in:
parent
ee429f54d0
commit
c5f2fc5aa5
|
@ -107,10 +107,6 @@ class ServiceStatus extends DataView
|
||||||
{
|
{
|
||||||
return array(
|
return array(
|
||||||
'service_display_name' => array(
|
'service_display_name' => array(
|
||||||
'columns' => array(
|
|
||||||
'service_display_name',
|
|
||||||
'host_display_name'
|
|
||||||
),
|
|
||||||
'order' => self::SORT_ASC
|
'order' => self::SORT_ASC
|
||||||
),
|
),
|
||||||
'service_severity' => array(
|
'service_severity' => array(
|
||||||
|
|
Loading…
Reference in New Issue