GET https://proklima.greendot.cz/en/_fragment/generate-menu/4

Query Metrics

29 Database Queries
10 Different statements
10.92 ms Query time
1 Invalid entities

Queries

Group similar statements

# Time Info
1 0.97 ms
SELECT t0.id AS id_1, t0.name AS name_2, t0.symbol AS symbol_3, t0.conversion_rate AS conversion_rate_4, t0.rounding AS rounding_5, t0.is_default AS is_default_6 FROM currency t0 WHERE t0.is_default = ? LIMIT 1
Parameters:
[
  1
]
2 0.44 ms
SELECT t0.id AS id_1, t0.name AS name_2, t0.menu_name AS menu_name_3, t0.description AS description_4, t0.html AS html_5, t0.title AS title_6, t0.is_active AS is_active_7, t0.slug AS slug_8, t0.javascript AS javascript_9, t0.sequence AS sequence_10, t0.is_menu AS is_menu_11, t0.latitude AS latitude_12, t0.longitude AS longitude_13, t0.state AS state_14, t0.has_comments AS has_comments_15, t0.is_indexable AS is_indexable_16, t0.created_at AS created_at_17, t0.published_at AS published_at_18, t0.category_type_id AS category_type_id_19, t0.upload_id AS upload_id_20, t21.id AS id_22, t21.sales_unit AS sales_unit_23, t21.opportunity_type AS opportunity_type_24, t21.category_id AS category_id_25 FROM p_category t0 LEFT JOIN category_sap t21 ON t21.category_id = t0.id WHERE t0.slug = ? LIMIT 1
Parameters:
[
  "produkty"
]
3 0.49 ms
SELECT e0_.content AS content_0, e0_.field AS field_1 FROM ext_translations e0_ WHERE e0_.foreign_key = ? AND e0_.locale = ? AND e0_.object_class = ?
Parameters:
[
  "68"
  "en"
  "App\Entity\Project\Category"
]
4 0.31 ms
SELECT t0.id AS id_1, t0.sequence AS sequence_2, t0.is_menu_item AS is_menu_item_3, t0.category_super_id AS category_super_id_4, t0.category_sub_id AS category_sub_id_5 FROM p_category_category t0 WHERE t0.category_super_id = ? ORDER BY t0.sequence ASC
Parameters:
[
  68
]
5 0.64 ms
SELECT DISTINCT p0_.id AS id_0, p0_.name AS name_1, p0_.menu_name AS menu_name_2, p0_.description AS description_3, p0_.meta_description AS meta_description_4, p0_.title AS title_5, p0_.slug AS slug_6, p0_.is_active AS is_active_7, p0_.sequence AS sequence_8, p0_.javascript AS javascript_9, p0_.text_general AS text_general_10, p0_.state AS state_11, p0_.external_id AS external_id_12, p0_.is_indexable AS is_indexable_13, p0_.has_variant_picture AS has_variant_picture_14, p0_.producer_id AS producer_id_15, p0_.upload_id AS upload_id_16 FROM product p0_ LEFT JOIN category_product c1_ ON p0_.id = c1_.product_id WHERE c1_.category_id IN (?, ?, ?) AND p0_.is_active = ? ORDER BY p0_.sequence ASC
Parameters:
[
  68
  355
  354
  1
]
6 0.69 ms
SELECT p0_.id AS id_0, p0_.name AS name_1, p0_.menu_name AS menu_name_2, p0_.description AS description_3, p0_.html AS html_4, p0_.title AS title_5, p0_.is_active AS is_active_6, p0_.slug AS slug_7, p0_.javascript AS javascript_8, p0_.sequence AS sequence_9, p0_.is_menu AS is_menu_10, p0_.latitude AS latitude_11, p0_.longitude AS longitude_12, p0_.state AS state_13, p0_.has_comments AS has_comments_14, p0_.is_indexable AS is_indexable_15, p0_.created_at AS created_at_16, p0_.published_at AS published_at_17, p0_.category_type_id AS category_type_id_18, p0_.upload_id AS upload_id_19 FROM p_category p0_ LEFT JOIN p_category_category p1_ ON p0_.id = p1_.category_sub_id WHERE p1_.category_super_id = ? AND p0_.category_type_id = ? AND p0_.is_active = 1 AND p0_.id > 10 ORDER BY p1_.sequence ASC, p0_.sequence ASC
Parameters:
[
  68
  6
]
7 0.66 ms
SELECT p0_.id AS id_0, p0_.name AS name_1, p0_.menu_name AS menu_name_2, p0_.description AS description_3, p0_.html AS html_4, p0_.title AS title_5, p0_.is_active AS is_active_6, p0_.slug AS slug_7, p0_.javascript AS javascript_8, p0_.sequence AS sequence_9, p0_.is_menu AS is_menu_10, p0_.latitude AS latitude_11, p0_.longitude AS longitude_12, p0_.state AS state_13, p0_.has_comments AS has_comments_14, p0_.is_indexable AS is_indexable_15, p0_.created_at AS created_at_16, p0_.published_at AS published_at_17, p0_.category_type_id AS category_type_id_18, p0_.upload_id AS upload_id_19 FROM p_category p0_ LEFT JOIN p_category_category p1_ ON p0_.id = p1_.category_sub_id WHERE p1_.category_super_id = ? AND p0_.category_type_id = ? AND p0_.is_active = 1 AND p0_.id > 10 ORDER BY p1_.sequence ASC, p0_.sequence ASC
Parameters:
[
  68
  5
]
8 0.67 ms
SELECT p0_.id AS id_0, p0_.name AS name_1, p0_.menu_name AS menu_name_2, p0_.description AS description_3, p0_.html AS html_4, p0_.title AS title_5, p0_.is_active AS is_active_6, p0_.slug AS slug_7, p0_.javascript AS javascript_8, p0_.sequence AS sequence_9, p0_.is_menu AS is_menu_10, p0_.latitude AS latitude_11, p0_.longitude AS longitude_12, p0_.state AS state_13, p0_.has_comments AS has_comments_14, p0_.is_indexable AS is_indexable_15, p0_.created_at AS created_at_16, p0_.published_at AS published_at_17, p0_.category_type_id AS category_type_id_18, p0_.upload_id AS upload_id_19 FROM p_category p0_ LEFT JOIN p_category_category p1_ ON p0_.id = p1_.category_sub_id WHERE p1_.category_super_id = ? AND p0_.category_type_id = ? AND p0_.is_active = 1 AND p0_.id > 10 ORDER BY p1_.sequence ASC, p0_.sequence ASC
Parameters:
[
  68
  14
]
9 0.24 ms
SELECT t0.id AS id_1, t0.sales_unit AS sales_unit_2, t0.opportunity_type AS opportunity_type_3, t0.category_id AS category_id_4 FROM category_sap t0 WHERE t0.category_id = ?
Parameters:
[
  355
]
10 0.23 ms
SELECT t0.id AS id_1, t0.sales_unit AS sales_unit_2, t0.opportunity_type AS opportunity_type_3, t0.category_id AS category_id_4 FROM category_sap t0 WHERE t0.category_id = ?
Parameters:
[
  354
]
11 0.37 ms
SELECT e0_.content AS content_0, e0_.field AS field_1 FROM ext_translations e0_ WHERE e0_.foreign_key = ? AND e0_.locale = ? AND e0_.object_class = ?
Parameters:
[
  "355"
  "en"
  "App\Entity\Project\Category"
]
12 0.37 ms
SELECT e0_.content AS content_0, e0_.field AS field_1 FROM ext_translations e0_ WHERE e0_.foreign_key = ? AND e0_.locale = ? AND e0_.object_class = ?
Parameters:
[
  "354"
  "en"
  "App\Entity\Project\Category"
]
13 0.25 ms
SELECT t0.id AS id_1, t0.name AS name_2, t0.template AS template_3, t0.slug_prefix AS slug_prefix_4, t0.controller_name AS controller_name_5 FROM category_type t0 WHERE t0.id = ?
Parameters:
[
  7
]
14 0.26 ms
SELECT t0.id AS id_1, t0.name AS name_2, t0.template AS template_3, t0.controller_name AS controller_name_4 FROM menu_type t0 WHERE t0.id = ?
Parameters:
[
  "4"
]
15 0.42 ms
SELECT p0_.id AS id_0, p0_.name AS name_1, p0_.menu_name AS menu_name_2, p0_.description AS description_3, p0_.html AS html_4, p0_.title AS title_5, p0_.is_active AS is_active_6, p0_.slug AS slug_7, p0_.javascript AS javascript_8, p0_.sequence AS sequence_9, p0_.is_menu AS is_menu_10, p0_.latitude AS latitude_11, p0_.longitude AS longitude_12, p0_.state AS state_13, p0_.has_comments AS has_comments_14, p0_.is_indexable AS is_indexable_15, p0_.created_at AS created_at_16, p0_.published_at AS published_at_17, p0_.category_type_id AS category_type_id_18, p0_.upload_id AS upload_id_19 FROM p_category p0_ LEFT JOIN p_category_category p1_ ON p0_.id = p1_.category_sub_id LEFT JOIN category_menu_type c2_ ON p0_.id = c2_.category_id WHERE p0_.is_active = ? AND p0_.id >= ? AND p1_.id IS NULL AND c2_.menu_type_id = ? ORDER BY c2_.sequence ASC
Parameters:
[
  1
  2
  4
]
16 0.23 ms
SELECT t0.id AS id_1, t0.sales_unit AS sales_unit_2, t0.opportunity_type AS opportunity_type_3, t0.category_id AS category_id_4 FROM category_sap t0 WHERE t0.category_id = ?
Parameters:
[
  157
]
17 0.21 ms
SELECT t0.id AS id_1, t0.sales_unit AS sales_unit_2, t0.opportunity_type AS opportunity_type_3, t0.category_id AS category_id_4 FROM category_sap t0 WHERE t0.category_id = ?
Parameters:
[
  65
]
18 0.38 ms
SELECT e0_.content AS content_0, e0_.field AS field_1 FROM ext_translations e0_ WHERE e0_.foreign_key = ? AND e0_.locale = ? AND e0_.object_class = ?
Parameters:
[
  "157"
  "en"
  "App\Entity\Project\Category"
]
19 0.21 ms
SELECT t0.id AS id_1, t0.sales_unit AS sales_unit_2, t0.opportunity_type AS opportunity_type_3, t0.category_id AS category_id_4 FROM category_sap t0 WHERE t0.category_id = ?
Parameters:
[
  2
]
20 0.37 ms
SELECT e0_.content AS content_0, e0_.field AS field_1 FROM ext_translations e0_ WHERE e0_.foreign_key = ? AND e0_.locale = ? AND e0_.object_class = ?
Parameters:
[
  "65"
  "en"
  "App\Entity\Project\Category"
]
21 0.22 ms
SELECT t0.id AS id_1, t0.sales_unit AS sales_unit_2, t0.opportunity_type AS opportunity_type_3, t0.category_id AS category_id_4 FROM category_sap t0 WHERE t0.category_id = ?
Parameters:
[
  51
]
22 0.35 ms
SELECT e0_.content AS content_0, e0_.field AS field_1 FROM ext_translations e0_ WHERE e0_.foreign_key = ? AND e0_.locale = ? AND e0_.object_class = ?
Parameters:
[
  "2"
  "en"
  "App\Entity\Project\Category"
]
23 0.21 ms
SELECT t0.id AS id_1, t0.sales_unit AS sales_unit_2, t0.opportunity_type AS opportunity_type_3, t0.category_id AS category_id_4 FROM category_sap t0 WHERE t0.category_id = ?
Parameters:
[
  13
]
24 0.36 ms
SELECT e0_.content AS content_0, e0_.field AS field_1 FROM ext_translations e0_ WHERE e0_.foreign_key = ? AND e0_.locale = ? AND e0_.object_class = ?
Parameters:
[
  "51"
  "en"
  "App\Entity\Project\Category"
]
25 0.22 ms
SELECT t0.id AS id_1, t0.sales_unit AS sales_unit_2, t0.opportunity_type AS opportunity_type_3, t0.category_id AS category_id_4 FROM category_sap t0 WHERE t0.category_id = ?
Parameters:
[
  15
]
26 0.37 ms
SELECT e0_.content AS content_0, e0_.field AS field_1 FROM ext_translations e0_ WHERE e0_.foreign_key = ? AND e0_.locale = ? AND e0_.object_class = ?
Parameters:
[
  "13"
  "en"
  "App\Entity\Project\Category"
]
27 0.35 ms
SELECT e0_.content AS content_0, e0_.field AS field_1 FROM ext_translations e0_ WHERE e0_.foreign_key = ? AND e0_.locale = ? AND e0_.object_class = ?
Parameters:
[
  "15"
  "en"
  "App\Entity\Project\Category"
]
28 0.22 ms
SELECT t0.id AS id_1, t0.name AS name_2, t0.template AS template_3, t0.slug_prefix AS slug_prefix_4, t0.controller_name AS controller_name_5 FROM category_type t0 WHERE t0.id = ?
Parameters:
[
  4
]
29 0.21 ms
SELECT t0.id AS id_1, t0.name AS name_2, t0.template AS template_3, t0.slug_prefix AS slug_prefix_4, t0.controller_name AS controller_name_5 FROM category_type t0 WHERE t0.id = ?
Parameters:
[
  1
]

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.