MySQL статистика (13)
Query Rows Time Cached
SELECT seo_settings.* FROM seo_settings ORDER BY id desc LIMIT 0, 1 1 0,000083 false
update seo_settings set individual_seo_settings = 'a:0:{}' - 0,000252 false
SELECT (select group_concat(db_files.name ORDER BY 1 SEPARATOR ', ') from db_files where db_files.master_object_id = news_categories.id and (master_object_class='News_Category' and field='image')) as image_calculated, news_categories.* FROM news_categories WHERE (news_categories.code = 'news_ru') LIMIT 0, 1 1 0,000105 false
select distinct year(publish_date) from news_posts where category_id = '1' and published = 1 and publish_date is not null order by year(publish_date) desc 3 0,000070 false
SELECT count(*) FROM news_posts LEFT JOIN news_categories ON news_categories.id=news_posts.category_id WHERE (news_posts.published=1) AND (news_posts.publish_date <= '2019-12-13 23:23:36' or publish_date is null) AND (news_posts.category_id='1') ORDER BY publish_date desc 1 0,000598 false
SELECT (news_categories.code) as category_code, (select group_concat(news_posts_versions.created_at ORDER BY 1 SEPARATOR ', ') from news_posts_versions where news_posts_versions.post_id = news_posts.id) as versions_calculated, (select group_concat(db_files.id ORDER BY 1 SEPARATOR ', ') from db_files where db_files.master_object_id = news_posts.id and (master_object_class='News_Post' and field='photos')) as photos_calculated, news_posts.* FROM news_posts LEFT JOIN news_categories ON news_categories.id=news_posts.category_id WHERE (news_posts.published=1) AND (news_posts.publish_date <= '2019-12-13 23:23:36' or publish_date is null) AND (news_posts.category_id='1') ORDER BY publish_date desc LIMIT 20, 20 5 0,001005 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
SELECT admin_menus.* FROM admin_menus WHERE (admin_menus.code = 'groups_ru') LIMIT 0, 1 1 0,000089 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 = '7') 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,000107 false
SELECT admin_menus.* FROM admin_menus WHERE (admin_menus.code = 'main') LIMIT 0, 1 1 0,000095 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 7 0,000085 false
SELECT admin_menu_items.* FROM admin_menu_items ORDER BY sort_order 199 0,000234 false
SELECT admin_menus.* FROM admin_menus WHERE (admin_menus.id = '1') LIMIT 0, 1 1 0,000071 false