GET http://proklima.greendot.cz/textilni-paska-pro-vnitrni-zaluzie-climax-p

Query Metrics

35 Database Queries
25 Different statements
14.77 ms Query time
0 Invalid entities
28 Managed entities

Grouped Statements

Show all queries

Time Count Info
2.38 ms
(16.14%)
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
]
1.57 ms
(10.62%)
1
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:
[
  "cs"
  "Greendot\EshopBundle\Entity\Project\Product"
  "slug"
  "textilni-paska-pro-vnitrni-zaluzie-climax"
]
1.20 ms
(8.11%)
4
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:
[
  459
]
1.16 ms
(7.87%)
2
SELECT a0_.id AS id_0, a0_.name AS name_1, a0_.description AS description_2, a0_.class AS class_3, a0_.is_purchasable AS is_purchasable_4, a0_.sequence AS sequence_5 FROM availability a0_ LEFT JOIN product_variant p1_ ON a0_.id = p1_.availability_id AND (p1_.is_active = true) WHERE p1_.product_id = ? ORDER BY a0_.sequence ASC LIMIT 1
Parameters:
[
  114
]
0.83 ms
(5.59%)
3
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:
[
  459
]
0.82 ms
(5.55%)
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 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 = ? AND p0_.category_type_id IN (?) ORDER BY c2_.sequence ASC
Parameters:
[
  1
  2
  2
  17
]
0.70 ms
(4.74%)
1
SELECT p0_.id AS id_0, p0_.sequence AS sequence_1, p0_.discount AS discount_2, p1_.id AS id_3, p1_.name AS name_4, p1_.menu_name AS menu_name_5, p1_.description AS description_6, p1_.title AS title_7, p1_.slug AS slug_8, p1_.is_active AS is_active_9, p1_.is_visible AS is_visible_10, p1_.sequence AS sequence_11, p1_.javascript AS javascript_12, p1_.text_general AS text_general_13, p1_.state AS state_14, p1_.external_id AS external_id_15, p1_.is_indexable AS is_indexable_16, p1_.meta_description AS meta_description_17, p1_.has_variant_picture AS has_variant_picture_18, p1_.sold_amount AS sold_amount_19, p1_.additional_data AS additional_data_20, p1_.is_deleted AS is_deleted_21, p2_.id AS id_22, p2_.name AS name_23, p2_.menu_name AS menu_name_24, p2_.description AS description_25, p2_.title AS title_26, p2_.slug AS slug_27, p2_.is_active AS is_active_28, p2_.is_visible AS is_visible_29, p2_.sequence AS sequence_30, p2_.javascript AS javascript_31, p2_.text_general AS text_general_32, p2_.state AS state_33, p2_.external_id AS external_id_34, p2_.is_indexable AS is_indexable_35, p2_.meta_description AS meta_description_36, p2_.has_variant_picture AS has_variant_picture_37, p2_.sold_amount AS sold_amount_38, p2_.additional_data AS additional_data_39, p2_.is_deleted AS is_deleted_40, p0_.parent_product_id AS parent_product_id_41, p0_.children_product_id AS children_product_id_42, p0_.product_product_type_id AS product_product_type_id_43, p1_.producer_id AS producer_id_44, p1_.upload_id AS upload_id_45, p1_.product_type_id AS product_type_id_46, p1_.product_view_type_id AS product_view_type_id_47, p2_.producer_id AS producer_id_48, p2_.upload_id AS upload_id_49, p2_.product_type_id AS product_type_id_50, p2_.product_view_type_id AS product_view_type_id_51 FROM product_product p0_ INNER JOIN product_product_type p3_ ON p0_.product_product_type_id = p3_.id INNER JOIN product p1_ ON p0_.parent_product_id = p1_.id AND (p1_.is_active = true) INNER JOIN product p2_ ON p0_.children_product_id = p2_.id AND (p2_.is_active = true) WHERE p3_.name = ? AND (p1_.id = ? OR p2_.id = ?) AND p1_.is_active = ? AND p2_.is_active = ? ORDER BY p0_.sequence ASC
Parameters:
[
  "RELATED"
  114
  114
  1
  1
]
0.68 ms
(4.60%)
2
SELECT p0_.data AS data_0, p1_.name AS name_1 FROM parameter p0_ LEFT JOIN product_variant p2_ ON p0_.product_variant_id = p2_.id AND (p2_.is_active = true) LEFT JOIN parameter_group p1_ ON p0_.parameter_group_id = p1_.id WHERE p2_.product_id = ?
Parameters:
[
  114
]
0.45 ms
(3.06%)
1
SELECT t0.id AS id_1, t0.name AS name_2, t0.menu_name AS menu_name_3, t0.description AS description_4, t0.title AS title_5, t0.slug AS slug_6, t0.is_active AS is_active_7, t0.is_visible AS is_visible_8, t0.sequence AS sequence_9, t0.javascript AS javascript_10, t0.text_general AS text_general_11, t0.state AS state_12, t0.external_id AS external_id_13, t0.is_indexable AS is_indexable_14, t0.meta_description AS meta_description_15, t0.has_variant_picture AS has_variant_picture_16, t0.sold_amount AS sold_amount_17, t0.additional_data AS additional_data_18, t0.is_deleted AS is_deleted_19, t0.producer_id AS producer_id_20, t0.upload_id AS upload_id_21, t0.product_type_id AS product_type_id_22, t0.product_view_type_id AS product_view_type_id_23 FROM product t0 WHERE t0.slug = ? AND ((t0.is_active = true)) LIMIT 1
Parameters:
[
  "textilni-paska-pro-vnitrni-zaluzie-climax"
]
0.41 ms
(2.76%)
1
SELECT t0.id AS id_1, t0.name AS name_2, t0.symbol AS symbol_3, t0.rounding AS rounding_4, t0.is_default AS is_default_5, t0.default_locale AS default_locale_6, t0.is_symbol_left AS is_symbol_left_7, t0.is_deleted AS is_deleted_8 FROM currency t0 WHERE t0.id = ?
Parameters:
[
  1
]
0.40 ms
(2.70%)
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_.title AS title_4, p0_.slug AS slug_5, p0_.is_active AS is_active_6, p0_.is_visible AS is_visible_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_.meta_description AS meta_description_14, p0_.has_variant_picture AS has_variant_picture_15, p0_.sold_amount AS sold_amount_16, p0_.additional_data AS additional_data_17, p0_.is_deleted AS is_deleted_18, p0_.producer_id AS producer_id_19, p0_.upload_id AS upload_id_20, p0_.product_type_id AS product_type_id_21, p0_.product_view_type_id AS product_view_type_id_22 FROM product p0_ WHERE (p0_.id = ?) AND (p0_.is_active = true)
Parameters:
[
  114
]
0.38 ms
(2.57%)
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.34 ms
(2.34%)
1
SELECT c0_.id AS id_0, c0_.sequence AS sequence_1, c0_.is_main_category AS is_main_category_2, c0_.product_id AS product_id_3, c0_.category_id AS category_id_4 FROM category_product c0_ WHERE c0_.is_main_category = 1 AND c0_.product_id = ?
Parameters:
[
  114
]
0.33 ms
(2.25%)
1
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.id = ?
Parameters:
[
  459
]
0.32 ms
(2.15%)
1
SELECT u0_.id AS id_0, u0_.type AS type_1 FROM upload_group u0_ LEFT JOIN product_upload_group p1_ ON u0_.id = p1_.upload_group_id WHERE p1_.product_id = ? AND u0_.type = ?
Parameters:
[
  114
  0
]
0.30 ms
(2.06%)
1
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:
[
  4088
]
0.30 ms
(2.06%)
1
SELECT u0_.id AS id_0, u0_.type AS type_1 FROM upload_group u0_ LEFT JOIN product_variant_upload_group p1_ ON u0_.id = p1_.upload_group_id WHERE p1_.product_variant_id IN (?) AND u0_.type = ?
Parameters:
[
  140
  0
]
0.30 ms
(2.06%)
1
SELECT t0.id AS id_1, t0.name AS name_2, t0.stock AS stock_3, t0.external_id AS external_id_4, t0.avg_restock_days AS avg_restock_days_5, t0.expected_restock_date AS expected_restock_date_6, t0.is_active AS is_active_7, t0.is_deleted AS is_deleted_8, t0.product_id AS product_id_9, t0.availability_id AS availability_id_10, t0.upload_id AS upload_id_11 FROM product_variant t0 WHERE t0.product_id = ? AND ((t0.is_active = true))
Parameters:
[
  114
]
0.30 ms
(2.04%)
1
SELECT t0.id AS id_1, t0.sequence AS sequence_2, t0.information_block_id AS information_block_id_3, t0.product_id AS product_id_4 FROM product_information_block t0 WHERE t0.product_id = ?
Parameters:
[
  114
]
0.30 ms
(2.01%)
1
SELECT t0.id AS id_1, t0.sequence AS sequence_2, t0.is_main_category AS is_main_category_3, t0.product_id AS product_id_4, t0.category_id AS category_id_5 FROM category_product t0 WHERE t0.product_id = ?
Parameters:
[
  114
]
0.28 ms
(1.87%)
1
SELECT u0_.id AS id_0, u0_.name AS name_1, u0_.extension AS extension_2, u0_.mime AS mime_3, u0_.title AS title_4, u0_.short_description AS short_description_5, u0_.description AS description_6, u0_.created AS created_7, u0_.path AS path_8, u0_.original_name AS original_name_9, u0_.width AS width_10, u0_.height AS height_11, u0_.sequence AS sequence_12, u0_.restriction AS restriction_13, u0_.upload_group_id AS upload_group_id_14, u0_.upload_type_id AS upload_type_id_15 FROM upload u0_ WHERE u0_.upload_group_id IN (NULL)
Parameters:
[]
0.26 ms
(1.77%)
1
SELECT t0.id AS id_1, t0.name AS name_2, t0.template AS template_3 FROM product_view_type t0 WHERE t0.id = ?
Parameters:
[
  2
]
0.26 ms
(1.73%)
1
SELECT t0.id AS id_1, t0.sequence AS sequence_2, t0.discount AS discount_3, t0.parent_product_id AS parent_product_id_4, t0.children_product_id AS children_product_id_5, t0.product_product_type_id AS product_product_type_id_6 FROM product_product t0 WHERE t0.parent_product_id = ?
Parameters:
[
  114
]
0.25 ms
(1.70%)
1
SELECT t0.id AS id_1, t0.name AS name_2, t0.menu_name AS menu_name_3, t0.title AS title_4, t0.description AS description_5, t0.html AS html_6, t0.is_menu AS is_menu_7, t0.slug AS slug_8, t0.upload_id AS upload_id_9 FROM producer t0 WHERE t0.id = ?
Parameters:
[
  1
]
0.24 ms
(1.65%)
1
SELECT t0.id AS id_1, t0.is_variant AS is_variant_2, t0.product_id AS product_id_3, t0.parameter_group_id AS parameter_group_id_4 FROM product_parameter_group t0 WHERE t0.product_id = ?
Parameters:
[
  114
]

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 13
Greendot\EshopBundle\Entity\Project\CategoryType 4
Greendot\EshopBundle\Entity\Project\CategoryCategory 3
Greendot\EshopBundle\Entity\Project\Product 1
Greendot\EshopBundle\Entity\Project\Producer 1
Greendot\EshopBundle\Entity\Project\ProductViewType 1
Greendot\EshopBundle\Entity\Project\Currency 1
Greendot\EshopBundle\Entity\Project\Availability 1
Greendot\EshopBundle\Entity\Project\CategoryProduct 1
Greendot\EshopBundle\Entity\Project\ProductVariant 1
Greendot\EshopBundle\Entity\Project\Upload 1

Entities Mapping

Class Mapping errors
Greendot\EshopBundle\Entity\Project\Settings No errors.
Greendot\EshopBundle\Entity\Project\Product No errors.
Gedmo\Translatable\Entity\MappedSuperclass\AbstractTranslation No errors.
Gedmo\Translatable\Entity\Translation No errors.
Greendot\EshopBundle\Entity\Project\Producer No errors.
Greendot\EshopBundle\Entity\Project\Upload No errors.
Greendot\EshopBundle\Entity\Project\ProductType No errors.
Greendot\EshopBundle\Entity\Project\ProductViewType No errors.
Greendot\EshopBundle\Entity\Project\ProductVariant No errors.
Greendot\EshopBundle\Entity\Project\Review No errors.
Greendot\EshopBundle\Entity\Project\CategoryProduct No errors.
Greendot\EshopBundle\Entity\Project\ProductUploadGroup No errors.
Greendot\EshopBundle\Entity\Project\ProductPerson No errors.
Greendot\EshopBundle\Entity\Project\Label No errors.
Greendot\EshopBundle\Entity\Project\ProductParameterGroup No errors.
Greendot\EshopBundle\Entity\Project\ProductProduct No errors.
Greendot\EshopBundle\Entity\Project\Comment No errors.
Greendot\EshopBundle\Entity\Project\ProductInformationBlock No errors.
Greendot\EshopBundle\Entity\Project\Currency No errors.
Greendot\EshopBundle\Entity\Project\ConversionRate No errors.
Greendot\EshopBundle\Entity\Project\Availability No errors.
Greendot\EshopBundle\Entity\Project\Parameter No errors.
Greendot\EshopBundle\Entity\Project\ParameterGroup No errors.
Greendot\EshopBundle\Entity\Project\Category No errors.
Greendot\EshopBundle\Entity\Project\CategoryCategory No errors.
Greendot\EshopBundle\Entity\Project\CategoryMenuType No errors.
Greendot\EshopBundle\Entity\Project\CategoryType No errors.
Greendot\EshopBundle\Entity\Project\CategoryFile 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\SubMenuType No errors.
Greendot\EshopBundle\Entity\Project\CategoryParameterGroup No errors.
Greendot\EshopBundle\Entity\Project\UploadGroup No errors.
Greendot\EshopBundle\Entity\Project\ProductVariantUploadGroup No errors.
Greendot\EshopBundle\Entity\Project\PurchaseProductVariant No errors.
Greendot\EshopBundle\Entity\Project\Video No errors.
Greendot\EshopBundle\Entity\Project\Price No errors.
Greendot\EshopBundle\Entity\Project\UploadType No errors.
Greendot\EshopBundle\Entity\Project\ProducerUploadGroup No errors.
Greendot\EshopBundle\Entity\Project\Person No errors.
Greendot\EshopBundle\Entity\Project\InformationBlock No errors.
Greendot\EshopBundle\Entity\Project\ProductProductType No errors.