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

MySQL статистика (31)
Query Rows Time Cached
SET SESSION sql_mode = '' - 0.000068 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.001334 false
SELECT id, level, parent_id FROM catalog_categories WHERE hidden is null AND deleted is null ORDER BY level ASC 2 0.000465 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.000667 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.000410 false
SELECT * FROM extrafields WHERE object_class = 'Catalog_Product' AND object_id in ('1', '2', '3', '4', '5') 95 0.000336 false
SELECT catalog_categories.* FROM catalog_categories ORDER BY sort_order asc 2 0.000323 false
SELECT * FROM catalog_categories WHERE id = '2' AND deleted is null AND id in ('1', '2') 1 0.000183 false
SELECT * FROM catalog_categories WHERE id = '2' AND deleted is null AND id in ('1', '2') 1 0.000207 false
SELECT * FROM catalog_categories WHERE id = '2' AND deleted is null AND id in ('1', '2') 1 0.000154 false
SELECT * FROM catalog_categories WHERE id = '1' AND deleted is null AND id in ('1', '2') 1 0.000134 false
SELECT * FROM catalog_categories WHERE id = '1' AND deleted is null AND id in ('1', '2') 1 0.000129 false
SHOW TABLES LIKE 'extrafields' 1 0.000411 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.003008 false
SHOW TABLES LIKE 'extrafields' 1 0.000328 false
update seo_settings set individual_seo_settings = 'a:0:{}' - 0.000130 false
SHOW TABLES LIKE 'extrafields' 1 0.000249 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.000346 false
SHOW TABLES LIKE 'extrafields' 1 0.000277 false
SHOW TABLES LIKE 'extrafields' 1 0.000272 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.000300 false
SHOW TABLES LIKE 'extrafields' 1 0.000221 false
SHOW TABLES LIKE 'extrafields' 1 0.000282 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.000546 false
SHOW TABLES LIKE 'extrafields' 1 0.000251 false
SHOW TABLES LIKE 'extrafields' 1 0.000222 false
SHOW TABLES LIKE 'extrafields' 1 0.000333 false
SELECT admin_menu_items.* FROM admin_menu_items ORDER BY sort_order 18 0.000279 false
SHOW TABLES LIKE 'extrafields' 1 0.000276 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.000288 false
SHOW TABLES LIKE 'extrafields' 1 0.000308 false