Query Metrics
8
Database Queries
8
Different statements
85.69 ms
Query time
0
Invalid entities
15
Managed entities
Queries
| #▲ | Time | Info |
|---|---|---|
| 1 | 0.39 ms |
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/677/tort-no177'
Parameters:
[] |
| 2 | 0.50 ms |
SELECT t1.id AS id_2, t1.old_id AS old_id_3, t1.name AS name_4, t1.name_en AS name_en_5, t1.description AS description_6, t1.description_en AS description_en_7, t1.photo AS photo_8, t1.video AS video_9, t1.price AS price_10, t1.discount_percentage AS discount_percentage_11, t1.min_amount AS min_amount_12, t1.hit AS hit_13, t1.display AS display_14, t1.created_at AS created_at_15, t1.updated_at AS updated_at_16, t1.type FROM shop_item_cake t0 INNER JOIN shop_item t1 ON t0.id = t1.id WHERE t1.id = ? AND t1.display = ? LIMIT 1
Parameters:
[ "677" 1 ] |
| 3 | 0.75 ms |
SELECT t0.id AS id_1, t0.name AS name_2, t0.name_en AS name_en_3, t0.photo AS photo_4, t0.description AS description_5, t0.description_en AS description_en_6, t0.slug AS slug_7, t0.position AS position_8, t0.display AS display_9, t0.created_at AS created_at_10, t0.updated_at AS updated_at_11 FROM shop_item_cake_category t0 INNER JOIN shop_item_cake_shop_item_cake_category ON t0.id = shop_item_cake_shop_item_cake_category.shop_item_cake_category_id WHERE shop_item_cake_shop_item_cake_category.shop_item_cake_id = ?
Parameters:
[
677
]
|
| 4 | 4.16 ms |
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/677/tort-no177'
Parameters:
[] |
| 5 | 19.01 ms |
SELECT t0.id AS id_1, t0.file_name AS file_name_2, t0.created_at AS created_at_3, t0.updated_at AS updated_at_4, t0.item_id AS item_id_5 FROM shop_item_photo t0 WHERE t0.item_id = ?
Parameters:
[
677
]
|
| 6 | 2.12 ms |
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 s0_.id <> 677 AND s2_.id = 14 ORDER BY s0_.created_at DESC) dctrn_result) dctrn_table
Parameters:
[] |
| 7 | 43.98 ms |
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 s0_.id <> 677 AND s1_.id = 14) dctrn_result_inner ORDER BY created_at_13 DESC) dctrn_result LIMIT 8
Parameters:
[] |
| 8 | 14.77 ms |
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 s0_.id <> 677 AND s2_.id = 14 AND s0_.id IN (?, ?, ?, ?, ?, ?, ?, ?) ORDER BY s0_.created_at DESC
Parameters:
[ 684 688 689 690 692 693 694 696 ] |
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 | 9 |
| App\Entity\ShopItemCakeCategory | 6 |
Entities Mapping
| Class | Mapping errors |
|---|---|
| App\Entity\Redirect | No errors. |
| App\Entity\ShopItemCake | No errors. |
| App\Entity\ShopItem | No errors. |
| App\Entity\ShopItemPhoto | No errors. |
| App\Entity\OrderShopItem | No errors. |
| App\Entity\OtherShopItem | No errors. |
| App\Entity\ShopItemCakeCategory | No errors. |
| App\Entity\ShopItemCakeSubCategory | No errors. |
| App\Entity\ShopCategory | No errors. |
| App\Entity\StaticMeta | No errors. |