MySQL статистика (117)
Query Rows Time Cached
SET SESSION sql_mode = '' - 0.000029 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.010210 false
SELECT id, code FROM news_categories 5 0.001283 false
SHOW TABLES LIKE 'extrafields' 1 0.000765 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.001991 false
SHOW TABLES LIKE 'extrafields' 1 0.000292 false
update seo_settings set individual_seo_settings = 'a:0:{}' - 0.000200 false
SHOW TABLES LIKE 'extrafields' 1 0.000258 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.001022 false
SHOW TABLES LIKE 'extrafields' 1 0.000202 false
SHOW TABLES LIKE 'extrafields' 1 0.000444 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-07-17 01:54:12' 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.004086 false
SHOW TABLES LIKE 'extrafields' 1 0.000262 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-07-17 01:54:12' 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 12 0.007984 false
SHOW TABLES LIKE 'extrafields' 1 0.000345 false
select * from donations where master_object_id = '112' and master_object_class = 'News_Post' 1 0.001948 false
SHOW TABLES LIKE 'extrafields' 1 0.000314 false
select * from donations where master_object_id = '96' and master_object_class = 'News_Post' 1 0.000532 false
SHOW TABLES LIKE 'extrafields' 1 0.000291 false
select * from donations where master_object_id = '92' and master_object_class = 'News_Post' 1 0.000209 false
SHOW TABLES LIKE 'extrafields' 1 0.000255 false
select * from donations where master_object_id = '97' and master_object_class = 'News_Post' 1 0.000197 false
SHOW TABLES LIKE 'extrafields' 1 0.000249 false
select * from donations where master_object_id = '87' and master_object_class = 'News_Post' 1 0.000169 false
SHOW TABLES LIKE 'extrafields' 1 0.000211 false
select * from donations where master_object_id = '73' and master_object_class = 'News_Post' 1 0.000149 false
SHOW TABLES LIKE 'extrafields' 1 0.000198 false
select * from donations where master_object_id = '66' and master_object_class = 'News_Post' 1 0.000144 false
SHOW TABLES LIKE 'extrafields' 1 0.000179 false
select * from donations where master_object_id = '52' and master_object_class = 'News_Post' 1 0.000251 false
SHOW TABLES LIKE 'extrafields' 1 0.000187 false
select * from donations where master_object_id = '41' and master_object_class = 'News_Post' 1 0.000161 false
SHOW TABLES LIKE 'extrafields' 1 0.000211 false
select * from donations where master_object_id = '40' and master_object_class = 'News_Post' 1 0.000147 false
SHOW TABLES LIKE 'extrafields' 1 0.000178 false
select * from donations where master_object_id = '38' and master_object_class = 'News_Post' 1 0.000154 false
SHOW TABLES LIKE 'extrafields' 1 0.000178 false
select * from donations where master_object_id = '37' and master_object_class = 'News_Post' 1 0.000144 false
SELECT * FROM extrafields WHERE object_class = 'News_Post' AND object_id in ('112', '96', '92', '97', '87', '73', '66', '52', '41', '40', '38', '37') 0 0.000264 false
SHOW TABLES LIKE 'extrafields' 1 0.000209 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.000726 false
SHOW TABLES LIKE 'extrafields' 1 0.000255 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.000386 false
SHOW TABLES LIKE 'extrafields' 1 0.000185 false
SHOW TABLES LIKE 'extrafields' 1 0.000178 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.000338 false
SHOW TABLES LIKE 'extrafields' 1 0.000184 false
SHOW TABLES LIKE 'extrafields' 1 0.000196 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.000326 false
SHOW TABLES LIKE 'extrafields' 1 0.000182 false
SHOW TABLES LIKE 'extrafields' 1 0.000164 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.000298 false
SHOW TABLES LIKE 'extrafields' 1 0.000181 false
SHOW TABLES LIKE 'extrafields' 1 0.000199 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.000427 false
SHOW TABLES LIKE 'extrafields' 1 0.000187 false
SHOW TABLES LIKE 'extrafields' 1 0.000203 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.000304 false
SHOW TABLES LIKE 'extrafields' 1 0.000170 false
SHOW TABLES LIKE 'extrafields' 1 0.000231 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.000380 false
SHOW TABLES LIKE 'extrafields' 1 0.000206 false
SHOW TABLES LIKE 'extrafields' 1 0.000238 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.000422 false
SHOW TABLES LIKE 'extrafields' 1 0.000234 false
SHOW TABLES LIKE 'extrafields' 1 0.000253 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.000441 false
SHOW TABLES LIKE 'extrafields' 1 0.000245 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 = 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.000406 false
SHOW TABLES LIKE 'extrafields' 1 0.000236 false
SHOW TABLES LIKE 'extrafields' 1 0.000244 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.000504 false
SHOW TABLES LIKE 'extrafields' 1 0.000240 false
SHOW TABLES LIKE 'extrafields' 1 0.000242 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 = '73') AND (db_files.master_object_class='News_Post' and field='image') ORDER BY id 1 0.000415 false
SHOW TABLES LIKE 'extrafields' 1 0.000239 false
SHOW TABLES LIKE 'extrafields' 1 0.000289 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.000441 false
SHOW TABLES LIKE 'extrafields' 1 0.000284 false
SHOW TABLES LIKE 'extrafields' 1 0.000242 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 = '66') AND (db_files.master_object_class='News_Post' and field='image') ORDER BY id 1 0.000422 false
SHOW TABLES LIKE 'extrafields' 1 0.000223 false
SHOW TABLES LIKE 'extrafields' 1 0.000243 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.000460 false
SHOW TABLES LIKE 'extrafields' 1 0.000235 false
SHOW TABLES LIKE 'extrafields' 1 0.000214 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 = '52') AND (db_files.master_object_class='News_Post' and field='image') ORDER BY id 1 0.000407 false
SHOW TABLES LIKE 'extrafields' 1 0.000205 false
SHOW TABLES LIKE 'extrafields' 1 0.000226 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.000417 false
SHOW TABLES LIKE 'extrafields' 1 0.000211 false
SHOW TABLES LIKE 'extrafields' 1 0.000229 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.007839 false
SHOW TABLES LIKE 'extrafields' 1 0.000328 false
SHOW TABLES LIKE 'extrafields' 1 0.000235 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.000486 false
SHOW TABLES LIKE 'extrafields' 1 0.000196 false
SHOW TABLES LIKE 'extrafields' 1 0.000177 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 = '40') AND (db_files.master_object_class='News_Post' and field='image') ORDER BY id 1 0.000336 false
SHOW TABLES LIKE 'extrafields' 1 0.000187 false
SHOW TABLES LIKE 'extrafields' 1 0.000182 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.000357 false
SHOW TABLES LIKE 'extrafields' 1 0.000180 false
SHOW TABLES LIKE 'extrafields' 1 0.000164 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.000325 false
SHOW TABLES LIKE 'extrafields' 1 0.000177 false
SHOW TABLES LIKE 'extrafields' 1 0.000195 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.000307 false
SHOW TABLES LIKE 'extrafields' 1 0.000178 false
SHOW TABLES LIKE 'extrafields' 1 0.000200 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 = '37') AND (db_files.master_object_class='News_Post' and field='image') ORDER BY id 1 0.000309 false
SHOW TABLES LIKE 'extrafields' 1 0.000201 false
SHOW TABLES LIKE 'extrafields' 1 0.000256 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.001705 false
SHOW TABLES LIKE 'extrafields' 1 0.000223 false
select id, title, amount from donations where enable is not null order by priority desc, id desc 2 0.000288 false