Query Metrics
5
Database Queries
5
Different statements
65.26 ms
Query time
0
Invalid entities
Queries
#▲ | Time | Info |
---|---|---|
1 | 0.70 ms |
SELECT t0.id AS id_1, t0.slug AS slug_2, t0.external_id AS external_id_3, t0.status AS status_4, t0.created_at AS created_at_5, t0.updated_at AS updated_at_6, t0.is_index AS is_index_7, t0.css AS css_8, t0.js_head AS js_head_9, t0.js_body_start AS js_body_start_10, t0.js_body_end AS js_body_end_11 FROM page t0 WHERE t0.slug = ? AND t0.status = ? LIMIT 1
Parameters:
[ "sales" 1 ] |
2 | 10.06 ms |
SELECT count(*) as cnt FROM (SELECT event.id as id, event.fm_id as fm_id, event.currency_id as currency_id, event.building_id as building_id, event.activity_id as activity_id, event.city_id as city_id, event.free_places as free_places, event.use_event_name as use_event_name, event.slug as slug, event.custom_link as custom_link, event.available_to_sell as available_to_sell, event.sticker_id as sticker_id, event.sticker_activity_time_from as sticker_activity_time_from, event.sticker_activity_time_to as sticker_activity_time_to, event.price_from as price_from, event.price_to as price_to, event.event_status as event_status, event.fm_status as fm_status, event.event_date as event_date, event.event_end_date as event_end_date, event.sales_end_time as sales_end_time, event_lang.name as name, event_lang.description as description, event_lang_default.name as default_name, event.image_big as image_big, event.image_medium as image_medium, event.image_large as image_large, event.image_small as image_small, CASE WHEN event.event_date <= CURRENT_DATE AND (event.event_end_date >= CURRENT_DATE OR event.event_end_date IS NULL) THEN CURRENT_DATE WHEN (event.event_end_date > CURRENT_DATE OR event.event_date < CURRENT_DATE OR event.event_end_date IS NULL) THEN COALESCE(event.event_end_date, event.event_date) END AS virtual_date FROM event LEFT JOIN event_lang event_lang ON event_lang.model_id = event.id AND event_lang.language_code = ? LEFT JOIN event_lang event_lang_default ON event_lang_default.model_id = event.id AND event_lang_default.language_code = ? INNER JOIN event_category event_category ON event_category.event_id = event.id WHERE (event.status = ?) AND (event.sales_end_time > ?) AND (event.city_id = ?) AND (event_category.category_id IN (?))) dbal_count_tbl
Parameters:
[ "en" "en" 1 "2025-01-23 14:23:59" "018eb295-eed5-7e46-85ed-67fc74736acc" "018eb28d-669c-7b2a-90bd-0fb8e6678cef" ] |
3 | 22.08 ms |
SELECT category.id as id, category.slug as slug, category_lang.name as name, category_lang.color as color, category_lang.name_for_afisha as name_for_afisha, category_lang.name_for_event as name_for_event, category_lang.name_multiple as name_multiple, category_lang.name_single as name_single, category_lang_default.name as default_name, category_lang_default.name_for_afisha as default_name_for_afisha, category_lang_default.name_for_event as default_name_for_event, category_lang_default.name_multiple as default_name_multiple, category_lang_default.name_single as default_name_single FROM category LEFT JOIN category_lang category_lang ON category_lang.model_id = category.id AND category_lang.language_code = ? LEFT JOIN category_lang category_lang_default ON category_lang_default.model_id = category.id AND category_lang_default.language_code = ? LEFT JOIN event_category event_category ON event_category.category_id = category.id WHERE (category.status = ?) AND (category.slug = ?)
Parameters:
[ "en" "en" 1 "sales" ] |
4 | 24.96 ms |
SELECT seo_data.id as id, seo_data_lang.title, seo_data_lang.h1Seo, seo_data_lang.seo_text, seo_data_lang.description FROM seo_data INNER JOIN seo_data_lang seo_data_lang ON seo_data_lang.model_id = seo_data.id AND seo_data_lang.language_code = ? WHERE ((seo_data.city_id=?) OR (seo_data.city_id is null AND seo_data.for_all_cities_status=1)) AND (seo_data.category_id in (?)) AND (seo_data.month is null) AND (seo_data.tag_id is null) ORDER BY city_id DESC, category_id DESC LIMIT 1
Parameters:
[ "en" "018eb295-eed5-7e46-85ed-67fc74736acc" "018eb28d-669c-7b2a-90bd-0fb8e6678cef" ] |
5 | 7.46 ms |
SELECT running_line.image_desktop, running_line.image_tablet, running_line.image_mobile, running_line.gtm_event, running_line.gtm_event_name, running_line.starts_at, running_line.finishes_at, running_line_lang.link FROM running_line LEFT JOIN running_line_lang running_line_lang ON running_line_lang.model_id = running_line.id AND running_line_lang.language_code=? WHERE (running_line.starts_at <= ?) AND (running_line.finishes_at >= ?) ORDER BY running_line.position asc LIMIT 100
Parameters:
[ "en" "2025-01-23 12:24:00" "2025-01-23 12:24:00" ] |
Database Connections
Name | Service |
---|---|
default | doctrine.dbal.default_connection |
Entity Managers
Name | Service |
---|---|
default | doctrine.orm.default_entity_manager |
Second Level Cache
Second Level Cache is not enabled.