Каталог продукции

MySQL статистика (59)
Query Rows Time Cached
SET SESSION sql_mode = '' - 0.000019 false
SELECT catalog_categories.* FROM catalog_categories ORDER BY sort_order asc 20 0.000104 false
SHOW TABLES LIKE 'extrafields' 1 0.000101 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.000132 false
SHOW TABLES LIKE 'extrafields' 1 0.000094 false
update seo_settings set individual_seo_settings = 'a:0:{}' - 0.000041 false
SHOW TABLES LIKE 'extrafields' 1 0.000089 false
SELECT (select group_concat(db_files.name ORDER BY 1 SEPARATOR ', ') from db_files where db_files.master_object_id = catalog_categories.id and (master_object_class='Catalog_Category' and field='image')) as image_calculated, (product_type_calculated_join.name) as product_type_calculated, (select group_concat(catalog_attributes.name ORDER BY 1 SEPARATOR ', ') from catalog_attributes, catalog_category_filters where catalog_attributes.id=catalog_category_filters.attribute_id and catalog_category_filters.category_id=catalog_categories.id) as filters_calculated, (select group_concat(extrafields.id ORDER BY 1 SEPARATOR ', ') from extrafields where extrafields.object_id = catalog_categories.id and (object_class='Catalog_Category')) as extrafields_calculated, catalog_categories.* FROM catalog_categories LEFT JOIN catalog_product_types as product_type_calculated_join ON product_type_calculated_join.id = catalog_categories.type_id WHERE (catalog_categories.id = '19') LIMIT 0, 1 1 0.000220 false
SHOW TABLES LIKE 'extrafields' 1 0.000097 false
SHOW TABLES LIKE 'extrafields' 1 0.000094 false
SELECT (select group_concat(extrafields.id ORDER BY 1 SEPARATOR ', ') from extrafields where extrafields.object_id = db_files.id and (object_class='Db_File')) as extrafields_calculated, db_files.* FROM db_files WHERE (db_files.master_object_id = '19') AND (db_files.master_object_class='Catalog_Category' and field='image') ORDER BY id 0 0.000121 false
SHOW TABLES LIKE 'extrafields' 1 0.000110 false
SELECT (select group_concat(db_files.name ORDER BY 1 SEPARATOR ', ') from db_files where db_files.master_object_id = catalog_categories.id and (master_object_class='Catalog_Category' and field='image')) as image_calculated, (product_type_calculated_join.name) as product_type_calculated, (select group_concat(catalog_attributes.name ORDER BY 1 SEPARATOR ', ') from catalog_attributes, catalog_category_filters where catalog_attributes.id=catalog_category_filters.attribute_id and catalog_category_filters.category_id=catalog_categories.id) as filters_calculated, (select group_concat(extrafields.id ORDER BY 1 SEPARATOR ', ') from extrafields where extrafields.object_id = catalog_categories.id and (object_class='Catalog_Category')) as extrafields_calculated, catalog_categories.* FROM catalog_categories LEFT JOIN catalog_product_types as product_type_calculated_join ON product_type_calculated_join.id = catalog_categories.type_id WHERE (catalog_categories.id = '19') LIMIT 0, 1 1 0.000214 false
SHOW TABLES LIKE 'extrafields' 1 0.000098 false
SHOW TABLES LIKE 'extrafields' 1 0.000094 false
SELECT (select group_concat(db_files.name ORDER BY 1 SEPARATOR ', ') from db_files where db_files.master_object_id = catalog_categories.id and (master_object_class='Catalog_Category' and field='image')) as image_calculated, (product_type_calculated_join.name) as product_type_calculated, (select group_concat(catalog_attributes.name ORDER BY 1 SEPARATOR ', ') from catalog_attributes, catalog_category_filters where catalog_attributes.id=catalog_category_filters.attribute_id and catalog_category_filters.category_id=catalog_categories.id) as filters_calculated, (select group_concat(extrafields.id ORDER BY 1 SEPARATOR ', ') from extrafields where extrafields.object_id = catalog_categories.id and (object_class='Catalog_Category')) as extrafields_calculated, catalog_categories.* FROM catalog_categories LEFT JOIN catalog_product_types as product_type_calculated_join ON product_type_calculated_join.id = catalog_categories.type_id WHERE (catalog_categories.id = '20') LIMIT 0, 1 1 0.000213 false
SHOW TABLES LIKE 'extrafields' 1 0.000098 false
SHOW TABLES LIKE 'extrafields' 1 0.000093 false
SELECT (select group_concat(extrafields.id ORDER BY 1 SEPARATOR ', ') from extrafields where extrafields.object_id = db_files.id and (object_class='Db_File')) as extrafields_calculated, db_files.* FROM db_files WHERE (db_files.master_object_id = '20') AND (db_files.master_object_class='Catalog_Category' and field='image') ORDER BY id 0 0.000120 false
SHOW TABLES LIKE 'extrafields' 1 0.000170 false
SELECT (select group_concat(db_files.name ORDER BY 1 SEPARATOR ', ') from db_files where db_files.master_object_id = catalog_categories.id and (master_object_class='Catalog_Category' and field='image')) as image_calculated, (product_type_calculated_join.name) as product_type_calculated, (select group_concat(catalog_attributes.name ORDER BY 1 SEPARATOR ', ') from catalog_attributes, catalog_category_filters where catalog_attributes.id=catalog_category_filters.attribute_id and catalog_category_filters.category_id=catalog_categories.id) as filters_calculated, (select group_concat(extrafields.id ORDER BY 1 SEPARATOR ', ') from extrafields where extrafields.object_id = catalog_categories.id and (object_class='Catalog_Category')) as extrafields_calculated, catalog_categories.* FROM catalog_categories LEFT JOIN catalog_product_types as product_type_calculated_join ON product_type_calculated_join.id = catalog_categories.type_id WHERE (catalog_categories.id = '20') LIMIT 0, 1 1 0.000373 false
SHOW TABLES LIKE 'extrafields' 1 0.000100 false
SHOW TABLES LIKE 'extrafields' 1 0.000097 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.000150 false
SHOW TABLES LIKE 'extrafields' 1 0.000093 false
SHOW TABLES LIKE 'extrafields' 1 0.000097 false
SELECT (menu_link_calculated_join.title) as menu_link_calculated, (select group_concat(extrafields.id ORDER BY 1 SEPARATOR ', ') from extrafields where extrafields.object_id = admin_text_blocks.id and (object_class='Admin_TextBlock')) as extrafields_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.000174 false
SHOW TABLES LIKE 'extrafields' 1 0.000095 false
SHOW TABLES LIKE 'extrafields' 1 0.000094 false
SELECT (menu_link_calculated_join.title) as menu_link_calculated, (select group_concat(extrafields.id ORDER BY 1 SEPARATOR ', ') from extrafields where extrafields.object_id = admin_text_blocks.id and (object_class='Admin_TextBlock')) as extrafields_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.000154 false
SHOW TABLES LIKE 'extrafields' 1 0.000094 false
SHOW TABLES LIKE 'extrafields' 1 0.000096 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.000134 false
SHOW TABLES LIKE 'extrafields' 1 0.000093 false
SHOW TABLES LIKE 'extrafields' 1 0.000092 false
SELECT (select group_concat(db_files.name 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='document_files')) as document_files_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 1 0.000211 false
SHOW TABLES LIKE 'extrafields' 1 0.000094 false
SELECT admin_menu_items.* FROM admin_menu_items ORDER BY sort_order 18 0.000089 false
SHOW TABLES LIKE 'extrafields' 1 0.000093 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.000123 false
SHOW TABLES LIKE 'extrafields' 1 0.000092 false
SHOW TABLES LIKE 'extrafields' 1 0.000091 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.000132 false
SHOW TABLES LIKE 'extrafields' 1 0.000092 false
SHOW TABLES LIKE 'extrafields' 1 0.000093 false
SELECT (select group_concat(db_files.name 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='document_files')) as document_files_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 1 0.000210 false
SHOW TABLES LIKE 'extrafields' 1 0.000095 false
SHOW TABLES LIKE 'extrafields' 1 0.000109 false
SELECT (menu_link_calculated_join.title) as menu_link_calculated, (select group_concat(extrafields.id ORDER BY 1 SEPARATOR ', ') from extrafields where extrafields.object_id = admin_text_blocks.id and (object_class='Admin_TextBlock')) as extrafields_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.000158 false
SHOW TABLES LIKE 'extrafields' 1 0.000097 false
SHOW TABLES LIKE 'extrafields' 1 0.000095 false
SELECT (menu_link_calculated_join.title) as menu_link_calculated, (select group_concat(extrafields.id ORDER BY 1 SEPARATOR ', ') from extrafields where extrafields.object_id = admin_text_blocks.id and (object_class='Admin_TextBlock')) as extrafields_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.000154 false
SHOW TABLES LIKE 'extrafields' 1 0.000095 false
SHOW TABLES LIKE 'extrafields' 1 0.000134 false
SELECT (menu_link_calculated_join.title) as menu_link_calculated, (select group_concat(extrafields.id ORDER BY 1 SEPARATOR ', ') from extrafields where extrafields.object_id = admin_text_blocks.id and (object_class='Admin_TextBlock')) as extrafields_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_partners') LIMIT 0, 1 1 0.000155 false
SHOW TABLES LIKE 'extrafields' 1 0.000095 false
SHOW TABLES LIKE 'extrafields' 1 0.000095 false
SELECT (menu_link_calculated_join.title) as menu_link_calculated, (select group_concat(extrafields.id ORDER BY 1 SEPARATOR ', ') from extrafields where extrafields.object_id = admin_text_blocks.id and (object_class='Admin_TextBlock')) as extrafields_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 = 'copyright') LIMIT 0, 1 1 0.000156 false
SHOW TABLES LIKE 'extrafields' 1 0.000095 false