Query | Affected | Num. rows | Took (ms) | Actions |
---|
SELECT `Session`.`id`, `Session`.`data`, `Session`.`expires` FROM `hooh_live`.`cake_sessions` AS `Session` WHERE `id` = 'b2cifk35sduotu29g9hfhj7nn3' LIMIT 1 | 0 | 0 | 1 | maybe slow |
SELECT `UserSetting`.`id`, `UserSetting`.`name`, `UserSetting`.`name_public`, `UserSetting`.`value`, `UserSetting`.`type`, `UserSetting`.`category` FROM `hooh_live`.`user_settings` AS `UserSetting` WHERE 1 = 1 | 56 | 56 | 0 | |
SELECT `UserActivity`.`id`, `UserActivity`.`useragent`, `UserActivity`.`user_id`, `UserActivity`.`last_action`, `UserActivity`.`last_url`, `UserActivity`.`logout_time`, `UserActivity`.`user_browser`, `UserActivity`.`ip_address`, `UserActivity`.`logout`, `UserActivity`.`deleted`, `UserActivity`.`status`, `UserActivity`.`created`, `UserActivity`.`modified`, `User`.`id`, `User`.`parent_id`, `User`.`resort_id`, `User`.`fb_id`, `User`.`fb_access_token`, `User`.`twt_id`, `User`.`twt_access_token`, `User`.`twt_access_secret`, `User`.`ldn_id`, `User`.`mobile_udid`, `User`.`mobile_token`, `User`.`is_android`, `User`.`onsignal_token`, `User`.`user_group_id`, `User`.`username`, `User`.`slug`, `User`.`password`, `User`.`salt`, `User`.`change_password_code`, `User`.`email`, `User`.`name`, `User`.`first_name`, `User`.`last_name`, `User`.`active`, `User`.`email_verified`, `User`.`last_login`, `User`.`pending_agent`, `User`.`pending_vendor`, `User`.`by_admin`, `User`.`ip_address`, `User`.`profile_views`, `User`.`is_imported`, `User`.`referal`, `User`.`created`, `User`.`modified`, (CONCAT(`User`.`first_name`, " ", `User`.`last_name`)) AS `User__complete_name` FROM `hooh_live`.`user_activities` AS `UserActivity` LEFT JOIN `hooh_live`.`users` AS `User` ON (`UserActivity`.`user_id` = `User`.`id`) WHERE `UserActivity`.`useragent` = '29e8e2091e3e9dfa2b291ecad977d67cb2cifk35sduotu29g9hfhj7nn3' LIMIT 1 | 0 | 0 | 0 | |
SELECT `Country`.`id`, `Country`.`name` FROM `hooh_live`.`countries` AS `Country` WHERE 1 = 1 | 269 | 269 | 0 | |
SELECT `Region`.`id`, `Region`.`name` FROM `hooh_live`.`regions` AS `Region` WHERE 1 = 1 | 249 | 249 | 0 | |
SELECT `PlaceCategory`.`id`, `PlaceCategory`.`parent_id`, `PlaceCategory`.`category_icon_id`, `PlaceCategory`.`sort_order`, `PlaceCategory`.`lft`, `PlaceCategory`.`rght`, `PlaceCategory`.`name`, `PlaceCategory`.`slug`, `PlaceCategory`.`icon`, `PlaceCategory`.`active`, `PlaceCategory`.`modified`, `PlaceCategory`.`created`, `ParentCategory`.`id`, `ParentCategory`.`parent_id`, `ParentCategory`.`category_icon_id`, `ParentCategory`.`sort_order`, `ParentCategory`.`lft`, `ParentCategory`.`rght`, `ParentCategory`.`name`, `ParentCategory`.`slug`, `ParentCategory`.`icon`, `ParentCategory`.`active`, `ParentCategory`.`modified`, `ParentCategory`.`created`, `CategoryPicture`.`id`, `CategoryPicture`.`user_id`, `CategoryPicture`.`title`, `CategoryPicture`.`url`, `CategoryPicture`.`picture`, `CategoryPicture`.`active`, `CategoryPicture`.`sort_order`, `CategoryPicture`.`created`, `CategoryPicture`.`modified` FROM `hooh_live`.`place_categories` AS `PlaceCategory` LEFT JOIN `hooh_live`.`place_categories` AS `ParentCategory` ON (`PlaceCategory`.`parent_id` = `ParentCategory`.`id`) LEFT JOIN `hooh_live`.`category_pictures` AS `CategoryPicture` ON (`PlaceCategory`.`category_icon_id` = `CategoryPicture`.`id`) WHERE `PlaceCategory`.`slug` = 'travel-transport' LIMIT 1 | 1 | 1 | 0 | |
SELECT `ChildCategory`.`id`, `ChildCategory`.`parent_id`, `ChildCategory`.`category_icon_id`, `ChildCategory`.`sort_order`, `ChildCategory`.`lft`, `ChildCategory`.`rght`, `ChildCategory`.`name`, `ChildCategory`.`slug`, `ChildCategory`.`icon`, `ChildCategory`.`active`, `ChildCategory`.`modified`, `ChildCategory`.`created` FROM `hooh_live`.`place_categories` AS `ChildCategory` WHERE `ChildCategory`.`parent_id` = (14) | 0 | 0 | 0 | |
SELECT `Place`.`id`, `Place`.`name`, `Place`.`contact_name`, `Place`.`slug`, `Place`.`user_id`, `Place`.`resort_id`, `Place`.`place_category_id`, `Place`.`region_based_place`, `Place`.`region_id`, `Place`.`description`, `Place`.`background`, `Place`.`background_type`, `Place`.`email`, `Place`.`phone`, `Place`.`oh_from`, `Place`.`oh_to`, `Place`.`opening_hours`, `Place`.`facebook`, `Place`.`twitter`, `Place`.`google`, `Place`.`website`, `Place`.`location`, `Place`.`lat`, `Place`.`lng`, `Place`.`active`, `Place`.`vip`, `Place`.`status`, `Place`.`paid`, `Place`.`voucher_id`, `Place`.`views`, `Place`.`seo_title`, `Place`.`seo_description`, `Place`.`seo_keywords`, `Place`.`modified`, `Place`.`created`, `Place`.`averageRating` FROM `hooh_live`.`places` AS `Place` WHERE `Place`.`place_category_id` = (14) | 50 | 50 | 3 | maybe slow |
SELECT `Resort`.`id`, `Resort`.`radio_id`, `Resort`.`name`, `Resort`.`slug`, `Resort`.`user_id`, `Resort`.`region_based_resort`, `Resort`.`region_id`, `Resort`.`country_id`, `Resort`.`description`, `Resort`.`background`, `Resort`.`background_type`, `Resort`.`email`, `Resort`.`phone`, `Resort`.`uploadfile`, `Resort`.`facebook`, `Resort`.`twitter`, `Resort`.`google`, `Resort`.`website`, `Resort`.`location`, `Resort`.`location_weather`, `Resort`.`location_weather_WEOID`, `Resort`.`lat`, `Resort`.`lng`, `Resort`.`active`, `Resort`.`is_imported`, `Resort`.`featured`, `Resort`.`views`, `Resort`.`seo_title`, `Resort`.`seo_description`, `Resort`.`seo_keywords`, `Resort`.`modified`, `Resort`.`created`, `User`.`id`, `User`.`parent_id`, `User`.`resort_id`, `User`.`fb_id`, `User`.`fb_access_token`, `User`.`twt_id`, `User`.`twt_access_token`, `User`.`twt_access_secret`, `User`.`ldn_id`, `User`.`mobile_udid`, `User`.`mobile_token`, `User`.`is_android`, `User`.`onsignal_token`, `User`.`user_group_id`, `User`.`username`, `User`.`slug`, `User`.`password`, `User`.`salt`, `User`.`change_password_code`, `User`.`email`, `User`.`name`, `User`.`first_name`, `User`.`last_name`, `User`.`active`, `User`.`email_verified`, `User`.`last_login`, `User`.`pending_agent`, `User`.`pending_vendor`, `User`.`by_admin`, `User`.`ip_address`, `User`.`profile_views`, `User`.`is_imported`, `User`.`referal`, `User`.`created`, `User`.`modified`, (CONCAT(`User`.`first_name`, " ", `User`.`last_name`)) AS `User__complete_name`, `Region`.`id`, `Region`.`country_id`, `Region`.`name`, `Region`.`short_description`, `Region`.`active`, `Region`.`featured`, `Region`.`order`, `Region`.`picture`, `Region`.`modified`, `Region`.`created`, `Country`.`id`, `Country`.`cc_fips`, `Country`.`cc_iso`, `Country`.`tld`, `Country`.`name`, `Country`.`featured`, `Country`.`background`, `Country`.`order` FROM `hooh_live`.`resorts` AS `Resort` LEFT JOIN `hooh_live`.`users` AS `User` ON (`Resort`.`user_id` = `User`.`id`) LEFT JOIN `hooh_live`.`regions` AS `Region` ON (`Resort`.`region_id` = `Region`.`id`) LEFT JOIN `hooh_live`.`countries` AS `Country` ON (`Resort`.`country_id` = `Country`.`id`) WHERE ((`Resort`.`slug` = 'soldeu--el-tarter') OR (`Resort`.`slug` = 'Andorra') OR (`Resort`.`slug` = 'Andorra')) LIMIT 1 | 1 | 1 | 0 | |
SELECT `ResortPicture`.`id`, `ResortPicture`.`resort_id`, `ResortPicture`.`user_id`, `ResortPicture`.`title`, `ResortPicture`.`picture`, `ResortPicture`.`primary_picture`, `ResortPicture`.`active`, `ResortPicture`.`sort_order`, `ResortPicture`.`created`, `ResortPicture`.`modified` FROM `hooh_live`.`resort_pictures` AS `ResortPicture` WHERE `ResortPicture`.`resort_id` = (484) LIMIT 4 | 4 | 4 | 0 | |
SELECT `Place`.`id`, `Place`.`name`, `Place`.`contact_name`, `Place`.`slug`, `Place`.`user_id`, `Place`.`resort_id`, `Place`.`place_category_id`, `Place`.`region_based_place`, `Place`.`region_id`, `Place`.`description`, `Place`.`background`, `Place`.`background_type`, `Place`.`email`, `Place`.`phone`, `Place`.`oh_from`, `Place`.`oh_to`, `Place`.`opening_hours`, `Place`.`facebook`, `Place`.`twitter`, `Place`.`google`, `Place`.`website`, `Place`.`location`, `Place`.`lat`, `Place`.`lng`, `Place`.`active`, `Place`.`vip`, `Place`.`status`, `Place`.`paid`, `Place`.`voucher_id`, `Place`.`views`, `Place`.`seo_title`, `Place`.`seo_description`, `Place`.`seo_keywords`, `Place`.`modified`, `Place`.`created`, `Place`.`averageRating` FROM `hooh_live`.`places` AS `Place` WHERE `Place`.`active` = '1' AND `Place`.`resort_id` = 484 AND `Place`.`status` IS NULL AND `Place`.`paid` > 0 AND `Place`.`place_category_id` = 14 GROUP BY `Place`.`id` ORDER BY `Place`.`vip` desc, `Place`.`averageRating` desc, `Place`.`created` desc | 2 | 2 | 1 | maybe slow |
SELECT `Place`.`id`, `Place`.`place_category_id` FROM `hooh_live`.`places` AS `Place` WHERE `Place`.`active` = '1' AND `Place`.`resort_id` = 484 AND `Place`.`status` IS NULL GROUP BY `Place`.`place_category_id` | 10 | 10 | 0 | |
SELECT COUNT(*) AS `count` FROM `hooh_live`.`places` AS `Place` WHERE `Place`.`active` = '1' AND `Place`.`resort_id` = 484 | 1 | 1 | 0 | |
SELECT `PlaceCategory`.`id`, `PlaceCategory`.`parent_id`, `PlaceCategory`.`category_icon_id`, `PlaceCategory`.`sort_order`, `PlaceCategory`.`lft`, `PlaceCategory`.`rght`, `PlaceCategory`.`name`, `PlaceCategory`.`slug`, `PlaceCategory`.`icon`, `PlaceCategory`.`active`, `PlaceCategory`.`modified`, `PlaceCategory`.`created`, `ParentCategory`.`id`, `ParentCategory`.`parent_id`, `ParentCategory`.`category_icon_id`, `ParentCategory`.`sort_order`, `ParentCategory`.`lft`, `ParentCategory`.`rght`, `ParentCategory`.`name`, `ParentCategory`.`slug`, `ParentCategory`.`icon`, `ParentCategory`.`active`, `ParentCategory`.`modified`, `ParentCategory`.`created`, `CategoryPicture`.`id`, `CategoryPicture`.`user_id`, `CategoryPicture`.`title`, `CategoryPicture`.`url`, `CategoryPicture`.`picture`, `CategoryPicture`.`active`, `CategoryPicture`.`sort_order`, `CategoryPicture`.`created`, `CategoryPicture`.`modified` FROM `hooh_live`.`place_categories` AS `PlaceCategory` LEFT JOIN `hooh_live`.`place_categories` AS `ParentCategory` ON (`PlaceCategory`.`parent_id` = `ParentCategory`.`id`) LEFT JOIN `hooh_live`.`category_pictures` AS `CategoryPicture` ON (`PlaceCategory`.`category_icon_id` = `CategoryPicture`.`id`) WHERE `PlaceCategory`.`id` IN (3, 6, 8, 10, 13, 14, 20, 22, 24, 29) AND `PlaceCategory`.`active` = '1' | 10 | 10 | 0 | |
SELECT `ChildCategory`.`id`, `ChildCategory`.`parent_id`, `ChildCategory`.`category_icon_id`, `ChildCategory`.`sort_order`, `ChildCategory`.`lft`, `ChildCategory`.`rght`, `ChildCategory`.`name`, `ChildCategory`.`slug`, `ChildCategory`.`icon`, `ChildCategory`.`active`, `ChildCategory`.`modified`, `ChildCategory`.`created` FROM `hooh_live`.`place_categories` AS `ChildCategory` WHERE `ChildCategory`.`parent_id` IN (3, 6, 8, 10, 13, 14, 20, 22, 24, 29) | 0 | 0 | 0 | |
SELECT `Place`.`id`, `Place`.`name`, `Place`.`contact_name`, `Place`.`slug`, `Place`.`user_id`, `Place`.`resort_id`, `Place`.`place_category_id`, `Place`.`region_based_place`, `Place`.`region_id`, `Place`.`description`, `Place`.`background`, `Place`.`background_type`, `Place`.`email`, `Place`.`phone`, `Place`.`oh_from`, `Place`.`oh_to`, `Place`.`opening_hours`, `Place`.`facebook`, `Place`.`twitter`, `Place`.`google`, `Place`.`website`, `Place`.`location`, `Place`.`lat`, `Place`.`lng`, `Place`.`active`, `Place`.`vip`, `Place`.`status`, `Place`.`paid`, `Place`.`voucher_id`, `Place`.`views`, `Place`.`seo_title`, `Place`.`seo_description`, `Place`.`seo_keywords`, `Place`.`modified`, `Place`.`created`, `Place`.`averageRating` FROM `hooh_live`.`places` AS `Place` WHERE `Place`.`place_category_id` IN (3, 6, 8, 10, 13, 14, 20, 22, 24, 29) | 1036 | 1036 | 13 | |
SELECT `UserGroup`.`id`, `UserGroup`.`parent_id`, `UserGroup`.`name`, `UserGroup`.`alias_name`, `UserGroup`.`description`, `UserGroup`.`allowRegistration`, `UserGroup`.`created`, `UserGroup`.`modified` FROM `hooh_live`.`user_groups` AS `UserGroup` WHERE `allowRegistration` = 1 ORDER BY `name` ASC | 3 | 3 | 0 | |
SELECT `Resort`.`id`, `Resort`.`radio_id`, `Resort`.`name`, `Resort`.`slug`, `Resort`.`user_id`, `Resort`.`region_based_resort`, `Resort`.`region_id`, `Resort`.`country_id`, `Resort`.`description`, `Resort`.`background`, `Resort`.`background_type`, `Resort`.`email`, `Resort`.`phone`, `Resort`.`uploadfile`, `Resort`.`facebook`, `Resort`.`twitter`, `Resort`.`google`, `Resort`.`website`, `Resort`.`location`, `Resort`.`location_weather`, `Resort`.`location_weather_WEOID`, `Resort`.`lat`, `Resort`.`lng`, `Resort`.`active`, `Resort`.`is_imported`, `Resort`.`featured`, `Resort`.`views`, `Resort`.`seo_title`, `Resort`.`seo_description`, `Resort`.`seo_keywords`, `Resort`.`modified`, `Resort`.`created`, `Region`.`id`, `Region`.`country_id`, `Region`.`name`, `Region`.`short_description`, `Region`.`active`, `Region`.`featured`, `Region`.`order`, `Region`.`picture`, `Region`.`modified`, `Region`.`created`, `Country`.`id`, `Country`.`cc_fips`, `Country`.`cc_iso`, `Country`.`tld`, `Country`.`name`, `Country`.`featured`, `Country`.`background`, `Country`.`order` FROM `hooh_live`.`resorts` AS `Resort` LEFT JOIN `hooh_live`.`regions` AS `Region` ON (`Resort`.`region_id` = `Region`.`id`) LEFT JOIN `hooh_live`.`countries` AS `Country` ON (`Resort`.`country_id` = `Country`.`id`) WHERE `Resort`.`active` = '1' AND NOT (`Resort`.`background` IS NULL) GROUP BY `Resort`.`id` ORDER BY rand() ASC LIMIT 16 | 16 | 16 | 4 | maybe slow |