Query Metrics

21 Database Queries
17 Different statements
15.20 ms Query time
0 Invalid entities

Grouped Statements

Show all queries

Time Count Info
2.42 ms
(15.95%)
1
SELECT s0_.id AS id_0, s0_.name AS name_1, s0_.active AS active_2, s0_.weight AS weight_3, s0_.description AS description_4, s0_.full_description AS full_description_5, s0_.code AS code_6, s0_.meta_title AS meta_title_7, s0_.meta_desc AS meta_desc_8, s0_.meta_keywords AS meta_keywords_9, k1_.id AS id_10, k1_.ln_id AS ln_id_11, k1_.name AS name_12, k1_.description AS description_13, k1_.preview_text AS preview_text_14, k1_.meta_title AS meta_title_15, k1_.meta_keywords AS meta_keywords_16, k1_.meta_desc AS meta_desc_17, k1_.data_id AS data_id_18 FROM static_pages s0_ LEFT JOIN kk_static_pages_ln k1_ ON s0_.id = k1_.data_id WHERE s0_.active = ? ORDER BY s0_.weight ASC LIMIT 20
Parameters:
[
  1
]
1.74 ms
(11.44%)
1
SELECT n0_.id AS id_0, n0_.name AS name_1, n0_.description AS description_2, n0_.preview_text AS preview_text_3, n0_.code AS code_4, n0_.weight AS weight_5, n0_.is_section AS is_section_6, n0_.active AS active_7, n0_.pic AS pic_8, n0_.meta_title AS meta_title_9, n0_.meta_keywords AS meta_keywords_10, n0_.meta_desc AS meta_desc_11, n0_.views AS views_12, n0_.date AS date_13, n0_.date_start AS date_start_14, n0_.date_finish AS date_finish_15, n0_.p_id AS p_id_16 FROM news_data n0_ WHERE n0_.active = ? AND n0_.is_section = ? AND (n0_.date_start IS NULL OR n0_.date_start <= ?) AND (n0_.date_finish IS NULL OR n0_.date_finish >= ?) AND n0_.id <> ? AND n0_.date <= ? ORDER BY n0_.date DESC LIMIT 1
Parameters:
[
  1
  0
  1766645109
  1766645109
  88
  1727092500
]
1.56 ms
(10.29%)
1
SELECT n0_.id AS id_0, n0_.name AS name_1, n0_.description AS description_2, n0_.preview_text AS preview_text_3, n0_.code AS code_4, n0_.weight AS weight_5, n0_.is_section AS is_section_6, n0_.active AS active_7, n0_.pic AS pic_8, n0_.meta_title AS meta_title_9, n0_.meta_keywords AS meta_keywords_10, n0_.meta_desc AS meta_desc_11, n0_.views AS views_12, n0_.date AS date_13, n0_.date_start AS date_start_14, n0_.date_finish AS date_finish_15, k1_.id AS id_16, k1_.ln_id AS ln_id_17, k1_.name AS name_18, k1_.description AS description_19, k1_.preview_text AS preview_text_20, k1_.meta_title AS meta_title_21, k1_.meta_keywords AS meta_keywords_22, k1_.meta_desc AS meta_desc_23, n0_.p_id AS p_id_24, k1_.data_id AS data_id_25 FROM news_data n0_ LEFT JOIN kk_news_data_ln k1_ ON n0_.id = k1_.data_id WHERE n0_.active = ? AND n0_.is_section = ? AND (n0_.date_start IS NULL OR n0_.date_start <= ?) AND (n0_.date_finish IS NULL OR n0_.date_finish >= ?) AND n0_.p_id = ? ORDER BY n0_.weight DESC, n0_.weight ASC, n0_.name ASC LIMIT 3
Parameters:
[
  1
  0
  1766645109
  1766645109
  1
]
1.52 ms
(10.02%)
3
SELECT n0_.id AS id_0, n0_.name AS name_1, n0_.description AS description_2, n0_.preview_text AS preview_text_3, n0_.code AS code_4, n0_.weight AS weight_5, n0_.is_section AS is_section_6, n0_.active AS active_7, n0_.pic AS pic_8, n0_.meta_title AS meta_title_9, n0_.meta_keywords AS meta_keywords_10, n0_.meta_desc AS meta_desc_11, n0_.views AS views_12, n0_.date AS date_13, n0_.date_start AS date_start_14, n0_.date_finish AS date_finish_15, n0_.p_id AS p_id_16 FROM news_data n0_ WHERE n0_.active = ? AND n0_.is_section = ? AND (n0_.date_start IS NULL OR n0_.date_start <= ?) AND (n0_.date_finish IS NULL OR n0_.date_finish >= ?) AND n0_.code = ? ORDER BY n0_.id ASC LIMIT 1
Parameters:
[
  1
  0
  1766645109
  1766645109
  "kak-pravilno-vybrat-invertor"
]
1.18 ms
(7.79%)
1
SELECT n0_.id AS id_0, n0_.name AS name_1, n0_.description AS description_2, n0_.preview_text AS preview_text_3, n0_.code AS code_4, n0_.weight AS weight_5, n0_.is_section AS is_section_6, n0_.active AS active_7, n0_.pic AS pic_8, n0_.meta_title AS meta_title_9, n0_.meta_keywords AS meta_keywords_10, n0_.meta_desc AS meta_desc_11, n0_.views AS views_12, n0_.date AS date_13, n0_.date_start AS date_start_14, n0_.date_finish AS date_finish_15, k1_.id AS id_16, k1_.ln_id AS ln_id_17, k1_.name AS name_18, k1_.description AS description_19, k1_.preview_text AS preview_text_20, k1_.meta_title AS meta_title_21, k1_.meta_keywords AS meta_keywords_22, k1_.meta_desc AS meta_desc_23, n0_.p_id AS p_id_24, k1_.data_id AS data_id_25 FROM news_data n0_ LEFT JOIN kk_news_data_ln k1_ ON n0_.id = k1_.data_id WHERE n0_.active = ? AND n0_.is_section = ? AND (n0_.date_start IS NULL OR n0_.date_start <= ?) AND (n0_.date_finish IS NULL OR n0_.date_finish >= ?) AND n0_.p_id = ? ORDER BY n0_.views DESC, n0_.weight ASC, n0_.name ASC LIMIT 3
Parameters:
[
  1
  0
  1766645109
  1766645109
  1
]
0.85 ms
(5.63%)
2
SELECT n0_.id AS id_0, n0_.name AS name_1, n0_.description AS description_2, n0_.preview_text AS preview_text_3, n0_.code AS code_4, n0_.weight AS weight_5, n0_.is_section AS is_section_6, n0_.active AS active_7, n0_.pic AS pic_8, n0_.meta_title AS meta_title_9, n0_.meta_keywords AS meta_keywords_10, n0_.meta_desc AS meta_desc_11, n0_.views AS views_12, n0_.date AS date_13, n0_.date_start AS date_start_14, n0_.date_finish AS date_finish_15, n0_.p_id AS p_id_16 FROM news_data n0_ WHERE n0_.active = ? AND n0_.is_section = ? AND n0_.code = ? ORDER BY n0_.id ASC LIMIT 1
Parameters:
[
  1
  1
  "news"
]
0.83 ms
(5.45%)
1
SELECT s0_.id AS id_0, s0_.name AS name_1, s0_.as_default AS as_default_2, s0_.product AS product_3, s0_.static AS static_4, s0_.news AS news_5, s0_.category AS category_6, s0_.subcategory AS subcategory_7, s0_.main AS main_8, s0_.catalog AS catalog_9 FROM seo_templates s0_ WHERE s0_.as_default = ? LIMIT 1
Parameters:
[
  1
]
0.82 ms
(5.38%)
1
SELECT n0_.id AS id_0, n0_.name AS name_1, n0_.description AS description_2, n0_.preview_text AS preview_text_3, n0_.code AS code_4, n0_.weight AS weight_5, n0_.is_section AS is_section_6, n0_.active AS active_7, n0_.pic AS pic_8, n0_.meta_title AS meta_title_9, n0_.meta_keywords AS meta_keywords_10, n0_.meta_desc AS meta_desc_11, n0_.views AS views_12, n0_.date AS date_13, n0_.date_start AS date_start_14, n0_.date_finish AS date_finish_15, n0_.p_id AS p_id_16 FROM news_data n0_ WHERE n0_.active = ? AND n0_.is_section = ? AND (n0_.date_start IS NULL OR n0_.date_start <= ?) AND (n0_.date_finish IS NULL OR n0_.date_finish >= ?) AND n0_.id <> ? AND n0_.date >= ? ORDER BY n0_.date ASC LIMIT 1
Parameters:
[
  1
  0
  1766645109
  1766645109
  88
  1727092500
]
0.80 ms
(5.27%)
1
SELECT n0_.id AS id_0, n0_.name AS name_1, n0_.description AS description_2, n0_.preview_text AS preview_text_3, n0_.code AS code_4, n0_.weight AS weight_5, n0_.is_section AS is_section_6, n0_.active AS active_7, n0_.pic AS pic_8, n0_.meta_title AS meta_title_9, n0_.meta_keywords AS meta_keywords_10, n0_.meta_desc AS meta_desc_11, n0_.views AS views_12, n0_.date AS date_13, n0_.date_start AS date_start_14, n0_.date_finish AS date_finish_15, n0_.p_id AS p_id_16 FROM news_data n0_ WHERE n0_.active = ? AND n0_.is_section = ? AND (n0_.date_start IS NULL OR n0_.date_start <= ?) AND (n0_.date_finish IS NULL OR n0_.date_finish >= ?) AND n0_.id = ? LIMIT 1
Parameters:
[
  1
  0
  1766645109
  1766645109
  88
]
0.67 ms
(4.41%)
1
SELECT s0_.setting_id AS setting_id_0, s0_.type AS type_1, s0_.setting_name AS setting_name_2, s0_.setting_value AS setting_value_3, s0_.description AS description_4 FROM store_settings s0_ LEFT JOIN kk_settings_ln k1_ ON s0_.setting_id = k1_.setting_id WHERE s0_.type = 'site' AND s0_.setting_name IN (?, ?, ?) LIMIT 3
Parameters:
[
  "notify_top"
  "datepicker"
  "notify_url"
]
0.56 ms
(3.71%)
1
SELECT s0_.id AS id_0, s0_.name AS name_1, s0_.lft AS lft_2, s0_.level AS level_3, s0_.rgt AS rgt_4, s0_.is_published AS is_published_5, s0_.is_active AS is_active_6, s0_.is_menu_item AS is_menu_item_7, s0_.is_hot_filter AS is_hot_filter_8, s0_.img AS img_9, s0_.filters AS filters_10, k1_.id AS id_11, k1_.ln_id AS ln_id_12, k1_.name AS name_13, s0_.category_id AS category_id_14, k1_.menu_id AS menu_id_15 FROM site_menu s0_ LEFT JOIN kk_site_menu_ln k1_ ON s0_.id = k1_.menu_id WHERE s0_.is_active = 1 AND s0_.lft > ? AND s0_.rgt < ? AND s0_.level = ? AND s0_.id > 0 AND s0_.is_menu_item = ? ORDER BY s0_.lft ASC
Parameters:
[
  1
  2
  1
  1
]
0.52 ms
(3.41%)
1
SELECT s0_.id AS id_0, s0_.name AS name_1, s0_.lft AS lft_2, s0_.level AS level_3, s0_.rgt AS rgt_4, s0_.is_published AS is_published_5, s0_.is_active AS is_active_6, s0_.is_menu_item AS is_menu_item_7, s0_.is_hot_filter AS is_hot_filter_8, s0_.img AS img_9, s0_.filters AS filters_10, s0_.category_id AS category_id_11 FROM site_menu s0_ WHERE s0_.id = ? AND s0_.is_active = 1 AND s0_.is_menu_item = 1 LIMIT 1
Parameters:
[
  0
]
0.50 ms
(3.32%)
2
SELECT t0.currency_id AS currency_id_1, t0.currency AS currency_2, t0.is_cash AS is_cash_3, t0.rate AS rate_4 FROM Currencies t0
Parameters:
[]
0.49 ms
(3.21%)
1
SELECT k0_.id AS id_0, k0_.name AS name_1, k0_.code AS code_2, k0_.active AS active_3, k0_.default AS default_4 FROM kk_language k0_ WHERE k0_.code = ? LIMIT 1
Parameters:
[
  "ru"
]
0.47 ms
(3.07%)
1
UPDATE news_data SET views = ? WHERE id = ?
Parameters:
[
  3947
  88
]
0.16 ms
(1.03%)
1
"COMMIT"
Parameters:
[]
0.10 ms
(0.63%)
1
"START TRANSACTION"
Parameters:
[]

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.