MySQL статистика (117)
Query Rows Time Cached
SET SESSION sql_mode = '' - 0.000051 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 23 0.002154 false
SELECT id, code FROM news_categories 4 0.008324 false
SHOW TABLES LIKE 'extrafields' 1 0.000414 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.000713 false
SHOW TABLES LIKE 'extrafields' 1 0.001266 false
update seo_settings set individual_seo_settings = 'a:0:{}' - 0.000422 false
SHOW TABLES LIKE 'extrafields' 1 0.000327 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 = '2') LIMIT 0, 1 1 0.001231 false
SHOW TABLES LIKE 'extrafields' 1 0.000278 false
SHOW TABLES LIKE 'extrafields' 1 0.000800 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-04-04 22:06:18' or publish_date is null) AND (news_posts.is_important_news != 1 or is_important_news is null) AND (news_posts.category_id='2') ORDER BY publish_date desc 1 0.005733 false
SHOW TABLES LIKE 'extrafields' 1 0.001177 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-04-04 22:06:18' or publish_date is null) AND (news_posts.is_important_news != 1 or is_important_news is null) AND (news_posts.category_id='2') ORDER BY publish_date desc LIMIT 0, 12 12 0.002890 false
SHOW TABLES LIKE 'extrafields' 1 0.000417 false
select * from donations where master_object_id = '49' and master_object_class = 'News_Post' 1 0.003552 false
SHOW TABLES LIKE 'extrafields' 1 0.001306 false
select * from donations where master_object_id = '48' and master_object_class = 'News_Post' 1 0.001954 false
SHOW TABLES LIKE 'extrafields' 1 0.001013 false
select * from donations where master_object_id = '47' and master_object_class = 'News_Post' 1 0.000582 false
SHOW TABLES LIKE 'extrafields' 1 0.001742 false
select * from donations where master_object_id = '46' and master_object_class = 'News_Post' 1 0.000996 false
SHOW TABLES LIKE 'extrafields' 1 0.000947 false
select * from donations where master_object_id = '45' and master_object_class = 'News_Post' 1 0.001704 false
SHOW TABLES LIKE 'extrafields' 1 0.000318 false
select * from donations where master_object_id = '44' and master_object_class = 'News_Post' 1 0.000881 false
SHOW TABLES LIKE 'extrafields' 1 0.000997 false
select * from donations where master_object_id = '43' and master_object_class = 'News_Post' 1 0.000834 false
SHOW TABLES LIKE 'extrafields' 1 0.000971 false
select * from donations where master_object_id = '42' and master_object_class = 'News_Post' 1 0.000877 false
SHOW TABLES LIKE 'extrafields' 1 0.000288 false
select * from donations where master_object_id = '13' and master_object_class = 'News_Post' 1 0.001555 false
SHOW TABLES LIKE 'extrafields' 1 0.000297 false
select * from donations where master_object_id = '12' and master_object_class = 'News_Post' 1 0.001075 false
SHOW TABLES LIKE 'extrafields' 1 0.001353 false
select * from donations where master_object_id = '11' and master_object_class = 'News_Post' 1 0.000654 false
SHOW TABLES LIKE 'extrafields' 1 0.000949 false
select * from donations where master_object_id = '10' and master_object_class = 'News_Post' 1 0.002129 false
SELECT * FROM extrafields WHERE object_class = 'News_Post' AND object_id in ('49', '48', '47', '46', '45', '44', '43', '42', '13', '12', '11', '10') 0 0.000320 false
SHOW TABLES LIKE 'extrafields' 1 0.001329 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 = '2') ORDER BY publish_date desc LIMIT 0, 1 0 0.001625 false
SHOW TABLES LIKE 'extrafields' 1 0.000833 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 = '2') LIMIT 0, 1 1 0.000547 false
SHOW TABLES LIKE 'extrafields' 1 0.001437 false
SHOW TABLES LIKE 'extrafields' 1 0.000804 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 = '49') AND (db_files.master_object_class='News_Post' and field='image') ORDER BY id 1 0.001130 false
SHOW TABLES LIKE 'extrafields' 1 0.000680 false
SHOW TABLES LIKE 'extrafields' 1 0.000773 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 = '2') LIMIT 0, 1 1 0.001130 false
SHOW TABLES LIKE 'extrafields' 1 0.000788 false
SHOW TABLES LIKE 'extrafields' 1 0.000834 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 = '48') AND (db_files.master_object_class='News_Post' and field='image') ORDER BY id 1 0.001325 false
SHOW TABLES LIKE 'extrafields' 1 0.000695 false
SHOW TABLES LIKE 'extrafields' 1 0.000254 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 = '2') LIMIT 0, 1 1 0.001139 false
SHOW TABLES LIKE 'extrafields' 1 0.000719 false
SHOW TABLES LIKE 'extrafields' 1 0.000854 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 = '47') AND (db_files.master_object_class='News_Post' and field='image') ORDER BY id 1 0.000883 false
SHOW TABLES LIKE 'extrafields' 1 0.000861 false
SHOW TABLES LIKE 'extrafields' 1 0.000245 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 = '2') LIMIT 0, 1 1 0.001079 false
SHOW TABLES LIKE 'extrafields' 1 0.000687 false
SHOW TABLES LIKE 'extrafields' 1 0.000868 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 = '46') AND (db_files.master_object_class='News_Post' and field='image') ORDER BY id 1 0.000880 false
SHOW TABLES LIKE 'extrafields' 1 0.000607 false
SHOW TABLES LIKE 'extrafields' 1 0.000224 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 = '2') LIMIT 0, 1 1 0.001142 false
SHOW TABLES LIKE 'extrafields' 1 0.000672 false
SHOW TABLES LIKE 'extrafields' 1 0.000839 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 = '45') AND (db_files.master_object_class='News_Post' and field='image') ORDER BY id 1 0.001486 false
SHOW TABLES LIKE 'extrafields' 1 0.000816 false
SHOW TABLES LIKE 'extrafields' 1 0.000724 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 = '2') LIMIT 0, 1 1 0.001651 false
SHOW TABLES LIKE 'extrafields' 1 0.000732 false
SHOW TABLES LIKE 'extrafields' 1 0.000785 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 = '44') AND (db_files.master_object_class='News_Post' and field='image') ORDER BY id 1 0.000818 false
SHOW TABLES LIKE 'extrafields' 1 0.000462 false
SHOW TABLES LIKE 'extrafields' 1 0.001275 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 = '2') LIMIT 0, 1 1 0.000508 false
SHOW TABLES LIKE 'extrafields' 1 0.001357 false
SHOW TABLES LIKE 'extrafields' 1 0.000756 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 = '43') AND (db_files.master_object_class='News_Post' and field='image') ORDER BY id 1 0.000471 false
SHOW TABLES LIKE 'extrafields' 1 0.001130 false
SHOW TABLES LIKE 'extrafields' 1 0.000648 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 = '2') LIMIT 0, 1 1 0.001201 false
SHOW TABLES LIKE 'extrafields' 1 0.000239 false
SHOW TABLES LIKE 'extrafields' 1 0.001222 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 = '42') AND (db_files.master_object_class='News_Post' and field='image') ORDER BY id 1 0.000817 false
SHOW TABLES LIKE 'extrafields' 1 0.000343 false
SHOW TABLES LIKE 'extrafields' 1 0.002043 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 = '2') LIMIT 0, 1 1 0.000503 false
SHOW TABLES LIKE 'extrafields' 1 0.000242 false
SHOW TABLES LIKE 'extrafields' 1 0.001259 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 = '13') AND (db_files.master_object_class='News_Post' and field='image') ORDER BY id 1 0.000454 false
SHOW TABLES LIKE 'extrafields' 1 0.000754 false
SHOW TABLES LIKE 'extrafields' 1 0.000740 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 = '2') LIMIT 0, 1 1 0.001044 false
SHOW TABLES LIKE 'extrafields' 1 0.000235 false
SHOW TABLES LIKE 'extrafields' 1 0.000527 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 = '12') AND (db_files.master_object_class='News_Post' and field='image') ORDER BY id 1 0.001261 false
SHOW TABLES LIKE 'extrafields' 1 0.000702 false
SHOW TABLES LIKE 'extrafields' 1 0.001500 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 = '2') LIMIT 0, 1 1 0.000455 false
SHOW TABLES LIKE 'extrafields' 1 0.000270 false
SHOW TABLES LIKE 'extrafields' 1 0.000957 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 = '11') AND (db_files.master_object_class='News_Post' and field='image') ORDER BY id 1 0.000440 false
SHOW TABLES LIKE 'extrafields' 1 0.000749 false
SHOW TABLES LIKE 'extrafields' 1 0.001293 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 = '2') LIMIT 0, 1 1 0.001018 false
SHOW TABLES LIKE 'extrafields' 1 0.000260 false
SHOW TABLES LIKE 'extrafields' 1 0.001299 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 = '10') AND (db_files.master_object_class='News_Post' and field='image') ORDER BY id 1 0.000575 false
SHOW TABLES LIKE 'extrafields' 1 0.001259 false
SHOW TABLES LIKE 'extrafields' 1 0.000490 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.000609 false
SHOW TABLES LIKE 'extrafields' 1 0.001082 false
select id, title, amount from donations where enable is not null order by priority desc, id desc 1 0.002426 false