Туры и экскурсии

MySQL статистика (31)
Query Rows Time Cached
SET SESSION sql_mode = '' - 0.000050 false
SELECT items.id, items.parent_id, items.title, items.is_hidden_in_menu, items.sort_order, items.href, menus.code as menu_code, menus.use_code_in_links as menu_code_in_links, blocks.id as block_id, blocks.code as block_code, blocks.description, blocks.content, blocks.template, blocks.block_type, f.id as image_id, f.disk_name as image_path FROM admin_menu_items as items LEFT JOIN admin_menus as menus ON menus.id = items.menu_id LEFT JOIN admin_text_blocks as blocks ON blocks.id = items.text_block_id LEFT JOIN db_files as f ON f.master_object_id = items.id AND f.master_object_class = 'Admin_MenuItem' AND f.field = 'image' WHERE items.is_hidden is null ORDER BY items.parent_id, items.sort_order 15 0.001589 false
SELECT id, level, parent_id FROM catalog_categories WHERE hidden is null AND deleted is null ORDER BY level ASC 2 0.000452 false
SELECT products.* FROM catalog_products as products WHERE products.hidden is null AND products.deleted is null AND products.category_id in ('1', '2') LIMIT 0, 101 5 0.000726 false
SELECT * FROM db_files as files WHERE master_object_class = 'Catalog_Product' AND master_object_id in ('1', '2', '3', '4', '5') 13 0.000884 false
SELECT * FROM extrafields WHERE object_class = 'Catalog_Product' AND object_id in ('1', '2', '3', '4', '5') 95 0.000359 false
SELECT catalog_categories.* FROM catalog_categories ORDER BY sort_order asc 2 0.000230 false
SELECT * FROM catalog_categories WHERE id = '2' AND deleted is null AND id in ('1', '2') 1 0.000264 false
SELECT * FROM catalog_categories WHERE id = '2' AND deleted is null AND id in ('1', '2') 1 0.000179 false
SELECT * FROM catalog_categories WHERE id = '2' AND deleted is null AND id in ('1', '2') 1 0.000164 false
SELECT * FROM catalog_categories WHERE id = '1' AND deleted is null AND id in ('1', '2') 1 0.000142 false
SELECT * FROM catalog_categories WHERE id = '1' AND deleted is null AND id in ('1', '2') 1 0.000140 false
SHOW TABLES LIKE 'extrafields' 1 0.000378 false
SELECT (select group_concat(extrafields.id ORDER BY 1 SEPARATOR ', ') from extrafields where extrafields.object_id = seo_settings.id and (object_class='Admin_SeoParams')) as extrafields_calculated, seo_settings.* FROM seo_settings ORDER BY id desc LIMIT 0, 1 1 0.000363 false
SHOW TABLES LIKE 'extrafields' 1 0.000220 false
update seo_settings set individual_seo_settings = 'a:0:{}' - 0.000140 false
SHOW TABLES LIKE 'extrafields' 1 0.000246 false
SELECT (select group_concat(extrafields.id ORDER BY 1 SEPARATOR ', ') from extrafields where extrafields.object_id = admin_module_settings.id and (object_class='Admin_ModuleSettings')) as extrafields_calculated, 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.000373 false
SHOW TABLES LIKE 'extrafields' 1 0.000203 false
SHOW TABLES LIKE 'extrafields' 1 0.000220 false
SELECT (select group_concat(extrafields.id ORDER BY 1 SEPARATOR ', ') from extrafields where extrafields.object_id = admin_menus.id and (object_class='Admin_Menu')) as extrafields_calculated, admin_menus.* FROM admin_menus WHERE (admin_menus.code = 'main') LIMIT 0, 1 1 0.000328 false
SHOW TABLES LIKE 'extrafields' 1 0.000251 false
SHOW TABLES LIKE 'extrafields' 1 0.000259 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, (select group_concat(extrafields.id ORDER BY 1 SEPARATOR ', ') from extrafields where extrafields.object_id = admin_menu_items.id and (object_class='Admin_MenuItem')) as extrafields_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 3 0.000565 false
SHOW TABLES LIKE 'extrafields' 1 0.000227 false
SHOW TABLES LIKE 'extrafields' 1 0.000225 false
SHOW TABLES LIKE 'extrafields' 1 0.000202 false
SELECT admin_menu_items.* FROM admin_menu_items ORDER BY sort_order 18 0.000216 false
SHOW TABLES LIKE 'extrafields' 1 0.000218 false
SELECT (select group_concat(extrafields.id ORDER BY 1 SEPARATOR ', ') from extrafields where extrafields.object_id = admin_menus.id and (object_class='Admin_Menu')) as extrafields_calculated, admin_menus.* FROM admin_menus WHERE (admin_menus.id = '1') LIMIT 0, 1 1 0.000248 false
SHOW TABLES LIKE 'extrafields' 1 0.000196 false