MySQL статистика (101)
Query Rows Time Cached
SET SESSION sql_mode = '' - 0.000032 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 28 0.002008 false
SELECT id, code FROM news_categories 5 0.000827 false
SHOW TABLES LIKE 'extrafields' 1 0.000459 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.000772 false
SHOW TABLES LIKE 'extrafields' 1 0.000405 false
update seo_settings set individual_seo_settings = 'a:0:{}' - 0.001604 false
SHOW TABLES LIKE 'extrafields' 1 0.000640 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, (select group_concat(extrafields.id ORDER BY 1 SEPARATOR ', ') from extrafields where extrafields.object_id = news_categories.id and (object_class='News_Category')) as extrafields_calculated, news_categories.* FROM news_categories WHERE (news_categories.id = '4') LIMIT 0, 1 1 0.000505 false
SHOW TABLES LIKE 'extrafields' 1 0.003073 false
SHOW TABLES LIKE 'extrafields' 1 0.000383 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 <= '2025-12-04 07:45:53' or publish_date is null) AND (news_posts.is_important_news != 1 or is_important_news is null) AND (news_posts.category_id='4') ORDER BY publish_date desc 1 0.001907 false
SHOW TABLES LIKE 'extrafields' 1 0.001355 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(extrafields.id ORDER BY 1 SEPARATOR ', ') from extrafields where extrafields.object_id = news_posts.id and (object_class='News_Post')) as extrafields_calculated, (select group_concat(db_files.name ORDER BY 1 SEPARATOR ', ') from db_files where db_files.master_object_id = news_posts.id and (master_object_class='News_Post' and field='document_files')) as document_files_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 <= '2025-12-04 07:45:53' or publish_date is null) AND (news_posts.is_important_news != 1 or is_important_news is null) AND (news_posts.category_id='4') ORDER BY publish_date desc LIMIT 0, 12 10 0.005069 false
SHOW TABLES LIKE 'extrafields' 1 0.000816 false
select * from donations where master_object_id = '116' and master_object_class = 'News_Post' 1 0.003254 false
SHOW TABLES LIKE 'extrafields' 1 0.000602 false
select * from donations where master_object_id = '112' and master_object_class = 'News_Post' 1 0.002148 false
SHOW TABLES LIKE 'extrafields' 1 0.001648 false
select * from donations where master_object_id = '96' and master_object_class = 'News_Post' 1 0.001273 false
SHOW TABLES LIKE 'extrafields' 1 0.001495 false
select * from donations where master_object_id = '92' and master_object_class = 'News_Post' 1 0.002481 false
SHOW TABLES LIKE 'extrafields' 1 0.001731 false
select * from donations where master_object_id = '97' and master_object_class = 'News_Post' 1 0.001713 false
SHOW TABLES LIKE 'extrafields' 1 0.000576 false
select * from donations where master_object_id = '87' and master_object_class = 'News_Post' 1 0.004190 false
SHOW TABLES LIKE 'extrafields' 1 0.000776 false
select * from donations where master_object_id = '41' and master_object_class = 'News_Post' 1 0.001173 false
SHOW TABLES LIKE 'extrafields' 1 0.002886 false
select * from donations where master_object_id = '38' and master_object_class = 'News_Post' 1 0.000702 false
SHOW TABLES LIKE 'extrafields' 1 0.007034 false
select * from donations where master_object_id = '35' and master_object_class = 'News_Post' 1 0.000848 false
SHOW TABLES LIKE 'extrafields' 1 0.001393 false
select * from donations where master_object_id = '34' and master_object_class = 'News_Post' 1 0.002363 false
SELECT * FROM extrafields WHERE object_class = 'News_Post' AND object_id in ('116', '112', '96', '92', '97', '87', '41', '38', '35', '34') 0 0.002019 false
SHOW TABLES LIKE 'extrafields' 1 0.001552 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(extrafields.id ORDER BY 1 SEPARATOR ', ') from extrafields where extrafields.object_id = news_posts.id and (object_class='News_Post')) as extrafields_calculated, (select group_concat(db_files.name ORDER BY 1 SEPARATOR ', ') from db_files where db_files.master_object_id = news_posts.id and (master_object_class='News_Post' and field='document_files')) as document_files_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 is_important_news=1) AND (news_posts.category_id = '4') ORDER BY publish_date desc LIMIT 0, 1 0 0.001454 false
SHOW TABLES LIKE 'extrafields' 1 0.002313 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, (select group_concat(extrafields.id ORDER BY 1 SEPARATOR ', ') from extrafields where extrafields.object_id = news_categories.id and (object_class='News_Category')) as extrafields_calculated, news_categories.* FROM news_categories WHERE (news_categories.id = '4') LIMIT 0, 1 1 0.001735 false
SHOW TABLES LIKE 'extrafields' 1 0.001918 false
SHOW TABLES LIKE 'extrafields' 1 0.001273 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 = '116') AND (db_files.master_object_class='News_Post' and field='image') ORDER BY id 1 0.001194 false
SHOW TABLES LIKE 'extrafields' 1 0.001862 false
SHOW TABLES LIKE 'extrafields' 1 0.004753 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, (select group_concat(extrafields.id ORDER BY 1 SEPARATOR ', ') from extrafields where extrafields.object_id = news_categories.id and (object_class='News_Category')) as extrafields_calculated, news_categories.* FROM news_categories WHERE (news_categories.id = '4') LIMIT 0, 1 1 0.001445 false
SHOW TABLES LIKE 'extrafields' 1 0.001212 false
SHOW TABLES LIKE 'extrafields' 1 0.000618 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 = '112') AND (db_files.master_object_class='News_Post' and field='image') ORDER BY id 1 0.001632 false
SHOW TABLES LIKE 'extrafields' 1 0.000687 false
SHOW TABLES LIKE 'extrafields' 1 0.004063 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, (select group_concat(extrafields.id ORDER BY 1 SEPARATOR ', ') from extrafields where extrafields.object_id = news_categories.id and (object_class='News_Category')) as extrafields_calculated, news_categories.* FROM news_categories WHERE (news_categories.id = '4') LIMIT 0, 1 1 0.001254 false
SHOW TABLES LIKE 'extrafields' 1 0.000834 false
SHOW TABLES LIKE 'extrafields' 1 0.001969 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 = '96') AND (db_files.master_object_class='News_Post' and field='image') ORDER BY id 1 0.000890 false
SHOW TABLES LIKE 'extrafields' 1 0.002998 false
SHOW TABLES LIKE 'extrafields' 1 0.003115 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, (select group_concat(extrafields.id ORDER BY 1 SEPARATOR ', ') from extrafields where extrafields.object_id = news_categories.id and (object_class='News_Category')) as extrafields_calculated, news_categories.* FROM news_categories WHERE (news_categories.id = '4') LIMIT 0, 1 1 0.000925 false
SHOW TABLES LIKE 'extrafields' 1 0.007491 false
SHOW TABLES LIKE 'extrafields' 1 0.001021 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 = '92') AND (db_files.master_object_class='News_Post' and field='image') ORDER BY id 1 0.000533 false
SHOW TABLES LIKE 'extrafields' 1 0.001523 false
SHOW TABLES LIKE 'extrafields' 1 0.001203 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, (select group_concat(extrafields.id ORDER BY 1 SEPARATOR ', ') from extrafields where extrafields.object_id = news_categories.id and (object_class='News_Category')) as extrafields_calculated, news_categories.* FROM news_categories WHERE (news_categories.id = '4') LIMIT 0, 1 1 0.001288 false
SHOW TABLES LIKE 'extrafields' 1 0.000507 false
SHOW TABLES LIKE 'extrafields' 1 0.000866 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 = '97') AND (db_files.master_object_class='News_Post' and field='image') ORDER BY id 1 0.000365 false
SHOW TABLES LIKE 'extrafields' 1 0.000220 false
SHOW TABLES LIKE 'extrafields' 1 0.003361 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, (select group_concat(extrafields.id ORDER BY 1 SEPARATOR ', ') from extrafields where extrafields.object_id = news_categories.id and (object_class='News_Category')) as extrafields_calculated, news_categories.* FROM news_categories WHERE (news_categories.id = '4') LIMIT 0, 1 1 0.000424 false
SHOW TABLES LIKE 'extrafields' 1 0.000218 false
SHOW TABLES LIKE 'extrafields' 1 0.000668 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 = '87') AND (db_files.master_object_class='News_Post' and field='image') ORDER BY id 1 0.000389 false
SHOW TABLES LIKE 'extrafields' 1 0.000458 false
SHOW TABLES LIKE 'extrafields' 1 0.001985 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, (select group_concat(extrafields.id ORDER BY 1 SEPARATOR ', ') from extrafields where extrafields.object_id = news_categories.id and (object_class='News_Category')) as extrafields_calculated, news_categories.* FROM news_categories WHERE (news_categories.id = '4') LIMIT 0, 1 1 0.000431 false
SHOW TABLES LIKE 'extrafields' 1 0.000332 false
SHOW TABLES LIKE 'extrafields' 1 0.000183 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 = '41') AND (db_files.master_object_class='News_Post' and field='image') ORDER BY id 1 0.000390 false
SHOW TABLES LIKE 'extrafields' 1 0.000319 false
SHOW TABLES LIKE 'extrafields' 1 0.002038 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, (select group_concat(extrafields.id ORDER BY 1 SEPARATOR ', ') from extrafields where extrafields.object_id = news_categories.id and (object_class='News_Category')) as extrafields_calculated, news_categories.* FROM news_categories WHERE (news_categories.id = '4') LIMIT 0, 1 1 0.000753 false
SHOW TABLES LIKE 'extrafields' 1 0.002888 false
SHOW TABLES LIKE 'extrafields' 1 0.002261 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 = '38') AND (db_files.master_object_class='News_Post' and field='image') ORDER BY id 1 0.000479 false
SHOW TABLES LIKE 'extrafields' 1 0.000991 false
SHOW TABLES LIKE 'extrafields' 1 0.001406 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, (select group_concat(extrafields.id ORDER BY 1 SEPARATOR ', ') from extrafields where extrafields.object_id = news_categories.id and (object_class='News_Category')) as extrafields_calculated, news_categories.* FROM news_categories WHERE (news_categories.id = '4') LIMIT 0, 1 1 0.001054 false
SHOW TABLES LIKE 'extrafields' 1 0.000767 false
SHOW TABLES LIKE 'extrafields' 1 0.001176 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 = '35') AND (db_files.master_object_class='News_Post' and field='image') ORDER BY id 1 0.000569 false
SHOW TABLES LIKE 'extrafields' 1 0.001038 false
SHOW TABLES LIKE 'extrafields' 1 0.002069 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, (select group_concat(extrafields.id ORDER BY 1 SEPARATOR ', ') from extrafields where extrafields.object_id = news_categories.id and (object_class='News_Category')) as extrafields_calculated, news_categories.* FROM news_categories WHERE (news_categories.id = '4') LIMIT 0, 1 1 0.000718 false
SHOW TABLES LIKE 'extrafields' 1 0.001425 false
SHOW TABLES LIKE 'extrafields' 1 0.001844 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 = '34') AND (db_files.master_object_class='News_Post' and field='image') ORDER BY id 1 0.001029 false
SHOW TABLES LIKE 'extrafields' 1 0.000645 false
SHOW TABLES LIKE 'extrafields' 1 0.000204 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.000932 false
SHOW TABLES LIKE 'extrafields' 1 0.000710 false
select id, title, amount from donations where enable is not null order by priority desc, id desc 2 0.004883 false