«Маячок», социально-реабилитационный центр для несовершеннолетних

MySQL статистика (14)
Query Rows Time Cached
SELECT * FROM moduleparams 0 0.000218 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 4 0.000579 false
select count(*) from events_events where year(first_date) > '2024' or year(second_date) > '2024' 1 0.001059 false
select count(*) from events_events where year(first_date) < '2024' or year(second_date) < '2024' 1 0.000925 false
DESCRIBE events_companies 2 0.000274 false
DESCRIBE events_events 12 0.000148 false
DESCRIBE seo_settings 7 0.000309 false
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.000098 false
SELECT (select group_concat(events_events.name ORDER BY 1 SEPARATOR ', ') from events_events, company_events where events_events.id=company_events.event_id and company_events.company_id=events_companies.id) as events_calculated, events_companies.* FROM events_companies WHERE (events_companies.id = '52') LIMIT 0, 1 1 0.000434 false
DESCRIBE db_files 17 0.000228 false
SELECT (select group_concat(db_files.name ORDER BY 1 SEPARATOR ', ') from db_files where db_files.master_object_id = events_events.id and (master_object_class='Events_Event' and field='image')) as image_calculated, events_events.* FROM events_events LEFT JOIN company_events ON events_events.id = company_events.event_id WHERE (company_events.company_id = '52') 1 0.000275 false
DESCRIBE admin_module_settings 4 0.000261 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.000126 false