Started GET "/hosts/ae-snot1.example.org/edit" for X.X.X.X at Thu Aug 09 15:16:42 +0200 2012 Processing by HostsController#edit as HTML Parameters: {"id"=>"ae-snot1.example.org"} User Load (1.6ms) SELECT `users`.* FROM `users` WHERE `users`.`id` = 54 LIMIT 1 Setting current user thread-local variable to ibarrien Host Load (2.7ms) SELECT `hosts`.* FROM `hosts` WHERE `hosts`.`name` = 'ae-snot1.example.org' LIMIT 1 Environment Load (1.8ms) SELECT `environments`.* FROM `environments` WHERE `environments`.`id` = 16 ORDER BY LOWER(environments.name) LIMIT 1 Architecture Load (3.3ms) SELECT `architectures`.* FROM `architectures` WHERE `architectures`.`id` = 1 LIMIT 1 Domain Load (0.9ms) SELECT `domains`.* FROM `domains` WHERE `domains`.`id` = 1 ORDER BY LOWER(domains.name) LIMIT 1 Operatingsystem Load (1.2ms) SELECT `operatingsystems`.* FROM `operatingsystems` WHERE `operatingsystems`.`id` = 21 ORDER BY LOWER(operatingsystems.name) LIMIT 1 Medium Load (1.0ms) SELECT `media`.* FROM `media` WHERE `media`.`id` = 6 ORDER BY LOWER(media.name) LIMIT 1 Rendered hosts/_progress.erb (0.6ms) Hypervisor Load (1.1ms) SELECT `hypervisors`.* FROM `hypervisors` ORDER BY LOWER(hypervisors.name) LIMIT 1 Hostgroup Load (1.5ms) SELECT * FROM `hostgroups` INNER JOIN `user_hostgroups` ON `hostgroups`.id = `user_hostgroups`.hostgroup_id WHERE (`user_hostgroups`.user_id = 54 ) Hostgroup Load (5.4ms) SELECT `hostgroups`.* FROM `hostgroups` Hostgroup Load (1.6ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry Hostgroup Load (3.8ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3, 36, 86, 92) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3, 36, 86, 92) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry Hostgroup Load (2.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3, 54, 62) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3, 54, 62) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3, 54, 62) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3, 54, 62) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.1ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry Hostgroup Load (1.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3, 13) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3, 54, 62) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3, 54, 62) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3, 13) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3, 54, 62) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry Hostgroup Load (1.5ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3, 162) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3, 54, 62) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3, 54, 62) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3, 162) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3, 54, 62) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry Hostgroup Load (1.3ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3, 10) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3, 54, 62) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.1ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3, 162) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3, 54, 62) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3, 10) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3, 54, 62) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry Hostgroup Load (1.4ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3, 59) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3, 54, 62) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3, 54, 62) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3, 59) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3, 54, 62) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3, 13) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3, 54, 62) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.1ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3, 59) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3, 54, 62) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3, 13) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3, 54, 62) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3, 54, 62) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3, 54, 62) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3, 54, 62) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry Hostgroup Load (0.9ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3, 160) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3, 54, 62) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3, 54, 62) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3, 54, 62) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3, 54, 62) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry Hostgroup Load (1.2ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3, 158) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3, 54, 62) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3, 54, 62) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3, 54, 62) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3, 54, 62) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3, 54, 62) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3, 54, 62) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry Hostgroup Load (1.1ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3, 52, 137) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3, 54, 62) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry Hostgroup Load (1.5ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3, 153) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3, 54, 62) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry Hostgroup Load (1.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3, 28) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3, 54, 62) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3, 153) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3, 54, 62) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3, 28) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3, 54, 62) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3, 54, 62) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3, 54, 62) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3, 54, 62) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3, 54, 62) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry Hostgroup Load (1.3ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3, 54, 145) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3, 54, 62) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3, 54, 145) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3, 54, 62) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3, 54, 145) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3, 54, 62) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3, 54, 145) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3, 54, 62) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3, 54, 145) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3, 54, 62) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3, 54, 145) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3, 54, 62) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry Hostgroup Load (0.9ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3, 54) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3, 54, 62) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry Hostgroup Load (2.4ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3, 52) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3, 54, 62) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3, 54, 62) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.1ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3, 54, 62) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3, 54, 62) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3, 54, 62) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3, 54, 62) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3, 52) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3, 54, 62) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3, 52) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3, 54, 62) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry Hostgroup Load (1.4ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3, 36) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3, 54, 62) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3, 28) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3, 54, 62) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry Hostgroup Load (1.5ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3, 36, 86, 91) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3, 54, 62) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3, 54, 62) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3, 54, 62) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3, 54, 62) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3, 54, 62) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3, 28) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3, 54, 62) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry Hostgroup Load (1.5ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3, 129, 130) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3, 54, 62) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3, 129, 130) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3, 54, 62) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry Hostgroup Load (1.4ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3, 129) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3, 54, 62) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3, 54, 62) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry Hostgroup Load (1.3ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3, 122) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3, 54, 62) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3, 122) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3, 54, 62) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3, 122) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3, 54, 62) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.1ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3, 122) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3, 54, 62) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3, 122) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3, 54, 62) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3, 122) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3, 54, 62) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3, 54, 62) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3, 54, 62) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry Hostgroup Load (1.2ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3, 75) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3, 54, 62) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3, 75) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3, 54, 62) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3, 54, 62) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry Hostgroup Load (1.3ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3, 111) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.1ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3, 54, 62) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry Hostgroup Load (1.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3, 111, 114) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3, 54, 62) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3, 111) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3, 54, 62) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3, 111) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3, 54, 62) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3, 111, 114) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3, 54, 62) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3, 54, 62) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3, 54, 62) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3, 54, 62) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3, 54, 62) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3, 54, 62) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3, 54, 62) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry Hostgroup Load (1.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3, 36, 107) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3, 54, 62) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3, 54, 62) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3, 36) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3, 54, 62) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry Hostgroup Load (2.2ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3, 39) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3, 54, 62) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3, 54, 62) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3, 54, 62) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry Hostgroup Load (1.7ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3, 49) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3, 54, 62) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3, 39) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3, 54, 62) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3, 54, 62) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.1ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3, 54, 62) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3, 54, 62) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3, 54, 62) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3, 54, 62) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3, 54, 62) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry Hostgroup Load (1.4ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3, 36, 86, 95) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3, 54, 62) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3, 39) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3, 54, 62) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3, 36, 86, 95) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3, 54, 62) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3, 39) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3, 54, 62) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3, 54, 62) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3, 36, 86, 92) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3, 54, 62) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry Hostgroup Load (1.4ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3, 42) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3, 54, 62) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry Hostgroup Load (1.7ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3, 36, 86) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3, 54, 62) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3, 42) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3, 54, 62) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3, 54, 62) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3, 54, 62) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3, 54, 62) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3, 54, 62) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3, 36, 86) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3, 54, 62) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3, 42) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3, 54, 62) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3, 36, 86) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3, 54, 62) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3, 54, 62) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry Hostgroup Load (1.6ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3, 38) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3, 54, 62) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry Hostgroup Load (1.2ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3, 36, 86, 87) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3, 54, 62) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3, 54, 62) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3, 36, 86) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3, 54, 62) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3, 54, 62) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3, 36) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3, 54, 62) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.1ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3, 54, 62) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3, 54, 62) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry Hostgroup Load (0.8ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3, 25) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3, 54, 62) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3, 54, 62) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3, 54, 62) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3, 54, 62) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3, 54, 62) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3, 54, 62) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3, 54, 62) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3, 54, 62) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3, 54, 62) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3, 54, 62) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3, 54, 62) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3, 54) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3, 54, 62) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3, 54, 62) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3, 54, 62) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3, 54, 62) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3, 54, 62) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3, 54, 62) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3, 54, 62) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3, 54, 62) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry Hostgroup Load (1.3ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3, 97) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3, 54, 62) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3, 54, 62) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3, 54, 62) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3, 54, 62) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3, 54, 62) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3, 54, 62) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3, 54, 62) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry Hostgroup Load (0.8ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3, 72) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3, 54, 62) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3, 54, 62) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3, 49) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3, 49) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3, 72) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3, 72) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3, 72) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3, 72) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3, 72) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3, 162) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3, 72) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3, 162) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3, 72) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3, 162) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3, 72) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3, 59) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3, 72) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3, 72) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3, 72) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3, 59) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3, 72) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3, 54, 62) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3, 72) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3, 72) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3, 59) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3, 72) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3, 54) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3, 72) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3, 54, 62) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3, 72) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3, 72) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3, 72) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3, 72) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.1ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3, 72) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3, 72) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3, 160) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3, 72) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3, 25) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3, 72) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3, 72) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3, 36) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3, 72) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3, 36, 86) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3, 72) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3, 36, 86, 87) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3, 72) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3, 72) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3, 36, 86) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3, 72) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3, 36, 86) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3, 72) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3, 36, 86) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3, 72) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3, 36, 86, 92) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3, 72) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3, 36, 86, 95) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3, 72) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3, 36, 86, 95) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3, 72) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3, 54, 62) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3, 72) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3, 72) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3, 36) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3, 72) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3, 36, 107) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (1.1ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3, 72) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3, 54, 62) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3, 72) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3, 72) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3, 72) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3, 158) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3, 72) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3, 36, 86, 91) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3, 72) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3, 36) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3, 72) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3, 72) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3, 153) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3, 72) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3, 153) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3, 72) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3, 72) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3, 72) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3, 162) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3, 162) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3, 162) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3, 162) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3, 162) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3, 162) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3, 162) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3, 162) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3, 162) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3, 162) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3, 162) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3, 162) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.1ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3, 162) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3, 162) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3, 162) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3, 162) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3, 162) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3, 158) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3, 36, 86) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3, 36, 86) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3, 49) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3, 158) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3, 49) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3, 158) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3, 158) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3, 158) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3, 59) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3, 158) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3, 54, 62) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3, 158) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3, 59) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3, 158) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3, 54) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3, 158) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3, 54, 62) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3, 158) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3, 59) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3, 158) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3, 158) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3, 158) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3, 25) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3, 158) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3, 158) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3, 36) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3, 158) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3, 158) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3, 36, 86) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3, 158) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3, 158) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3, 153) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3, 158) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3, 36, 86, 87) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3, 158) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3, 153) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3, 158) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3, 158) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3, 36, 86) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3, 158) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3, 158) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3, 36, 86) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3, 158) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3, 36) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3, 158) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3, 36, 86, 91) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3, 158) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3, 158) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3, 36, 86, 92) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3, 158) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3, 158) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3, 54, 62) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3, 158) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3, 36, 86, 95) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3, 158) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3, 36, 107) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3, 158) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3, 36) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3, 158) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3, 160) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3, 158) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3, 36, 86, 95) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3, 158) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3, 54, 62) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3, 158) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3, 36, 86) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3, 36, 86, 91) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3, 36, 86, 91) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3, 36, 86, 95) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3, 36, 86) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3, 36, 86, 95) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3, 36) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3, 36, 86, 95) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3, 36, 86, 95) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3, 36, 86, 95) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3, 36, 86, 95) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3, 36, 86) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3, 36, 86, 95) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3, 36, 86, 87) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3, 36, 86, 95) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3, 36, 86) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3, 36, 86, 95) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3, 36) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3, 36, 86, 95) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3, 36, 107) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3, 36, 86, 95) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3, 36, 86, 92) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3, 36, 86, 95) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3, 36) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3, 36, 86, 95) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3, 36, 86, 95) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3, 36, 86) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3, 36, 86, 95) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3, 36) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3, 36) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3, 36) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3, 36, 86, 91) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3, 36, 86) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3, 36) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3, 36, 107) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3, 36) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3, 36) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3, 36, 86, 91) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3, 36, 86) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3, 36, 107) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3, 36) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3, 36, 107) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3, 36) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3, 36, 86) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3, 36, 86, 87) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3, 36, 86, 87) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3, 36, 86) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3, 36, 86) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3, 36, 86) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3, 36, 86) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3, 36) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3, 36, 86) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3, 36, 86, 95) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3, 36, 86) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3, 36, 86, 92) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3, 36, 86) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3, 36, 86) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3, 36, 86) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3, 36, 86, 92) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3, 36, 86, 95) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3, 36, 86, 95) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3, 36, 86) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3, 36, 86, 92) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3, 36, 86) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3, 36, 86, 87) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3, 36, 86) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3, 36, 86, 87) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3, 36, 86) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3, 36) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3, 36, 86) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3, 36) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3, 160) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3, 49) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3, 160) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3, 49) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3, 54, 62) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3, 49) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3, 49) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3, 49) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3, 49) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3, 54, 62) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3, 49) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3, 49) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3, 49) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3, 59) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3, 49) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.8ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3, 49) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3, 153) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3, 49) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3, 54, 62) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3, 49) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3, 59) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3, 49) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3, 153) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3, 49) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3, 54) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3, 49) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3, 54, 62) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3, 49) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3, 59) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3, 49) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3, 49) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3, 49) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3, 49) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3, 25) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3, 49) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3, 160) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3, 59) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3, 59) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3, 59) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3, 59) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3, 59) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3, 59) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3, 59) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3, 59) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3, 59) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3, 59) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3, 160) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3, 160) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3, 160) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3, 160) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3, 59) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3, 160) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3, 59) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3, 160) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3, 59) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3, 59) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3, 59) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3, 59) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (1.4ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3, 59) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3, 25) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3, 153) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3, 153) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3, 25) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3, 25) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3, 25) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3, 25) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3, 153) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3, 25) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3, 54, 62) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3, 25) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3, 54, 62) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3, 25) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3, 25) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3, 54, 62) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3, 25) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3, 54, 62) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3, 25) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3, 54) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3, 25) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3, 54, 62) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3, 153) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3, 54, 62) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3, 153) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3, 54) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3, 153) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3, 153) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3, 54, 62) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3, 153) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3, 54, 62) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3, 153) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3, 153) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3, 153) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3, 54, 62) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3, 153) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3, 153) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3, 54, 62) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3, 54, 62) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3, 54, 62) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3, 153) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.1ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3, 54, 62) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3, 54, 62) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3, 54, 62) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3, 54) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3, 54, 62) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3, 54, 62) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3, 54, 62) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3, 54, 62) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3, 54, 62) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3, 54, 62) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3, 153) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3, 54) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3, 54) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3, 153) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3, 54, 62) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3, 54, 62) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3, 54) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3, 122) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3, 122) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3, 54, 145) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3, 54, 145) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3, 97) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3, 13) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3, 10) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3, 10) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.1ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3, 13) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3, 13) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3, 52, 137) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3, 28) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3, 28) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3, 54, 62) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3, 54, 145) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3, 54, 145) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.1ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3, 54, 62) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3, 54, 62) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3, 54, 145) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3, 54, 145) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3, 54, 145) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3, 38) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3, 54, 145) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3, 42) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3, 54) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3, 42) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3, 52) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3, 54, 62) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3, 54, 62) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3, 54, 62) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3, 42) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3, 54, 62) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3, 39) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3, 52) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3, 52) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3, 28) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3, 54, 62) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3, 39) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3, 39) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3, 54, 62) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3, 39) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3, 129, 130) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3, 129, 130) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3, 129) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3, 122) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3, 122) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3, 122) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3, 122) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3, 122) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3, 122) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3, 75) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3, 75) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3, 111) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.1ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3, 111, 114) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3, 111) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3, 111) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3, 111, 114) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3, 28) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3, 54, 62) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3, 54, 62) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3, 54, 62) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3, 39) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3, 54, 62) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3, 39) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3, 54, 62) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3, 39) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3, 54, 62) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3, 54, 62) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3, 39) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3, 54, 62) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3, 54, 145) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3, 54, 145) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3, 54, 62) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3, 54, 62) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3, 54, 145) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3, 54, 145) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3, 54, 145) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3, 54, 145) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3, 54) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3, 54, 62) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3, 54, 62) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3, 39) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3, 39) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3, 39) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3, 39) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3, 39) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3, 39) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3, 39) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3, 39) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3, 39) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3, 39) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3, 39) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3, 39) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3, 39) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3, 39) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3, 39) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3, 39) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3, 39) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3, 39) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3, 54, 62) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3, 54, 62) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3, 54, 62) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3, 54, 62) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3, 54, 62) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3, 54, 62) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3, 54, 62) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3, 54, 62) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3, 54) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3, 54, 62) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3, 54, 145) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3, 54, 62) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3, 54, 145) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3, 54, 62) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3, 54, 145) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3, 54, 62) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3, 54, 145) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3, 54, 62) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3, 54, 62) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3, 54, 62) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3, 54, 62) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3, 54, 62) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3, 54, 145) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3, 54, 62) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3, 54, 145) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3, 54, 62) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3, 54, 62) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3, 54, 62) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3, 54, 62) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3, 54, 62) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3, 54, 62) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3, 54, 62) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3, 54, 62) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3, 54, 62) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3, 54, 62) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3, 54, 145) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3, 54, 145) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3, 54, 62) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3, 54, 62) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3, 54, 62) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3, 54, 62) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3, 54, 62) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3, 54, 62) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3, 54, 62) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3, 54, 145) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3, 54, 62) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3, 54, 62) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3, 54, 62) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3, 54) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3, 54, 62) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3, 54, 145) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3, 54, 62) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3, 54, 145) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3, 54, 62) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3, 54, 145) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3, 54, 62) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3, 54, 145) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3, 54, 62) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3, 54, 62) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3, 54, 62) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3, 54, 62) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3, 54, 62) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3, 54, 62) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3, 54, 62) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3, 54, 62) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3, 54, 62) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3, 54, 62) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3, 54, 62) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3, 54, 62) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3, 54, 62) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3, 54, 62) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3, 54, 62) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3, 54, 145) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3, 54, 145) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3, 54, 145) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3, 54, 145) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3, 54, 145) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3, 54, 145) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3, 54, 62) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3, 54, 145) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3, 54, 145) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3, 54, 145) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3, 54, 62) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3, 54, 145) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3, 54, 145) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3, 54, 145) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3, 54, 145) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3, 54, 145) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3, 54) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3, 54, 145) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3, 54, 145) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3, 54, 145) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3, 54, 145) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3, 54, 145) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3, 54, 145) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3, 54, 62) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3, 54, 62) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3, 54) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3, 54, 145) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3, 54) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3, 54, 62) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3, 54) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3, 54, 145) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3, 54) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3, 54, 145) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3, 54, 145) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3, 54, 62) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3, 54, 62) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3, 28) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3, 111, 114) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3, 111) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3, 111) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3, 111, 114) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3, 111) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3, 13) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3, 75) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3, 75) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3, 122) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3, 122) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3, 122) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3, 122) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3, 122) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3, 122) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3, 129) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3, 129, 130) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3, 129, 130) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3, 10) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3, 10) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.1ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3, 28) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3, 52) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3, 52) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3, 13) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (1.4ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3, 42) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3, 42) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3, 52) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3, 42) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3, 38) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3, 13) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3, 97) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3, 28) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.1ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3, 28) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3, 52, 137) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3, 10) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3, 10) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3, 10) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3, 38) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3, 10) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.1ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3, 10) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3, 10) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3, 10) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3, 38) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3, 10) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3, 10) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3, 38) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3, 13) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3, 13) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3, 28) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.1ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3, 111, 114) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3, 52, 137) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3, 111) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3, 28) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3, 111) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3, 28) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3, 111, 114) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3, 97) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3, 13) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3, 111) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3, 13) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3, 75) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3, 75) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3, 42) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3, 122) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.1ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3, 52) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3, 42) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3, 122) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3, 42) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3, 122) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3, 122) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3, 52) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3, 52) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3, 28) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3, 122) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3, 122) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3, 129, 130) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3, 129) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3, 129, 130) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3, 13) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3, 75) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3, 75) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3, 129) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3, 13) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3, 129) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3, 28) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3, 129) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3, 129) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3, 129) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3, 129) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3, 129, 130) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3, 129) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3, 129, 130) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3, 129) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3, 28) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3, 129) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3, 129) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3, 42) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3, 129) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3, 28) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3, 129) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3, 42) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3, 129) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3, 28) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3, 129) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3, 42) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3, 129) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3, 13) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3, 129) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3, 129) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3, 129) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3, 75) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3, 129) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3, 13) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3, 129) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3, 75) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3, 42) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3, 42) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3, 75) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3, 75) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3, 75) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3, 42) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3, 75) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3, 75) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3, 42) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3, 75) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3, 75) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3, 75) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3, 42) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3, 42) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3, 42) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3, 42) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3, 42) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3, 42) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3, 42) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3, 13) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3, 13) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3, 13) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3, 13) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3, 13) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3, 13) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3, 13) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3, 13) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3, 28) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3, 13) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3, 28) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3, 13) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3, 129, 130) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3, 13) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3, 28) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3, 13) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3, 129, 130) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3, 13) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3, 13) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.1ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3, 28) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3, 13) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3, 28) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3, 28) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.2ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3, 28) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3, 28) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3, 28) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3, 28) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3, 28) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3, 28) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3, 28) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3, 28) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3, 28) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.1ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3, 13) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3, 13) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3, 13) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3, 129, 130) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3, 129, 130) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3, 13) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3, 13) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3, 129, 130) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3, 129, 130) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3, 129, 130) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3, 129, 130) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3, 122) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3, 122) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3, 122) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3, 52, 137) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3, 111, 114) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3, 122) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3, 111) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3, 52) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3, 111) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3, 52) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3, 97) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3, 111, 114) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3, 122) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3, 122) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3, 111) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3, 122) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3, 52) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3, 111) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.1ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3, 111) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3, 111, 114) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3, 111) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3, 111) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3, 111, 114) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.1ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3, 111) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3, 111) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3, 111) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3, 111, 114) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3, 111) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3, 111, 114) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3, 111) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3, 111) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3, 111) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3, 111) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3, 111, 114) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.1ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3, 111) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3, 111, 114) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3, 111) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3, 111) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3, 111, 114) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3, 111, 114) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3, 111, 114) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3, 111) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3, 52) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3, 52) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3, 52) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3, 122) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3, 52) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3, 122) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3, 52) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3, 52) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3, 52) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3, 122) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3, 52) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3, 122) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3, 52) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3, 122) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3, 52) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3, 97) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3, 52) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3, 52) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3, 52) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3, 52, 137) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.2ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3, 52) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3, 52) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3, 122) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3, 52) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3, 52) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3, 52) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3, 52) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3, 52) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3, 52, 137) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3, 52) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3, 52, 137) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3, 122) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3, 122) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3, 122) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3, 122) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3, 97) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3, 122) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3, 122) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3, 122) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3, 122) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3, 122) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3, 122) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3, 122) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3, 122) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3, 122) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3, 122) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3, 122) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3, 97) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3, 97) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3, 122) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3, 122) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3, 122) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3, 122) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3, 122) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3, 122) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3, 122) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3, 122) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3, 122) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3, 122) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3, 122) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3, 122) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3, 122) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3, 122) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.1ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3, 122) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3, 122) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3, 122) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3, 162) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3, 162) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3, 162) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3, 72) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3, 36) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3, 36, 86) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3, 36, 86, 87) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3, 36, 86) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3, 36, 86, 92) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3, 36, 86) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3, 36, 86, 95) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3, 36, 86, 95) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3, 36, 86) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3, 36, 86, 91) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3, 36) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3, 36, 107) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3, 36) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3, 158) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3, 59) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3, 59) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3, 59) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3, 160) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3, 49) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3, 25) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3, 153) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3, 153) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3, 54) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3, 54, 62) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3, 54, 62) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3, 54, 62) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3, 54, 62) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3, 54, 62) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3, 54, 62) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3, 54, 62) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3, 54, 62) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3, 54, 62) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3, 54, 62) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3, 54, 62) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3, 54, 62) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3, 54, 62) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3, 54, 62) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3, 54, 62) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3, 54) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3, 54, 145) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3, 54, 145) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3, 54, 145) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3, 54, 145) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3, 54, 145) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3, 54, 145) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3, 39) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3, 39) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3, 39) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3, 39) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3, 42) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3, 42) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3, 42) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3, 75) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3, 75) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3, 129) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3, 129, 130) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3, 129, 130) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3, 13) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3, 13) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3, 13) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3, 28) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3, 28) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3, 28) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3, 28) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3, 111) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3, 111) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3, 111) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3, 111, 114) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3, 111, 114) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3, 122) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3, 122) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3, 122) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3, 122) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3, 122) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3, 122) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3, 97) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3, 52) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3, 52) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3, 52) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3, 52, 137) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3, 38) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3, 10) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3, 10) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3) ORDER BY (case when hostgroups.ancestry is null then 0 else 1 end), hostgroups.ancestry Environment Load (1.6ms) SELECT `environments`.* FROM `environments` ORDER BY LOWER(environments.name) SmartProxy Load (1.7ms) SELECT `smart_proxies`.* FROM `smart_proxies` INNER JOIN `features_smart_proxies` ON `features_smart_proxies`.`smart_proxy_id` = `smart_proxies`.`id` INNER JOIN `features` ON `features`.`id` = `features_smart_proxies`.`feature_id` WHERE `features`.`name` = 'Puppet CA' ORDER BY LOWER(smart_proxies.name) SmartProxy Load (2.1ms) SELECT `smart_proxies`.* FROM `smart_proxies` INNER JOIN `features_smart_proxies` ON `features_smart_proxies`.`smart_proxy_id` = `smart_proxies`.`id` INNER JOIN `features` ON `features`.`id` = `features_smart_proxies`.`feature_id` WHERE `features`.`name` = 'Puppet' ORDER BY LOWER(smart_proxies.name) CACHE (0.0ms) SELECT `smart_proxies`.* FROM `smart_proxies` INNER JOIN `features_smart_proxies` ON `features_smart_proxies`.`smart_proxy_id` = `smart_proxies`.`id` INNER JOIN `features` ON `features`.`id` = `features_smart_proxies`.`feature_id` WHERE `features`.`name` = 'Puppet CA' ORDER BY LOWER(smart_proxies.name) CACHE (0.0ms) SELECT `smart_proxies`.* FROM `smart_proxies` INNER JOIN `features_smart_proxies` ON `features_smart_proxies`.`smart_proxy_id` = `smart_proxies`.`id` INNER JOIN `features` ON `features`.`id` = `features_smart_proxies`.`feature_id` WHERE `features`.`name` = 'Puppet' ORDER BY LOWER(smart_proxies.name) Puppetclass Load (2.2ms) SELECT `puppetclasses`.* FROM `puppetclasses` INNER JOIN `host_classes` ON `puppetclasses`.id = `host_classes`.puppetclass_id WHERE ((`host_classes`.host_id = 1475)) ORDER BY LOWER(puppetclasses.name) Rendered puppetclasses/_selectedClasses.html.erb (0.0ms) Hostgroup Load (2.6ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` = 79 LIMIT 1 Hostgroup Load (2.8ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3, 79) Puppetclass Load (1.8ms) SELECT `puppetclasses`.*, t0.hostgroup_id as the_parent_record_id FROM `puppetclasses` INNER JOIN `hostgroups_puppetclasses` t0 ON `puppetclasses`.id = t0.puppetclass_id WHERE (t0.hostgroup_id IN (3,79)) CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3, 79) CACHE (0.0ms) SELECT `puppetclasses`.*, t0.hostgroup_id as the_parent_record_id FROM `puppetclasses` INNER JOIN `hostgroups_puppetclasses` t0 ON `puppetclasses`.id = t0.puppetclass_id WHERE (t0.hostgroup_id IN (3,79)) Puppetclass Load (9.0ms) SELECT * FROM `puppetclasses` INNER JOIN `environments_puppetclasses` ON `puppetclasses`.id = `environments_puppetclasses`.puppetclass_id WHERE (`environments_puppetclasses`.environment_id = 16 ) ORDER BY LOWER(puppetclasses.name) Rendered puppetclasses/_classes.html.erb (2028.4ms) Rendered puppetclasses/_class_selection.html.erb (2112.0ms) Domain Load (1.3ms) SELECT * FROM `domains` INNER JOIN `user_domains` ON `domains`.id = `user_domains`.domain_id WHERE (`user_domains`.user_id = 54 ) ORDER BY LOWER(domains.name) Domain Load (1.4ms) SELECT `domains`.* FROM `domains` ORDER BY LOWER(domains.name) SQL (6.1ms) SELECT COUNT(*) FROM `subnets` INNER JOIN `subnet_domains` ON `subnets`.id = `subnet_domains`.subnet_id WHERE ((`subnet_domains`.domain_id = 1)) CACHE (0.0ms) SELECT COUNT(*) FROM `subnets` INNER JOIN `subnet_domains` ON `subnets`.id = `subnet_domains`.subnet_id WHERE ((`subnet_domains`.domain_id = 1)) Subnet Load (2.2ms) SELECT `subnets`.* FROM `subnets` INNER JOIN `subnet_domains` ON `subnets`.id = `subnet_domains`.subnet_id WHERE ((`subnet_domains`.domain_id = 1)) ORDER BY priority Rendered common/_domain.html.erb (368.3ms) Rendered hosts/_sp_subnet.html.erb (6.3ms) Architecture Load (1.3ms) SELECT `architectures`.* FROM `architectures` Operatingsystem Load (1.7ms) SELECT * FROM `operatingsystems` INNER JOIN `architectures_operatingsystems` ON `operatingsystems`.id = `architectures_operatingsystems`.operatingsystem_id WHERE (`architectures_operatingsystems`.architecture_id = 1 ) ORDER BY LOWER(operatingsystems.name) Rendered common/os_selection/_architecture.html.erb (20.1ms) Medium Load (2.0ms) SELECT * FROM `media` INNER JOIN `media_operatingsystems` ON `media`.id = `media_operatingsystems`.medium_id WHERE (`media_operatingsystems`.operatingsystem_id = 21 ) ORDER BY LOWER(media.name) Ptable Load (6.3ms) SELECT * FROM `ptables` INNER JOIN `operatingsystems_ptables` ON `ptables`.id = `operatingsystems_ptables`.ptable_id WHERE (`operatingsystems_ptables`.operatingsystem_id = 21 ) ORDER BY LOWER(ptables.name) Rendered common/os_selection/_operatingsystem.html.erb (67.1ms) Rendered hosts/_operating_system.erb (118.0ms) Rendered hosts/_unattended.html.erb (532.6ms) CommonParameter Load (1.5ms) SELECT `parameters`.* FROM `parameters` WHERE `parameters`.`type` = 'CommonParameter' DomainParameter Load (1.2ms) SELECT `parameters`.* FROM `parameters` WHERE `parameters`.`type` = 'DomainParameter' AND (`parameters`.reference_id = 1) OsParameter Load (1.2ms) SELECT `parameters`.* FROM `parameters` WHERE `parameters`.`type` = 'OsParameter' AND (`parameters`.reference_id = 21) CACHE (0.0ms) SELECT `hostgroups`.* FROM `hostgroups` WHERE `hostgroups`.`id` IN (3, 79) GroupParameter Load (1.2ms) SELECT `parameters`.* FROM `parameters` WHERE `parameters`.`type` = 'GroupParameter' AND (`parameters`.reference_id IN (3,79)) Rendered common_parameters/_inherited_parameters.erb (16.5ms) HostParameter Load (2.0ms) SELECT `parameters`.* FROM `parameters` WHERE `parameters`.`type` = 'HostParameter' AND (`parameters`.reference_id = 1475) Rendered common_parameters/_parameter.erb (7.7ms) Rendered common_parameters/_parameters.erb (238.4ms) User Load (2.1ms) SELECT `users`.* FROM `users` WHERE `users`.`id` = 9 LIMIT 1 User Load (2.8ms) SELECT `users`.* FROM `users` Usergroup Load (0.9ms) SELECT `usergroups`.* FROM `usergroups` ORDER BY LOWER(usergroups.name) Model Load (1.1ms) SELECT `models`.* FROM `models` ORDER BY LOWER(models.name) Rendered hosts/_form.html.erb (12744.2ms) Read fragment views/tabs_and_title_records-54 (0.4ms) Rendered home/_topbar.rhtml (1.3ms) Rendered hosts/edit.html.erb within layouts/application (12761.8ms) Completed 200 OK in 12818ms (Views: 12634.2ms | ActiveRecord: 148.1ms)