Адрес:
693 009, Южно-Сахалинск,
Коммунистический пр.,
д. 39, корпус Б, офис 401.

Телефон/Факс:
8 (4242) 42-42-90, 8 (4242) 42-42-91
8 (4242) 42-42-95, 8 (4242) 42-42-96
Эл. почта: o.p.sakhalin@mail.ru 

Мероприятия

MySQL статистика (43)
Query Rows Time Cached
SELECT * FROM moduleparams 9 0.000063 false
select id from news_categories where code = 'announcements' 1 0.000046 false
DESCRIBE news_posts 16 0.000438 false
DESCRIBE news_posts_versions 15 0.000301 false
DESCRIBE seo_settings 7 0.000263 false
SELECT seo_settings.* FROM seo_settings ORDER BY id desc LIMIT 0, 1 1 0.000047 false
update seo_settings set individual_seo_settings = 'a:0:{}' - 0.000095 false
DESCRIBE tags_tags 2 0.000235 false
DESCRIBE events_events 7 0.000275 false
DESCRIBE db_files 17 0.000302 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(tags_tags.title ORDER BY 1 SEPARATOR ', ') from tags_tags, tags_relations where tags_tags.id=tags_relations.tag_id and tags_relations.object_id=news_posts.id and (tags_relations.object_name='News_Post')) as tags_calculated, (select group_concat(events_events.event_date ORDER BY 1 SEPARATOR ', ') from events_events where events_events.object_id = news_posts.id and (object_name='News_Post')) as events_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 events_events as ev ON ev.object_id = news_posts.id and ev.object_name = 'News_Post' LEFT JOIN news_categories ON news_categories.id=news_posts.category_id WHERE (news_posts.category_id = '2') AND (date(ev.event_date) >= '2017-10-20 00:00:00' or date(ev.event_end_date) >= '2017-10-20 00:00:00') AND (news_posts.published = 1) GROUP BY news_posts.id ORDER BY ev.event_date desc 3 0.000091 false
SELECT tags_tags.* FROM tags_tags LEFT JOIN tags_relations ON tags_tags.id = tags_relations.tag_id WHERE (tags_relations.object_id = '1154') AND (tags_relations.object_name='News_Post') 0 0.000064 false
SELECT tags_tags.* FROM tags_tags LEFT JOIN tags_relations ON tags_tags.id = tags_relations.tag_id WHERE (tags_relations.object_id = '1174') AND (tags_relations.object_name='News_Post') 0 0.000056 false
SELECT tags_tags.* FROM tags_tags LEFT JOIN tags_relations ON tags_tags.id = tags_relations.tag_id WHERE (tags_relations.object_id = '1184') AND (tags_relations.object_name='News_Post') 0 0.000065 false
select count(*) from (SELECT count(DISTINCT news_posts.id) FROM news_posts LEFT JOIN events_events as ev ON ev.object_id = news_posts.id and ev.object_name = 'News_Post' LEFT JOIN news_categories ON news_categories.id=news_posts.category_id WHERE (news_posts.category_id = '2') AND (date(ev.event_date) < '2017-10-20 00:00:00' or date(ev.event_end_date) < '2017-10-20 00:00:00') AND (news_posts.published = 1) GROUP BY news_posts.id ORDER BY ev.event_date desc) internal__query 1 0.000053 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(tags_tags.title ORDER BY 1 SEPARATOR ', ') from tags_tags, tags_relations where tags_tags.id=tags_relations.tag_id and tags_relations.object_id=news_posts.id and (tags_relations.object_name='News_Post')) as tags_calculated, (select group_concat(events_events.event_date ORDER BY 1 SEPARATOR ', ') from events_events where events_events.object_id = news_posts.id and (object_name='News_Post')) as events_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 events_events as ev ON ev.object_id = news_posts.id and ev.object_name = 'News_Post' LEFT JOIN news_categories ON news_categories.id=news_posts.category_id WHERE (news_posts.category_id = '2') AND (date(ev.event_date) < '2017-10-20 00:00:00' or date(ev.event_end_date) < '2017-10-20 00:00:00') AND (news_posts.published = 1) GROUP BY news_posts.id ORDER BY ev.event_date desc LIMIT 0, 6 6 0.014925 false
SELECT tags_tags.* FROM tags_tags LEFT JOIN tags_relations ON tags_tags.id = tags_relations.tag_id WHERE (tags_relations.object_id = '1175') AND (tags_relations.object_name='News_Post') 0 0.000062 false
SELECT tags_tags.* FROM tags_tags LEFT JOIN tags_relations ON tags_tags.id = tags_relations.tag_id WHERE (tags_relations.object_id = '1178') AND (tags_relations.object_name='News_Post') 0 0.000207 false
SELECT tags_tags.* FROM tags_tags LEFT JOIN tags_relations ON tags_tags.id = tags_relations.tag_id WHERE (tags_relations.object_id = '1141') AND (tags_relations.object_name='News_Post') 0 0.000053 false
SELECT tags_tags.* FROM tags_tags LEFT JOIN tags_relations ON tags_tags.id = tags_relations.tag_id WHERE (tags_relations.object_id = '1164') AND (tags_relations.object_name='News_Post') 0 0.000058 false
SELECT tags_tags.* FROM tags_tags LEFT JOIN tags_relations ON tags_tags.id = tags_relations.tag_id WHERE (tags_relations.object_id = '1158') AND (tags_relations.object_name='News_Post') 0 0.000203 false
SELECT tags_tags.* FROM tags_tags LEFT JOIN tags_relations ON tags_tags.id = tags_relations.tag_id WHERE (tags_relations.object_id = '1159') AND (tags_relations.object_name='News_Post') 0 0.000051 false
SELECT db_files.* FROM db_files WHERE (db_files.master_object_id = '1154') AND (db_files.master_object_class='News_Post' and field='image') ORDER BY id 1 0.000049 false
SELECT db_files.* FROM db_files WHERE (db_files.master_object_id = '1174') AND (db_files.master_object_class='News_Post' and field='image') ORDER BY id 1 0.000047 false
SELECT db_files.* FROM db_files WHERE (db_files.master_object_id = '1184') AND (db_files.master_object_class='News_Post' and field='image') ORDER BY id 1 0.000048 false
SELECT db_files.* FROM db_files WHERE (db_files.master_object_id = '1175') AND (db_files.master_object_class='News_Post' and field='image') ORDER BY id 1 0.000044 false
SELECT db_files.* FROM db_files WHERE (db_files.master_object_id = '1178') AND (db_files.master_object_class='News_Post' and field='image') ORDER BY id 1 0.000204 false
SELECT db_files.* FROM db_files WHERE (db_files.master_object_id = '1141') AND (db_files.master_object_class='News_Post' and field='image') ORDER BY id 1 0.000079 false
SELECT db_files.* FROM db_files WHERE (db_files.master_object_id = '1164') AND (db_files.master_object_class='News_Post' and field='image') ORDER BY id 1 0.000047 false
SELECT db_files.* FROM db_files WHERE (db_files.master_object_id = '1158') AND (db_files.master_object_class='News_Post' and field='image') ORDER BY id 1 0.000206 false
SELECT db_files.* FROM db_files WHERE (db_files.master_object_id = '1159') AND (db_files.master_object_class='News_Post' and field='image') ORDER BY id 1 0.000045 false
DESCRIBE admin_module_settings 4 0.000332 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.000043 false
DESCRIBE admin_text_blocks 11 0.000252 false
DESCRIBE admin_menu_items 14 0.000267 false
SELECT (menu_link_calculated_join.title) as menu_link_calculated, admin_text_blocks.* FROM admin_text_blocks LEFT JOIN admin_menu_items as menu_link_calculated_join ON menu_link_calculated_join.text_block_id = admin_text_blocks.id WHERE (admin_text_blocks.code = 'address') LIMIT 0, 1 1 0.000045 false
SELECT (menu_link_calculated_join.title) as menu_link_calculated, admin_text_blocks.* FROM admin_text_blocks LEFT JOIN admin_menu_items as menu_link_calculated_join ON menu_link_calculated_join.text_block_id = admin_text_blocks.id WHERE (admin_text_blocks.code = 'phones') LIMIT 0, 1 1 0.000068 false
SELECT mi.*, m.use_code_in_links as menu_use_code_in_links, m.code as menu_code FROM admin_menus m LEFT JOIN admin_menu_items AS mi ON m.id = mi.menu_id WHERE m.code = 'main' AND mi.is_hidden IS NULL AND mi.is_hidden_in_menu IS NULL AND mi.parent_id is null ORDER BY sort_order 7 0.000051 false
SELECT mi.*, m.use_code_in_links as menu_use_code_in_links, m.code as menu_code FROM admin_menus m LEFT JOIN admin_menu_items AS mi ON m.id = mi.menu_id WHERE m.code = 'sidebar' AND mi.is_hidden IS NULL AND mi.is_hidden_in_menu IS NULL AND mi.parent_id is null ORDER BY sort_order 7 0.000046 false
SELECT b.*, df.disk_name AS image FROM banners b LEFT JOIN banners_categories AS bc ON b.category_id = bc.id LEFT JOIN db_files AS df ON df.master_object_id = b.id AND df.master_object_class = 'Banners_Banner' WHERE bc.code = 'footer' AND b.enabled = 1 GROUP BY b.id ORDER BY b.sort_order DESC, b.id 6 0.000051 false
SELECT (menu_link_calculated_join.title) as menu_link_calculated, admin_text_blocks.* FROM admin_text_blocks LEFT JOIN admin_menu_items as menu_link_calculated_join ON menu_link_calculated_join.text_block_id = admin_text_blocks.id WHERE (admin_text_blocks.code = 'address') LIMIT 0, 1 1 0.000043 false
SELECT (menu_link_calculated_join.title) as menu_link_calculated, admin_text_blocks.* FROM admin_text_blocks LEFT JOIN admin_menu_items as menu_link_calculated_join ON menu_link_calculated_join.text_block_id = admin_text_blocks.id WHERE (admin_text_blocks.code = 'phones') LIMIT 0, 1 1 0.000054 false
SELECT mi.*, m.use_code_in_links as menu_use_code_in_links, m.code as menu_code FROM admin_menus m LEFT JOIN admin_menu_items AS mi ON m.id = mi.menu_id WHERE m.code = 'footer' AND mi.is_hidden IS NULL AND mi.is_hidden_in_menu IS NULL AND mi.parent_id is null ORDER BY sort_order 5 0.000049 false