Query Metrics

25 Database Queries
21 Different statements
16.20 ms Query time
0 Invalid entities

Queries

Group similar statements

# Time Info
1 0.35 ms
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
]
2 0.35 ms
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:
[
  "uk"
]
3 0.26 ms
SELECT t0.data_id AS data_id_1, t0.ln_id AS ln_id_2, t0.product AS product_3, t0.static AS static_4, t0.news AS news_5, t0.category AS category_6, t0.subcategory AS subcategory_7, t0.main AS main_8, t0.catalog AS catalog_9, t0.data_id AS data_id_10 FROM kk_seo_templates_ln t0 WHERE t0.data_id = ?
Parameters:
[
  1
]
4 0.69 ms
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"
]
5 1.38 ms
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_.date DESC, n0_.weight ASC, n0_.name ASC LIMIT 3
Parameters:
[
  1
  0
  1766599291
  1766599291
  1
]
6 0.78 ms
SELECT b0_.id AS id_0, b0_.name AS name_1, b0_.active AS active_2, b0_.weight AS weight_3, b0_.alt AS alt_4, b0_.title AS title_5, b0_.link AS link_6, b1_.id AS id_7, b1_.name AS name_8, b1_.code AS code_9, k2_.id AS id_10, k2_.ln_id AS ln_id_11, k2_.alt AS alt_12, k2_.title AS title_13, b0_.type_id AS type_id_14, k2_.banner_id AS banner_id_15 FROM banners b0_ INNER JOIN banners_type b1_ ON b0_.type_id = b1_.id LEFT JOIN kk_banners_ln k2_ ON b0_.id = k2_.banner_id WHERE b0_.active = ? AND b1_.code = ? ORDER BY b0_.weight DESC
Parameters:
[
  1
  "main"
]
7 0.33 ms
SELECT t0.id AS id_1, t0.lang_id AS lang_id_2, t0.name AS name_3, t0.point AS point_4, t0.banner_id AS banner_id_5 FROM kk_banners_images t0 WHERE t0.banner_id = ?
Parameters:
[
  10
]
8 0.16 ms
SELECT t0.id AS id_1, t0.lang_id AS lang_id_2, t0.name AS name_3, t0.point AS point_4, t0.banner_id AS banner_id_5 FROM kk_banners_images t0 WHERE t0.banner_id = ?
Parameters:
[
  8
]
9 0.26 ms
SELECT t0.id AS id_1, t0.name AS name_2, t0.point AS point_3, t0.banner_id AS banner_id_4 FROM banners_images t0 WHERE t0.banner_id = ?
Parameters:
[
  8
]
10 0.15 ms
SELECT t0.id AS id_1, t0.lang_id AS lang_id_2, t0.name AS name_3, t0.point AS point_4, t0.banner_id AS banner_id_5 FROM kk_banners_images t0 WHERE t0.banner_id = ?
Parameters:
[
  9
]
11 0.27 ms
SELECT t0.id AS id_1, t0.lang_id AS lang_id_2, t0.name AS name_3, t0.point AS point_4, t0.banner_id AS banner_id_5 FROM kk_banners_images t0 WHERE t0.banner_id = ?
Parameters:
[
  11
]
12 0.48 ms
SELECT f0_.feature_id AS feature_id_0, f0_.feature_name AS feature_name_1, f0_.coment AS coment_2, f0_.code AS code_3, f0_.in_short_list AS in_short_list_4, f0_.in_full_list AS in_full_list_5, f0_.in_individual_selection AS in_individual_selection_6, f0_.weight AS weight_7, f0_.img AS img_8, f0_.type AS type_9, f0_.format AS format_10, f0_.multivalues AS multivalues_11, f0_.use_as AS use_as_12, f0_.feature_section_id AS feature_section_id_13 FROM Feature f0_ WHERE f0_.use_as = ? LIMIT 1
Parameters:
[
  "brend"
]
13 1.52 ms
SELECT f0_.value AS value_0, f0_.id AS id_1, f0_.code AS code_2, f1_.feature_id AS feature_id_3, f1_.value_id AS value_id_4, f1_.weight AS weight_5, f1_.img AS img_6, f1_.url AS url_7, f1_.description AS description_8, f1_.color AS color_9, k2_.value_id AS value_id_10, k2_.feature_id AS feature_id_11, k2_.ln_id AS ln_id_12, k2_.value AS value_13, k2_.url AS url_14, k2_.description AS description_15, f0_.id AS id_16, f0_.feature_id AS feature_id_17, f0_.feature_id AS feature_id_18, k2_.value_id AS value_id_19, k2_.feature_id AS feature_id_20 FROM Feature_Values_string f0_ INNER JOIN Feature_Value_Settings f1_ ON f0_.id = f1_.value_id AND f0_.feature_id = f1_.feature_id LEFT JOIN kk_features_values_ln k2_ ON f1_.value_id = k2_.value_id AND f1_.feature_id = k2_.feature_id WHERE f0_.feature_id = ? AND f0_.value <> '' AND f1_.img <> '' ORDER BY f1_.weight ASC LIMIT 20
Parameters:
[
  1
]
14 0.78 ms
SELECT c0_.category_id AS category_id_0, c0_.category_left AS category_left_1, c0_.category_right AS category_right_2, c0_.active AS active_3 FROM Categories c0_ WHERE c0_.active = ? ORDER BY c0_.category_left ASC
Parameters:
[
  0
]
15 0.34 ms
SELECT c0_.category_id AS category_id_0, c0_.category_name AS category_name_1, c0_.category_left AS category_left_2, c0_.category_level AS category_level_3, c0_.category_right AS category_right_4, c0_.description AS description_5, c0_.short_desc AS short_desc_6, c0_.code AS code_7, c0_.img AS img_8, c0_.meta_title AS meta_title_9, c0_.meta_keywords AS meta_keywords_10, c0_.meta_description AS meta_description_11, c0_.active AS active_12, c0_.is_empty AS is_empty_13, c0_.category_top AS category_top_14 FROM Categories c0_ WHERE c0_.active = 1 AND c0_.category_id = ? LIMIT 1
Parameters:
[
  0
]
16 0.63 ms
SELECT c0_.category_id AS category_id_0, c0_.category_name AS category_name_1, c0_.category_left AS category_left_2, c0_.category_level AS category_level_3, c0_.category_right AS category_right_4, c0_.description AS description_5, c0_.short_desc AS short_desc_6, c0_.code AS code_7, c0_.img AS img_8, c0_.meta_title AS meta_title_9, c0_.meta_keywords AS meta_keywords_10, c0_.meta_description AS meta_description_11, c0_.active AS active_12, c0_.is_empty AS is_empty_13, c0_.category_top AS category_top_14, k1_.id AS id_15, k1_.ln_id AS ln_id_16, k1_.category_name AS category_name_17, k1_.category_description AS category_description_18, k1_.short_desc AS short_desc_19, k1_.meta_title AS meta_title_20, k1_.meta_keywords AS meta_keywords_21, k1_.meta_description AS meta_description_22, k1_.category_id AS category_id_23 FROM Categories c0_ LEFT JOIN kk_categories_ln k1_ ON c0_.category_id = k1_.category_id WHERE c0_.active = 1 AND c0_.category_left > ? AND c0_.category_right < ? AND c0_.category_level = ? AND c0_.category_id > 0 AND c0_.is_empty = 0 ORDER BY c0_.category_left ASC, c0_.category_left ASC
Parameters:
[
  1
  120
  1
]
17 0.55 ms
SELECT c0_.category_id AS category_id_0, c0_.category_name AS category_name_1, c0_.category_left AS category_left_2, c0_.category_level AS category_level_3, c0_.category_right AS category_right_4, c0_.description AS description_5, c0_.short_desc AS short_desc_6, c0_.code AS code_7, c0_.img AS img_8, c0_.meta_title AS meta_title_9, c0_.meta_keywords AS meta_keywords_10, c0_.meta_description AS meta_description_11, c0_.active AS active_12, c0_.is_empty AS is_empty_13, c0_.category_top AS category_top_14, k1_.id AS id_15, k1_.ln_id AS ln_id_16, k1_.category_name AS category_name_17, k1_.category_description AS category_description_18, k1_.short_desc AS short_desc_19, k1_.meta_title AS meta_title_20, k1_.meta_keywords AS meta_keywords_21, k1_.meta_description AS meta_description_22, k1_.category_id AS category_id_23 FROM Categories c0_ LEFT JOIN kk_categories_ln k1_ ON c0_.category_id = k1_.category_id WHERE c0_.active = 1 AND c0_.category_left > ? AND c0_.category_right < ? AND c0_.category_level = ? AND c0_.category_id > 0 AND c0_.is_empty = 0 ORDER BY c0_.category_left ASC
Parameters:
[
  2
  113
  2
]
18 0.49 ms
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"
]
19 2.64 ms
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
]
20 0.64 ms
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
]
21 0.46 ms
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
]
22 1.06 ms
SELECT s0_.catalog_product_id AS sclr_0 FROM Top t1_ INNER JOIN Products p2_ ON t1_.product_id = p2_.product_id INNER JOIN sf_product_index s0_ ON p2_.product_id = s0_.product_id INNER JOIN top_categories t3_ ON t1_.top_category_id = t3_.id WHERE t1_.top_category_id = ? AND s0_.presence > 0 AND t3_.activity = 1 ORDER BY t1_.weight ASC
Parameters:
[
  2
]
23 0.36 ms
SELECT p0_.product_id AS product_id_0, p0_.product AS product_1, p0_.pn AS pn_2, p0_.description AS description_3, p0_.detail_description AS detail_description_4, p0_.deleted AS deleted_5, p0_.pic AS pic_6, p0_.warranty AS warranty_7, p0_.cost_min AS cost_min_8, p0_.create_time AS create_time_9, s1_.product_id AS product_id_10, s1_.group_id AS group_id_11, s1_.product_type AS product_type_12, s1_.is_show_in_catalog AS is_show_in_catalog_13, s1_.presence AS presence_14, s1_.presence_str AS presence_str_15, s1_.rating AS rating_16, p2_.product_id AS product_id_17, p2_.url_code AS url_code_18, p2_.rating AS rating_19, p2_.seo_title AS seo_title_20, p2_.seo_description AS seo_description_21, p2_.seo_keyword AS seo_keyword_22, p3_.id AS id_23, p3_.default AS default_24, p3_.change_data AS change_data_25, p3_.show_img AS show_img_26, p3_.show_price AS show_price_27, p3_.show_presence AS show_presence_28, p3_.features_sharing AS features_sharing_29, p3_.manual_sharing AS manual_sharing_30, p3_.features AS features_31, p0_.category_id AS category_id_32, s1_.category_id AS category_id_33, s1_.catalog_product_id AS catalog_product_id_34, s1_.product_id AS product_id_35, p2_.product_id AS product_id_36, p3_.product_id AS product_id_37 FROM Products p0_ INNER JOIN sf_product_index s1_ ON p0_.product_id = s1_.product_id INNER JOIN Products_Data p2_ ON p0_.product_id = p2_.product_id LEFT JOIN products_groups p3_ ON p0_.product_id = p3_.product_id WHERE p0_.deleted = 0 AND p2_.url_code <> '' AND s1_.presence > 0 AND 1 = 0 ORDER BY p0_.product_id DESC LIMIT 5
Parameters:
[]
24 0.55 ms
SELECT s0_.catalog_product_id AS sclr_0 FROM Top t1_ INNER JOIN Products p2_ ON t1_.product_id = p2_.product_id INNER JOIN sf_product_index s0_ ON p2_.product_id = s0_.product_id INNER JOIN top_categories t3_ ON t1_.top_category_id = t3_.id WHERE t1_.top_category_id = ? AND s0_.presence > 0 AND t3_.activity = 1 ORDER BY t1_.weight ASC
Parameters:
[
  1
]
25 0.68 ms
SELECT p0_.product_id AS product_id_0, p0_.product AS product_1, p0_.pn AS pn_2, p0_.description AS description_3, p0_.detail_description AS detail_description_4, p0_.deleted AS deleted_5, p0_.pic AS pic_6, p0_.warranty AS warranty_7, p0_.cost_min AS cost_min_8, p0_.create_time AS create_time_9, s1_.product_id AS product_id_10, s1_.group_id AS group_id_11, s1_.product_type AS product_type_12, s1_.is_show_in_catalog AS is_show_in_catalog_13, s1_.presence AS presence_14, s1_.presence_str AS presence_str_15, s1_.rating AS rating_16, p2_.product_id AS product_id_17, p2_.url_code AS url_code_18, p2_.rating AS rating_19, p2_.seo_title AS seo_title_20, p2_.seo_description AS seo_description_21, p2_.seo_keyword AS seo_keyword_22, p3_.id AS id_23, p3_.default AS default_24, p3_.change_data AS change_data_25, p3_.show_img AS show_img_26, p3_.show_price AS show_price_27, p3_.show_presence AS show_presence_28, p3_.features_sharing AS features_sharing_29, p3_.manual_sharing AS manual_sharing_30, p3_.features AS features_31, p0_.category_id AS category_id_32, s1_.category_id AS category_id_33, s1_.catalog_product_id AS catalog_product_id_34, s1_.product_id AS product_id_35, p2_.product_id AS product_id_36, p3_.product_id AS product_id_37 FROM Products p0_ INNER JOIN sf_product_index s1_ ON p0_.product_id = s1_.product_id INNER JOIN Products_Data p2_ ON p0_.product_id = p2_.product_id LEFT JOIN products_groups p3_ ON p0_.product_id = p3_.product_id WHERE p0_.deleted = 0 AND p2_.url_code <> '' AND s1_.presence > 0 ORDER BY p0_.product_id DESC LIMIT 5
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.

Entities Mapping

Class Mapping errors
SoftUa\SeoBundle\Entity\SeoTemplate No errors.
SoftUa\SeoBundle\Entity\SeoTemplateTranslation No errors.
SoftUa\CoreBundle\Entity\DataLanguage No errors.
SoftUa\ArticleBundle\Entity\Article No errors.
SoftUa\ArticleBundle\Entity\ArticleTranslation No errors.
SoftUa\BannerBundle\Entity\Banner No errors.
SoftUa\BannerBundle\Entity\BannerType No errors.
SoftUa\BannerBundle\Entity\BannerTranslation No errors.
SoftUa\BannerBundle\Entity\BannerImage No errors.
SoftUa\BannerBundle\Entity\BannerImageTranslation No errors.
SoftUa\SpecificationsBundle\Entity\Specification No errors.
SoftUa\SpecificationsBundle\Entity\SpecificationSection No errors.
SoftUa\SpecificationsBundle\Entity\SpecificationTranslation No errors.
SoftUa\SpecificationsBundle\Entity\SpecificationValue\SpecificationStringValue No errors.
SoftUa\SpecificationsBundle\Entity\SpecificationValue\SpecificationValueSettings No errors.
SoftUa\SpecificationsBundle\Entity\SpecificationValue\SpecificationValueTranslation No errors.
SoftUa\CategoryBundle\Entity\Category No errors.
SoftUa\CategoryBundle\Entity\CategoryTranslation No errors.
SoftUa\HeaderNotificationBundle\Entity\StoreSettings No errors.
SoftUa\HeaderNotificationBundle\Entity\StoreSettingsTranslation No errors.
SoftUa\StaticPageBundle\Entity\StaticPage No errors.
SoftUa\StaticPageBundle\Entity\StaticPageTranslation No errors.
SoftUa\StaticPageBundle\Entity\StaticPageImage No errors.
SoftUa\MenuBundle\Entity\Menu No errors.
SoftUa\MenuBundle\Entity\MenuTranslation No errors.
SoftUa\ProductTopBundle\Entity\ProductTop No errors.
SoftUa\ProductBundle\Entity\Product No errors.
SoftUa\ProductBundle\Entity\ProductIndex No errors.
SoftUa\ProductTopBundle\Entity\ProductTopCategory No errors.
SoftUa\ProductBundle\Entity\ProductData No errors.
SoftUa\ProductBundle\Entity\GroupSettings No errors.