GET https://proklima.greendot.cz/en/dily-pro-pergoly-a-zimni-zahrady

Query Metrics

55 Database Queries
18 Different statements
46.62 ms Query time
0 Invalid entities
36 Managed entities

Grouped Statements

Show all queries

Time Count Info
16.28 ms
(34.93%)
2
SELECT p0_.id AS id_0, COALESCE(t1_.content, p0_.name) AS name_1, COALESCE(t2_.content, p0_.menu_name) AS menu_name_2, COALESCE(t3_.content, p0_.description) AS description_3, COALESCE(t4_.content, p0_.html) AS html_4, COALESCE(t5_.content, p0_.title) AS title_5, p0_.is_active AS is_active_6, COALESCE(t6_.content, 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_.additional_data AS additional_data_18, p0_.special_category_code AS special_category_code_19, p0_.category_type_id AS category_type_id_20, p0_.upload_id AS upload_id_21 FROM p_category p0_ LEFT JOIN ext_translations t1_ ON t1_.locale = 'en' AND t1_.field = 'name' AND t1_.object_class = 'Greendot\\EshopBundle\\Entity\\Project\\Category' AND t1_.foreign_key = p0_.id LEFT JOIN ext_translations t2_ ON t2_.locale = 'en' AND t2_.field = 'menu_name' AND t2_.object_class = 'Greendot\\EshopBundle\\Entity\\Project\\Category' AND t2_.foreign_key = p0_.id LEFT JOIN ext_translations t3_ ON t3_.locale = 'en' AND t3_.field = 'description' AND t3_.object_class = 'Greendot\\EshopBundle\\Entity\\Project\\Category' AND t3_.foreign_key = p0_.id LEFT JOIN ext_translations t4_ ON t4_.locale = 'en' AND t4_.field = 'html' AND t4_.object_class = 'Greendot\\EshopBundle\\Entity\\Project\\Category' AND t4_.foreign_key = p0_.id LEFT JOIN ext_translations t5_ ON t5_.locale = 'en' AND t5_.field = 'title' AND t5_.object_class = 'Greendot\\EshopBundle\\Entity\\Project\\Category' AND t5_.foreign_key = p0_.id LEFT JOIN ext_translations t6_ ON t6_.locale = 'en' AND t6_.field = 'slug' AND t6_.object_class = 'Greendot\\EshopBundle\\Entity\\Project\\Category' AND t6_.foreign_key = p0_.id WHERE p0_.id = ?
Parameters:
[
  472
]
9.55 ms
(20.47%)
1
SELECT p0_.id AS id_0, COALESCE(t1_.content, p0_.name) AS name_1, COALESCE(t2_.content, p0_.menu_name) AS menu_name_2, COALESCE(t3_.content, p0_.description) AS description_3, COALESCE(t4_.content, p0_.html) AS html_4, COALESCE(t5_.content, p0_.title) AS title_5, p0_.is_active AS is_active_6, COALESCE(t6_.content, 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_.additional_data AS additional_data_18, p0_.special_category_code AS special_category_code_19, p0_.category_type_id AS category_type_id_20, p0_.upload_id AS upload_id_21 FROM p_category p0_ LEFT JOIN p_category_category p7_ ON p0_.id = p7_.category_sub_id LEFT JOIN category_menu_type c8_ ON p0_.id = c8_.category_id LEFT JOIN ext_translations t1_ ON t1_.locale = 'en' AND t1_.field = 'name' AND t1_.object_class = 'Greendot\\EshopBundle\\Entity\\Project\\Category' AND t1_.foreign_key = p0_.id LEFT JOIN ext_translations t2_ ON t2_.locale = 'en' AND t2_.field = 'menu_name' AND t2_.object_class = 'Greendot\\EshopBundle\\Entity\\Project\\Category' AND t2_.foreign_key = p0_.id LEFT JOIN ext_translations t3_ ON t3_.locale = 'en' AND t3_.field = 'description' AND t3_.object_class = 'Greendot\\EshopBundle\\Entity\\Project\\Category' AND t3_.foreign_key = p0_.id LEFT JOIN ext_translations t4_ ON t4_.locale = 'en' AND t4_.field = 'html' AND t4_.object_class = 'Greendot\\EshopBundle\\Entity\\Project\\Category' AND t4_.foreign_key = p0_.id LEFT JOIN ext_translations t5_ ON t5_.locale = 'en' AND t5_.field = 'title' AND t5_.object_class = 'Greendot\\EshopBundle\\Entity\\Project\\Category' AND t5_.foreign_key = p0_.id LEFT JOIN ext_translations t6_ ON t6_.locale = 'en' AND t6_.field = 'slug' AND t6_.object_class = 'Greendot\\EshopBundle\\Entity\\Project\\Category' AND t6_.foreign_key = p0_.id WHERE p0_.is_active = ? AND p0_.id >= ? AND p7_.id IS NULL AND c8_.menu_type_id = ? AND p0_.category_type_id IN (?) ORDER BY c8_.sequence ASC
Parameters:
[
  1
  2
  2
  17
]
5.38 ms
(11.54%)
19
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:
[
  "472"
  "en"
  "Greendot\EshopBundle\Entity\Project\Category"
]
4.38 ms
(9.39%)
2
SELECT e0_.foreign_key AS foreign_key_0 FROM ext_translations e0_ WHERE e0_.locale = ? AND e0_.object_class = ? AND e0_.field = ? AND e0_.content = ? LIMIT 1
Parameters:
[
  "en"
  "Greendot\EshopBundle\Entity\Project\Category"
  "slug"
  "dily-pro-pergoly-a-zimni-zahrady"
]
2.22 ms
(4.76%)
4
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_.additional_data AS additional_data_18, p0_.special_category_code AS special_category_code_19, p0_.category_type_id AS category_type_id_20, p0_.upload_id AS upload_id_21 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 ORDER BY p1_.sequence ASC, p0_.sequence ASC
Parameters:
[
  452
  18
]
2.09 ms
(4.48%)
8
SELECT t0.id AS id_1, t0.name AS name_2, t0.extension AS extension_3, t0.mime AS mime_4, t0.title AS title_5, t0.short_description AS short_description_6, t0.description AS description_7, t0.created AS created_8, t0.path AS path_9, t0.original_name AS original_name_10, t0.width AS width_11, t0.height AS height_12, t0.sequence AS sequence_13, t0.restriction AS restriction_14, t0.upload_group_id AS upload_group_id_15, t0.upload_type_id AS upload_type_id_16 FROM upload t0 WHERE t0.id = ?
Parameters:
[
  5948
]
1.33 ms
(2.85%)
2
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.additional_data AS additional_data_19, t0.special_category_code AS special_category_code_20, t0.category_type_id AS category_type_id_21, t0.upload_id AS upload_id_22 FROM p_category t0 WHERE t0.slug = ? LIMIT 1
Parameters:
[
  "dily-pro-pergoly-a-zimni-zahrady"
]
1.21 ms
(2.59%)
4
WITH RECURSIVE category_tree AS (
            -- Anchor member: start with the requested parent
            SELECT CAST(? AS UNSIGNED) AS id
            UNION ALL
            -- Recursive member: join the mapping table to the tree
            SELECT cc.category_sub_id
            FROM p_category_category cc
            INNER JOIN category_tree ct ON cc.category_super_id = ct.id
        )
        SELECT id FROM category_tree
Parameters:
[
  472
]
0.79 ms
(1.70%)
3
SELECT t0.id AS id_1, t0.sequence AS sequence_2, t0.is_menu_item AS is_menu_item_3, t0.is_main_category AS is_main_category_4, t0.category_super_id AS category_super_id_5, t0.category_sub_id AS category_sub_id_6 FROM p_category_category t0 WHERE t0.category_sub_id = ? ORDER BY t0.sequence ASC
Parameters:
[
  472
]
0.51 ms
(1.10%)
2
SELECT p0_.id AS id_0, p0_.sequence AS sequence_1, p0_.is_menu_item AS is_menu_item_2, p0_.is_main_category AS is_main_category_3, p0_.category_super_id AS category_super_id_4, p0_.category_sub_id AS category_sub_id_5 FROM p_category_category p0_ WHERE p0_.is_main_category = 1 AND p0_.category_sub_id = ?
Parameters:
[
  472
]
0.50 ms
(1.08%)
1
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_.additional_data AS additional_data_18, p0_.special_category_code AS special_category_code_19, p0_.category_type_id AS category_type_id_20, p0_.upload_id AS upload_id_21 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:
[
  472
  20
]
0.47 ms
(1.00%)
1
SELECT DISTINCT p0_.id AS id_0, p0_.name AS name_1, p0_.menu_name AS menu_name_2, p0_.title AS title_3, p0_.description AS description_4, p0_.html AS html_5, p0_.is_menu AS is_menu_6, p0_.slug AS slug_7, p0_.upload_id AS upload_id_8 FROM producer p0_ INNER JOIN product p1_ ON p0_.id = p1_.producer_id AND (p1_.is_active = true) INNER JOIN category_product c2_ ON p1_.id = c2_.product_id WHERE c2_.category_id IN (?) AND p1_.is_active = 1
Parameters:
[
  472
]
0.40 ms
(0.85%)
1
SELECT c0_.id AS id_0, c0_.name AS name_1, c0_.symbol AS symbol_2, c0_.rounding AS rounding_3, c0_.is_default AS is_default_4, c0_.default_locale AS default_locale_5, c0_.is_symbol_left AS is_symbol_left_6, c0_.is_deleted AS is_deleted_7 FROM currency c0_ WHERE c0_.default_locale = ? LIMIT 1
Parameters:
[
  "en"
]
0.32 ms
(0.69%)
1
SELECT DISTINCT p0_.id AS id_0, p0_.name AS name_1 FROM product p1_ INNER JOIN category_product c2_ ON p1_.id = c2_.product_id INNER JOIN product_product p3_ ON p1_.id = p3_.parent_product_id INNER JOIN product_product_type p4_ ON p3_.product_product_type_id = p4_.id INNER JOIN product p0_ ON p3_.children_product_id = p0_.id AND (p0_.is_active = true) WHERE (c2_.category_id IN (?) AND p4_.name = ? AND p1_.is_visible = 1) AND (p1_.is_active = true) ORDER BY p0_.name ASC
Parameters:
[
  472
  "COMPLEMENT"
]
0.32 ms
(0.69%)
1
SELECT COUNT(DISTINCT p0_.id) AS sclr_0 FROM product p0_ LEFT JOIN category_product c1_ ON p0_.id = c1_.product_id WHERE (p0_.is_visible = ? AND c1_.category_id IN (?) AND p0_.product_view_type_id IN (?)) AND (p0_.is_active = true)
Parameters:
[
  1
  472
  2
]
0.31 ms
(0.66%)
1
SELECT DISTINCT p0_.id AS id_0 FROM product p0_ LEFT JOIN category_product c1_ ON p0_.id = c1_.product_id WHERE (p0_.is_visible = ? AND c1_.category_id IN (?) AND p0_.product_view_type_id IN (?)) AND (p0_.is_active = true) ORDER BY c1_.sequence ASC, p0_.id DESC LIMIT 40
Parameters:
[
  1
  472
  2
]
0.29 ms
(0.62%)
1
SELECT s0_.value AS value_0 FROM settings s0_ WHERE s0_.name = ? ORDER BY s0_.name ASC LIMIT 1
Parameters:
[
  "after_registration_discount"
]
0.28 ms
(0.61%)
1
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:
[
  19
]

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.

Managed Entities

default entity manager

Class Amount of managed objects
Greendot\EshopBundle\Entity\Project\Category 12
Greendot\EshopBundle\Entity\Project\Upload 10
Greendot\EshopBundle\Entity\Project\UploadGroup 8
Greendot\EshopBundle\Entity\Project\CategoryType 3
Greendot\EshopBundle\Entity\Project\CategoryCategory 2
Greendot\EshopBundle\Entity\Project\Currency 1

Entities Mapping

Class Mapping errors
Greendot\EshopBundle\Entity\Project\Currency No errors.
Greendot\EshopBundle\Entity\Project\ConversionRate No errors.
Greendot\EshopBundle\Entity\Project\Category No errors.
Gedmo\Translatable\Entity\MappedSuperclass\AbstractTranslation No errors.
Gedmo\Translatable\Entity\Translation No errors.
Greendot\EshopBundle\Entity\Project\CategoryType No errors.
Greendot\EshopBundle\Entity\Project\Upload No errors.
Greendot\EshopBundle\Entity\Project\Label No errors.
Greendot\EshopBundle\Entity\Project\CategoryFile No errors.
Greendot\EshopBundle\Entity\Project\CategoryCategory No errors.
Greendot\EshopBundle\Entity\Project\Parameter No errors.
Greendot\EshopBundle\Entity\Project\CategoryProduct No errors.
Greendot\EshopBundle\Entity\Project\Comment No errors.
Greendot\EshopBundle\Entity\Project\CategoryPerson No errors.
Greendot\EshopBundle\Entity\Project\CategoryEvent No errors.
Greendot\EshopBundle\Entity\Project\CategoryUploadGroup No errors.
Greendot\EshopBundle\Entity\Project\CategoryMenuType No errors.
Greendot\EshopBundle\Entity\Project\SubMenuType No errors.
Greendot\EshopBundle\Entity\Project\CategoryParameterGroup No errors.
Greendot\EshopBundle\Entity\Project\Settings No errors.
Greendot\EshopBundle\Entity\Project\Product No errors.
Greendot\EshopBundle\Entity\Project\Producer No errors.
Greendot\EshopBundle\Entity\Project\ProductProduct No errors.
Greendot\EshopBundle\Entity\Project\ProductProductType No errors.
Greendot\EshopBundle\Entity\Project\UploadGroup No errors.
Greendot\EshopBundle\Entity\Project\UploadType No errors.
Greendot\EshopBundle\Entity\Project\ProductVariant No errors.
Greendot\EshopBundle\Entity\Project\Person No errors.
Greendot\EshopBundle\Entity\Project\InformationBlock No errors.