Южно‑Сахалинск, ул. Хабаровская д. 29 Б +7(4242) 461‑761 +7(4242) 390‑888 +7 984 139‑08‑88

Бронирование

 
MySQL статистика (30)
Query Rows Time Cached
SELECT * FROM moduleparams 9 0.000116 false
DESCRIBE seo_settings 7 0.000504 false
SELECT seo_settings.* FROM seo_settings ORDER BY id desc LIMIT 0, 1 1 0.000063 false
update seo_settings set individual_seo_settings = 'a:0:{}' - 0.000125 false
DESCRIBE admin_module_settings 4 0.000645 false
SELECT admin_module_settings.* FROM admin_module_settings WHERE (admin_module_settings.module_id='admin') AND (admin_module_settings.form_id='default') LIMIT 0, 1 1 0.000085 false
DESCRIBE admin_menus 5 0.000560 false
SELECT admin_menus.* FROM admin_menus WHERE (admin_menus.code = 'main') LIMIT 0, 1 1 0.000082 false
DESCRIBE admin_menu_items 15 0.000675 false
DESCRIBE db_files 17 0.000682 false
SELECT (select group_concat(db_files.id ORDER BY 1 SEPARATOR ', ') from db_files where db_files.master_object_id = admin_menu_items.id and (master_object_class='Admin_MenuItem' and field='photos')) as photos_calculated, admin_menu_items.* FROM admin_menu_items WHERE (admin_menu_items.menu_id = '1') AND (admin_menu_items.parent_id is null and (admin_menu_items.is_hidden is null or admin_menu_items.is_hidden=0) and (admin_menu_items.is_hidden_in_menu is null or admin_menu_items.is_hidden_in_menu=0)) ORDER BY group_name, sort_order 6 0.000095 false
SELECT admin_menu_items.* FROM admin_menu_items ORDER BY sort_order 38 0.000157 false
SELECT admin_menus.* FROM admin_menus WHERE (admin_menus.id = '1') LIMIT 0, 1 1 0.000114 false
SELECT admin_menus.* FROM admin_menus WHERE (admin_menus.code = 'main') LIMIT 0, 1 1 0.000083 false
SELECT (select group_concat(db_files.id ORDER BY 1 SEPARATOR ', ') from db_files where db_files.master_object_id = admin_menu_items.id and (master_object_class='Admin_MenuItem' and field='photos')) as photos_calculated, admin_menu_items.* FROM admin_menu_items WHERE (admin_menu_items.menu_id = '1') AND (admin_menu_items.parent_id is null and (admin_menu_items.is_hidden is null or admin_menu_items.is_hidden=0) and (admin_menu_items.is_hidden_in_menu is null or admin_menu_items.is_hidden_in_menu=0)) ORDER BY group_name, sort_order 6 0.000097 false
SELECT admin_menus.* FROM admin_menus WHERE (admin_menus.code = 'main') LIMIT 0, 1 1 0.000124 false
SELECT (select group_concat(db_files.id ORDER BY 1 SEPARATOR ', ') from db_files where db_files.master_object_id = admin_menu_items.id and (master_object_class='Admin_MenuItem' and field='photos')) as photos_calculated, admin_menu_items.* FROM admin_menu_items WHERE (admin_menu_items.menu_id = '1') AND (admin_menu_items.parent_id is null and (admin_menu_items.is_hidden is null or admin_menu_items.is_hidden=0) and (admin_menu_items.is_hidden_in_menu is null or admin_menu_items.is_hidden_in_menu=0)) ORDER BY group_name, sort_order 6 0.000111 false
DESCRIBE admin_text_blocks 11 0.000702 false
SELECT (menu_link_calculated_join.title) as menu_link_calculated, admin_text_blocks.* FROM admin_text_blocks LEFT JOIN admin_menu_items as menu_link_calculated_join ON menu_link_calculated_join.text_block_id = admin_text_blocks.id WHERE (admin_text_blocks.code = 'address') LIMIT 0, 1 1 0.000092 false
SELECT (menu_link_calculated_join.title) as menu_link_calculated, admin_text_blocks.* FROM admin_text_blocks LEFT JOIN admin_menu_items as menu_link_calculated_join ON menu_link_calculated_join.text_block_id = admin_text_blocks.id WHERE (admin_text_blocks.code = 'phone') LIMIT 0, 1 1 0.000126 false
SELECT (menu_link_calculated_join.title) as menu_link_calculated, admin_text_blocks.* FROM admin_text_blocks LEFT JOIN admin_menu_items as menu_link_calculated_join ON menu_link_calculated_join.text_block_id = admin_text_blocks.id WHERE (admin_text_blocks.code = 'fax') LIMIT 0, 1 1 0.000121 false
SELECT (menu_link_calculated_join.title) as menu_link_calculated, admin_text_blocks.* FROM admin_text_blocks LEFT JOIN admin_menu_items as menu_link_calculated_join ON menu_link_calculated_join.text_block_id = admin_text_blocks.id WHERE (admin_text_blocks.code = 'email') LIMIT 0, 1 1 0.000114 false
DESCRIBE banners 28 0.000844 false
DESCRIBE banners_categories 4 0.000489 false
SELECT (DATEDIFF(CURRENT_DATE(), date_enabled)) as days_enabled, (category_calculated_join.name) as category_calculated, (select group_concat(db_files.name ORDER BY 1 SEPARATOR ', ') from db_files where db_files.master_object_id = banners.id and (master_object_class='Banners_Banner' and field='image')) as image_calculated, (select group_concat(db_files.name ORDER BY 1 SEPARATOR ', ') from db_files where db_files.master_object_id = banners.id and (master_object_class='Banners_Banner' and field='flash_file')) as flash_file_calculated, banners.* FROM banners LEFT JOIN banners_categories as bc ON bc.id = banners.category_id LEFT JOIN banners_categories as category_calculated_join ON category_calculated_join.id = banners.category_id WHERE (bc.code = 'footer_banners') GROUP BY banners.position ORDER BY banners.sort_order desc, banners.id 2 0.001258 false
SELECT (DATEDIFF(CURRENT_DATE(), date_enabled)) as days_enabled, (category_calculated_join.name) as category_calculated, (select group_concat(db_files.name ORDER BY 1 SEPARATOR ', ') from db_files where db_files.master_object_id = banners.id and (master_object_class='Banners_Banner' and field='image')) as image_calculated, (select group_concat(db_files.name ORDER BY 1 SEPARATOR ', ') from db_files where db_files.master_object_id = banners.id and (master_object_class='Banners_Banner' and field='flash_file')) as flash_file_calculated, banners.* FROM banners LEFT JOIN banners_categories as category_calculated_join ON category_calculated_join.id = banners.category_id WHERE (banners.position='2') AND (( exposure_limit_type is NULL or exposure_limit_type = 0 or (exposure_limit_type = 1 and period_start >= CURRENT_DATE() and period_end <= CURRENT_DATE()) or (exposure_limit_type = 2 and hits_left > 0) )) 1 0.000846 false
SELECT (DATEDIFF(CURRENT_DATE(), date_enabled)) as days_enabled, (category_calculated_join.name) as category_calculated, (select group_concat(db_files.name ORDER BY 1 SEPARATOR ', ') from db_files where db_files.master_object_id = banners.id and (master_object_class='Banners_Banner' and field='image')) as image_calculated, (select group_concat(db_files.name ORDER BY 1 SEPARATOR ', ') from db_files where db_files.master_object_id = banners.id and (master_object_class='Banners_Banner' and field='flash_file')) as flash_file_calculated, banners.* FROM banners LEFT JOIN banners_categories as category_calculated_join ON category_calculated_join.id = banners.category_id WHERE (banners.position='1') AND (( exposure_limit_type is NULL or exposure_limit_type = 0 or (exposure_limit_type = 1 and period_start >= CURRENT_DATE() and period_end <= CURRENT_DATE()) or (exposure_limit_type = 2 and hits_left > 0) )) 1 0.000821 false
update banners set impression_number = impression_number+1 where id in ('2', '1') - 0.000195 false
SELECT db_files.* FROM db_files WHERE (db_files.master_object_id = '2') AND (db_files.master_object_class='Banners_Banner' and field='image') ORDER BY id 1 0.000096 false
SELECT db_files.* FROM db_files WHERE (db_files.master_object_id = '1') AND (db_files.master_object_class='Banners_Banner' and field='image') ORDER BY id 1 0.000092 false