GET https://stage.tortik-annuchka.com/collection/festive

Query Metrics

9 Database Queries
8 Different statements
9.72 ms Query time
0 Invalid entities
28 Managed entities

Grouped Statements

Show all queries

Time Count Info
2.62 ms
(26.98%)
1
SELECT s0_.id AS id_0, s0_.old_id AS old_id_1, s0_.name AS name_2, s0_.name_en AS name_en_3, s0_.description AS description_4, s0_.description_en AS description_en_5, s0_.photo AS photo_6, s0_.video AS video_7, s0_.price AS price_8, s0_.discount_percentage AS discount_percentage_9, s0_.min_amount AS min_amount_10, s0_.hit AS hit_11, s0_.display AS display_12, s0_.created_at AS created_at_13, s0_.updated_at AS updated_at_14, s0_.type AS type_15 FROM shop_item_cake s1_ INNER JOIN shop_item s0_ ON s1_.id = s0_.id INNER JOIN shop_item_cake_shop_item_cake_category s3_ ON s1_.id = s3_.shop_item_cake_id INNER JOIN shop_item_cake_category s2_ ON s2_.id = s3_.shop_item_cake_category_id WHERE s0_.display = 1 AND s2_.id = 13 AND s0_.id IN (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) ORDER BY s0_.created_at DESC
Parameters:
[
  676
  680
  681
  684
  686
  690
  695
  592
  646
  601
  650
  602
  653
  612
  656
  616
  662
  617
]
1.53 ms
(15.74%)
2
SELECT s0_.id AS id_0, s0_.name AS name_1, s0_.name_en AS name_en_2, s0_.photo AS photo_3, s0_.description AS description_4, s0_.description_en AS description_en_5, s0_.slug AS slug_6, s0_.position AS position_7, s0_.display AS display_8, s0_.created_at AS created_at_9, s0_.updated_at AS updated_at_10, s0_.category_id AS category_id_11 FROM shop_item_cake_sub_category s0_ WHERE s0_.category_id = ? AND s0_.display = 1 ORDER BY s0_.position ASC
Parameters:
[
  13
]
1.36 ms
(14.02%)
1
SELECT COUNT(*) AS dctrn_count FROM (SELECT DISTINCT id_0 FROM (SELECT s0_.id AS id_0, s0_.old_id AS old_id_1, s0_.name AS name_2, s0_.name_en AS name_en_3, s0_.description AS description_4, s0_.description_en AS description_en_5, s0_.photo AS photo_6, s0_.video AS video_7, s0_.price AS price_8, s0_.discount_percentage AS discount_percentage_9, s0_.min_amount AS min_amount_10, s0_.hit AS hit_11, s0_.display AS display_12, s0_.created_at AS created_at_13, s0_.updated_at AS updated_at_14, s0_.type AS type_15 FROM shop_item_cake s1_ INNER JOIN shop_item s0_ ON s1_.id = s0_.id INNER JOIN shop_item_cake_shop_item_cake_category s3_ ON s1_.id = s3_.shop_item_cake_id INNER JOIN shop_item_cake_category s2_ ON s2_.id = s3_.shop_item_cake_category_id WHERE s0_.display = 1 AND s2_.id = 13 ORDER BY s0_.created_at DESC) dctrn_result) dctrn_table
Parameters:
[]
1.24 ms
(12.79%)
1
SELECT DISTINCT id_0 FROM (SELECT DISTINCT id_0, created_at_13 FROM (SELECT s0_.id AS id_0, s0_.old_id AS old_id_1, s0_.name AS name_2, s0_.name_en AS name_en_3, s0_.description AS description_4, s0_.description_en AS description_en_5, s0_.photo AS photo_6, s0_.video AS video_7, s0_.price AS price_8, s0_.discount_percentage AS discount_percentage_9, s0_.min_amount AS min_amount_10, s0_.hit AS hit_11, s0_.display AS display_12, s0_.created_at AS created_at_13, s0_.updated_at AS updated_at_14, s1_.id AS id_15, s1_.name AS name_16, s1_.name_en AS name_en_17, s1_.photo AS photo_18, s1_.description AS description_19, s1_.description_en AS description_en_20, s1_.slug AS slug_21, s1_.position AS position_22, s1_.display AS display_23, s1_.created_at AS created_at_24, s1_.updated_at AS updated_at_25, s0_.type AS type_26 FROM shop_item_cake s2_ INNER JOIN shop_item s0_ ON s2_.id = s0_.id INNER JOIN shop_item_cake_shop_item_cake_category s3_ ON s2_.id = s3_.shop_item_cake_id INNER JOIN shop_item_cake_category s1_ ON s1_.id = s3_.shop_item_cake_category_id WHERE s0_.display = 1 AND s1_.id = 13) dctrn_result_inner ORDER BY created_at_13 DESC) dctrn_result LIMIT 18
Parameters:
[]
1.07 ms
(10.98%)
1
SELECT MIN(s0_.price) AS sclr_0, MAX(s0_.price) AS sclr_1 FROM shop_item_cake s1_ INNER JOIN shop_item s0_ ON s1_.id = s0_.id INNER JOIN shop_item_cake_shop_item_cake_category s3_ ON s1_.id = s3_.shop_item_cake_id INNER JOIN shop_item_cake_category s2_ ON s2_.id = s3_.shop_item_cake_category_id WHERE s0_.display = 1 AND s2_.id = 13
Parameters:
[]
0.74 ms
(7.61%)
1
SELECT r0_.id AS id_0, r0_.link_from AS link_from_1, r0_.link_to AS link_to_2, r0_.code AS code_3, r0_.created_at AS created_at_4, r0_.updated_at AS updated_at_5 FROM redirect r0_ WHERE r0_.link_from = '/collection/festive'
Parameters:
[]
0.73 ms
(7.51%)
1
SELECT s0_.id AS id_0, s0_.name AS name_1, s0_.name_en AS name_en_2, s0_.photo AS photo_3, s0_.description AS description_4, s0_.description_en AS description_en_5, s0_.slug AS slug_6, s0_.position AS position_7, s0_.display AS display_8, s0_.created_at AS created_at_9, s0_.updated_at AS updated_at_10 FROM shop_item_cake_category s0_ WHERE s0_.slug = 'festive' AND s0_.display = 1
Parameters:
[]
0.42 ms
(4.37%)
1
SELECT s0_.id AS id_0, s0_.link AS link_1, s0_.title AS title_2, s0_.title_en AS title_en_3, s0_.description AS description_4, s0_.description_en AS description_en_5, s0_.keywords AS keywords_6, s0_.keywords_en AS keywords_en_7, s0_.created_at AS created_at_8, s0_.updated_at AS updated_at_9 FROM static_meta s0_ WHERE s0_.link = '/collection/festive'
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.

Managed Entities

default entity manager

Class Amount of managed objects
App\Entity\ShopItem 18
App\Entity\ShopItemCakeCategory 6
App\Entity\ShopItemCakeSubCategory 4