Query | Affected | Num. rows | Took (ms) | Actions |
---|
SELECT `Session`.`id`, `Session`.`data`, `Session`.`expires` FROM `hooh_live`.`cake_sessions` AS `Session` WHERE `id` = 'i1a3u3g9tdtjqkv4cg01afh1m1' 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` = '29e8e2091e3e9dfa2b291ecad977d67ci1a3u3g9tdtjqkv4cg01afh1m1' 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 `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` = 'st-jamess-resort-antigua') OR (`Resort`.`slug` = 'Antigua') OR (`Resort`.`slug` = 'Antigua and Barbuda')) 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` = (723) 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`.`slug` = 'coco-beach-restaurant-bar-1018' LIMIT 1 | 1 | 1 | 2 | maybe slow |
SELECT `PlacePicture`.`id`, `PlacePicture`.`place_id`, `PlacePicture`.`user_id`, `PlacePicture`.`title`, `PlacePicture`.`picture`, `PlacePicture`.`primary_picture`, `PlacePicture`.`active`, `PlacePicture`.`sort_order`, `PlacePicture`.`created`, `PlacePicture`.`modified` FROM `hooh_live`.`place_pictures` AS `PlacePicture` WHERE `PlacePicture`.`active` = '1' AND `PlacePicture`.`place_id` = (1018) | 1 | 1 | 1 | |
SELECT `UserNotification`.`id`, `UserNotification`.`user_id`, `UserNotification`.`holiday_id`, `UserNotification`.`resort_id`, `UserNotification`.`place_id`, `UserNotification`.`event_id`, `UserNotification`.`offer_id`, `UserNotification`.`excursion_id`, `UserNotification`.`model_name`, `UserNotification`.`type`, `UserNotification`.`status`, `UserNotification`.`read`, `UserNotification`.`modified`, `UserNotification`.`created` FROM `hooh_live`.`user_notifications` AS `UserNotification` WHERE `UserNotification`.`type` = 'follow' AND `UserNotification`.`place_id` = (1018) | 0 | 0 | 4 | maybe slow |
SELECT `Review`.`id`, `Review`.`user_id`, `Review`.`resort_id`, `Review`.`place_id`, `Review`.`event_id`, `Review`.`review`, `Review`.`stars`, `Review`.`active`, `Review`.`modified`, `Review`.`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`, `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`.`reviews` AS `Review` LEFT JOIN `hooh_live`.`users` AS `User` ON (`Review`.`user_id` = `User`.`id`) LEFT JOIN `hooh_live`.`places` AS `Place` ON (`Review`.`place_id` = `Place`.`id`) WHERE `Review`.`place_id` = 1018 ORDER BY `Review`.`created` DESC | 0 | 0 | 1 | maybe slow |
SELECT `Event`.`id`, `Event`.`name`, `Event`.`subtitle`, `Event`.`slug`, `Event`.`user_id`, `Event`.`place_id`, `Event`.`resort_id`, `Event`.`event_category_id`, `Event`.`region_based_event`, `Event`.`region_id`, `Event`.`description`, `Event`.`background`, `Event`.`background_type`, `Event`.`event_start`, `Event`.`event_end`, `Event`.`recurring_event`, `Event`.`recurring_event_type`, `Event`.`recurring_event_times`, `Event`.`recurring_event_dates`, `Event`.`entrance_price`, `Event`.`email`, `Event`.`phone`, `Event`.`facebook`, `Event`.`twitter`, `Event`.`google`, `Event`.`website`, `Event`.`location`, `Event`.`lat`, `Event`.`lng`, `Event`.`active`, `Event`.`vip`, `Event`.`status`, `Event`.`views`, `Event`.`seo_title`, `Event`.`seo_description`, `Event`.`seo_keywords`, `Event`.`modified`, `Event`.`created`, `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`.`events` AS `Event` LEFT JOIN `hooh_live`.`places` AS `Place` ON (`Event`.`place_id` = `Place`.`id`) WHERE `Event`.`active` = '1' AND `Event`.`status` IS NULL AND `Event`.`place_id` = 1018 ORDER BY rand() ASC LIMIT 3 | 0 | 0 | 1 | maybe slow |
SELECT `Offer`.`id`, `Offer`.`name`, `Offer`.`title`, `Offer`.`slug`, `Offer`.`user_id`, `Offer`.`event_id`, `Offer`.`place_id`, `Offer`.`resort_id`, `Offer`.`background`, `Offer`.`description`, `Offer`.`status`, `Offer`.`featured`, `Offer`.`payment`, `Offer`.`highlight`, `Offer`.`location`, `Offer`.`lat`, `Offer`.`lng`, `Offer`.`qr_code_autogenerated`, `Offer`.`qr_code`, `Offer`.`offer_filename`, `Offer`.`start_date`, `Offer`.`end_date`, `Offer`.`views`, `Offer`.`seo_title`, `Offer`.`seo_description`, `Offer`.`seo_keywords`, `Offer`.`modified`, `Offer`.`created`, `Offer`.`count`, `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`, `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`, `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`, `Event`.`id`, `Event`.`name`, `Event`.`subtitle`, `Event`.`slug`, `Event`.`user_id`, `Event`.`place_id`, `Event`.`resort_id`, `Event`.`event_category_id`, `Event`.`region_based_event`, `Event`.`region_id`, `Event`.`description`, `Event`.`background`, `Event`.`background_type`, `Event`.`event_start`, `Event`.`event_end`, `Event`.`recurring_event`, `Event`.`recurring_event_type`, `Event`.`recurring_event_times`, `Event`.`recurring_event_dates`, `Event`.`entrance_price`, `Event`.`email`, `Event`.`phone`, `Event`.`facebook`, `Event`.`twitter`, `Event`.`google`, `Event`.`website`, `Event`.`location`, `Event`.`lat`, `Event`.`lng`, `Event`.`active`, `Event`.`vip`, `Event`.`status`, `Event`.`views`, `Event`.`seo_title`, `Event`.`seo_description`, `Event`.`seo_keywords`, `Event`.`modified`, `Event`.`created` FROM `hooh_live`.`offers` AS `Offer` LEFT JOIN `hooh_live`.`users` AS `User` ON (`Offer`.`user_id` = `User`.`id`) LEFT JOIN `hooh_live`.`places` AS `Place` ON (`Offer`.`place_id` = `Place`.`id`) LEFT JOIN `hooh_live`.`resorts` AS `Resort` ON (`Offer`.`resort_id` = `Resort`.`id`) LEFT JOIN `hooh_live`.`events` AS `Event` ON (`Offer`.`event_id` = `Event`.`id`) WHERE `Offer`.`status` = 'active' AND `Offer`.`end_date` > '2018-04-25 01:40:32' AND `Offer`.`place_id` = 1018 ORDER BY rand() ASC LIMIT 3 | 0 | 0 | 1 | maybe slow |
UPDATE places SET views=views+1, modified=NOW() WHERE id=1018 | 1 | 1 | 2 | maybe slow |
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 |