Query Metrics
9
Database Queries
8
Different statements
13.61 ms
Query time
0
Invalid entities
28
Managed entities
Grouped Statements
| Time▼ | Count | Info |
|---|---|---|
|
3.97 ms (29.14%) |
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 = 18 AND s0_.id IN (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) ORDER BY s0_.created_at DESC
Parameters:
[ 691 693 694 695 699 675 677 678 680 682 683 685 686 588 637 589 642 590 ] |
|
2.02 ms (14.84%) |
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:
[
18
]
|
|
1.90 ms (14.00%) |
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 = 18 ORDER BY s0_.created_at DESC) dctrn_result) dctrn_table
Parameters:
[] |
|
1.62 ms (11.93%) |
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 = 18) dctrn_result_inner ORDER BY created_at_13 DESC) dctrn_result LIMIT 18
Parameters:
[] |
|
1.61 ms (11.85%) |
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 = 18
Parameters:
[] |
|
1.07 ms (7.87%) |
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 = 'cakes-with-heroes' AND s0_.display = 1
Parameters:
[] |
|
0.77 ms (5.66%) |
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/cakes-with-heroes'
Parameters:
[] |
|
0.64 ms (4.71%) |
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/cakes-with-heroes'
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 |
Entities Mapping
| Class | Mapping errors |
|---|---|
| App\Entity\Redirect | No errors. |
| App\Entity\ShopItemCakeCategory | No errors. |
| App\Entity\ShopCategory | No errors. |
| App\Entity\ShopItemCakeSubCategory | No errors. |
| App\Entity\ShopItemCake | No errors. |
| App\Entity\StaticMeta | No errors. |
| App\Entity\ShopItemPhoto | No errors. |
| App\Entity\OrderShopItem | No errors. |
| App\Entity\OtherShopItem | No errors. |