GET https://sampleretailhub.com/shop/item/5

Query Metrics

44 Database Queries
12 Different statements
20.45 ms Query time
5 Invalid entities

Queries

Group similar statements

default connection

# Time Info
1 0.83 ms
SELECT t0.id AS id_1, t0.title AS title_2, t0.is_hit AS is_hit_3, t0.is_kit AS is_kit_4, t0.is_out_of_stock AS is_out_of_stock_5, t0.description AS description_6, t0.sku AS sku_7, t0.catalog_id_id AS catalog_id_id_8 FROM shop_items t0 WHERE t0.id = ?
Parameters:
[
  "5"
]
2 0.79 ms
SELECT s0_.id AS id_0, s0_.title AS title_1, s0_.is_hit AS is_hit_2, s0_.is_kit AS is_kit_3, s0_.is_out_of_stock AS is_out_of_stock_4, s0_.description AS description_5, s0_.sku AS sku_6, s0_.catalog_id_id AS catalog_id_id_7 FROM shop_items s0_ WHERE s0_.sku LIKE ? AND s0_.id <> ?
Parameters:
[
  "ed-%"
  5
]
3 0.51 ms
SELECT t0.id AS id_1, t0.title AS title_2, t0.is_hit AS is_hit_3, t0.is_kit AS is_kit_4, t0.is_out_of_stock AS is_out_of_stock_5, t0.description AS description_6, t0.sku AS sku_7, t0.catalog_id_id AS catalog_id_id_8 FROM shop_items t0 WHERE t0.is_hit = ?
Parameters:
[
  1
]
4 0.50 ms
SELECT t0.id AS id_1, t0.dose AS dose_2, t0.packs AS packs_3, t0.price AS price_4, t0.old_price AS old_price_5, t0.shop_item_id AS shop_item_id_6 FROM variants t0 WHERE t0.shop_item_id = ?
Parameters:
[
  5
]
5 0.48 ms
SELECT t0.id AS id_1, t0.rating AS rating_2, t0.text AS text_3, t0.name AS name_4, t0.date AS date_5, t0.shop_item_id AS shop_item_id_6 FROM reviews t0 WHERE t0.shop_item_id = ?
Parameters:
[
  5
]
6 0.42 ms
SELECT t0.id AS id_1, t0.session_id AS session_id_2, t0.count AS count_3, t0.discount AS discount_4, t0.is_free_item AS is_free_item_5, t0.shop_item_id AS shop_item_id_6, t0.variant_id AS variant_id_7 FROM shop_cart t0 WHERE t0.session_id IS NULL
Parameters:
[]
7 0.36 ms
SELECT f0_.id AS id_0, f0_.min_order AS min_order_1, f0_.variant_id AS variant_id_2 FROM free_products f0_ ORDER BY f0_.min_order ASC
Parameters:
[]
8 0.38 ms
SELECT t0.id AS id_1, t0.dose AS dose_2, t0.packs AS packs_3, t0.price AS price_4, t0.old_price AS old_price_5, t0.shop_item_id AS shop_item_id_6 FROM variants t0 WHERE t0.id = ?
Parameters:
[
  1
]
9 0.47 ms
SELECT p0_.image AS image_0 FROM product_images p0_ WHERE p0_.shop_item_id = ? LIMIT 1
Parameters:
[
  3
]
10 0.34 ms
SELECT t0.id AS id_1, t0.dose AS dose_2, t0.packs AS packs_3, t0.price AS price_4, t0.old_price AS old_price_5, t0.shop_item_id AS shop_item_id_6 FROM variants t0 WHERE t0.id = ?
Parameters:
[
  10
]
11 0.28 ms
SELECT p0_.image AS image_0 FROM product_images p0_ WHERE p0_.shop_item_id = ? LIMIT 1
Parameters:
[
  6
]
12 0.45 ms
SELECT t0.id AS id_1, t0.dose AS dose_2, t0.packs AS packs_3, t0.price AS price_4, t0.old_price AS old_price_5, t0.shop_item_id AS shop_item_id_6 FROM variants t0 WHERE t0.id = ?
Parameters:
[
  15
]
13 0.32 ms
SELECT p0_.image AS image_0 FROM product_images p0_ WHERE p0_.shop_item_id = ? LIMIT 1
Parameters:
[
  9
]
14 0.44 ms
SELECT t0.id AS id_1, t0.title AS title_2, t0.is_hit AS is_hit_3, t0.is_kit AS is_kit_4, t0.is_out_of_stock AS is_out_of_stock_5, t0.description AS description_6, t0.sku AS sku_7, t0.catalog_id_id AS catalog_id_id_8 FROM shop_items t0 WHERE t0.id = ?
Parameters:
[
  9
]
15 0.62 ms
SELECT t0.id AS id_1, t0.name AS name_2, t0.parent_id AS parent_id_3, t0.description AS description_4, t0.image AS image_5, t0.big_image AS big_image_6 FROM categories t0
Parameters:
[]
16 0.49 ms
SELECT t0.id AS id_1, t0.name AS name_2, t0.url AS url_3, t0.is_menu_item AS is_menu_item_4, t0.html AS html_5 FROM pages t0 WHERE t0.is_menu_item = ?
Parameters:
[
  1
]
17 0.49 ms
SELECT t0.id AS id_1, t0.image AS image_2, t0.shop_item_id AS shop_item_id_3 FROM product_images t0 WHERE t0.shop_item_id = ?
Parameters:
[
  5
]
18 0.62 ms
SELECT t0.id AS id_1, t0.dose AS dose_2, t0.packs AS packs_3, t0.price AS price_4, t0.old_price AS old_price_5, t0.shop_item_id AS shop_item_id_6 FROM variants t0 WHERE t0.shop_item_id = ?
Parameters:
[
  3
]
19 0.44 ms
SELECT t0.id AS id_1, t0.image AS image_2, t0.shop_item_id AS shop_item_id_3 FROM product_images t0 WHERE t0.shop_item_id = ?
Parameters:
[
  3
]
20 0.51 ms
SELECT t0.id AS id_1, t0.dose AS dose_2, t0.packs AS packs_3, t0.price AS price_4, t0.old_price AS old_price_5, t0.shop_item_id AS shop_item_id_6 FROM variants t0 WHERE t0.shop_item_id = ?
Parameters:
[
  4
]
21 0.42 ms
SELECT t0.id AS id_1, t0.image AS image_2, t0.shop_item_id AS shop_item_id_3 FROM product_images t0 WHERE t0.shop_item_id = ?
Parameters:
[
  4
]
22 0.58 ms
SELECT t0.id AS id_1, t0.dose AS dose_2, t0.packs AS packs_3, t0.price AS price_4, t0.old_price AS old_price_5, t0.shop_item_id AS shop_item_id_6 FROM variants t0 WHERE t0.shop_item_id = ?
Parameters:
[
  13
]
23 0.52 ms
SELECT t0.id AS id_1, t0.image AS image_2, t0.shop_item_id AS shop_item_id_3 FROM product_images t0 WHERE t0.shop_item_id = ?
Parameters:
[
  13
]
24 0.47 ms
SELECT t0.id AS id_1, t0.dose AS dose_2, t0.packs AS packs_3, t0.price AS price_4, t0.old_price AS old_price_5, t0.shop_item_id AS shop_item_id_6 FROM variants t0 WHERE t0.shop_item_id = ?
Parameters:
[
  18
]
25 0.43 ms
SELECT t0.id AS id_1, t0.image AS image_2, t0.shop_item_id AS shop_item_id_3 FROM product_images t0 WHERE t0.shop_item_id = ?
Parameters:
[
  18
]
26 0.43 ms
SELECT t0.id AS id_1, t0.dose AS dose_2, t0.packs AS packs_3, t0.price AS price_4, t0.old_price AS old_price_5, t0.shop_item_id AS shop_item_id_6 FROM variants t0 WHERE t0.shop_item_id = ?
Parameters:
[
  19
]
27 0.41 ms
SELECT t0.id AS id_1, t0.image AS image_2, t0.shop_item_id AS shop_item_id_3 FROM product_images t0 WHERE t0.shop_item_id = ?
Parameters:
[
  19
]
28 0.46 ms
SELECT t0.id AS id_1, t0.dose AS dose_2, t0.packs AS packs_3, t0.price AS price_4, t0.old_price AS old_price_5, t0.shop_item_id AS shop_item_id_6 FROM variants t0 WHERE t0.shop_item_id = ?
Parameters:
[
  20
]
29 0.45 ms
SELECT t0.id AS id_1, t0.image AS image_2, t0.shop_item_id AS shop_item_id_3 FROM product_images t0 WHERE t0.shop_item_id = ?
Parameters:
[
  20
]
30 0.46 ms
SELECT t0.id AS id_1, t0.dose AS dose_2, t0.packs AS packs_3, t0.price AS price_4, t0.old_price AS old_price_5, t0.shop_item_id AS shop_item_id_6 FROM variants t0 WHERE t0.shop_item_id = ?
Parameters:
[
  21
]
31 0.41 ms
SELECT t0.id AS id_1, t0.image AS image_2, t0.shop_item_id AS shop_item_id_3 FROM product_images t0 WHERE t0.shop_item_id = ?
Parameters:
[
  21
]
32 0.39 ms
SELECT t0.id AS id_1, t0.dose AS dose_2, t0.packs AS packs_3, t0.price AS price_4, t0.old_price AS old_price_5, t0.shop_item_id AS shop_item_id_6 FROM variants t0 WHERE t0.shop_item_id = ?
Parameters:
[
  22
]
33 0.30 ms
SELECT t0.id AS id_1, t0.dose AS dose_2, t0.packs AS packs_3, t0.price AS price_4, t0.old_price AS old_price_5, t0.shop_item_id AS shop_item_id_6 FROM variants t0 WHERE t0.shop_item_id = ?
Parameters:
[
  23
]
34 0.33 ms
SELECT t0.id AS id_1, t0.dose AS dose_2, t0.packs AS packs_3, t0.price AS price_4, t0.old_price AS old_price_5, t0.shop_item_id AS shop_item_id_6 FROM variants t0 WHERE t0.shop_item_id = ?
Parameters:
[
  24
]
35 0.41 ms
SELECT t0.id AS id_1, t0.dose AS dose_2, t0.packs AS packs_3, t0.price AS price_4, t0.old_price AS old_price_5, t0.shop_item_id AS shop_item_id_6 FROM variants t0 WHERE t0.shop_item_id = ?
Parameters:
[
  3
]
36 0.51 ms
SELECT t0.id AS id_1, t0.dose AS dose_2, t0.packs AS packs_3, t0.price AS price_4, t0.old_price AS old_price_5, t0.shop_item_id AS shop_item_id_6 FROM variants t0 WHERE t0.shop_item_id = ?
Parameters:
[
  4
]
37 0.40 ms
SELECT t0.id AS id_1, t0.dose AS dose_2, t0.packs AS packs_3, t0.price AS price_4, t0.old_price AS old_price_5, t0.shop_item_id AS shop_item_id_6 FROM variants t0 WHERE t0.shop_item_id = ?
Parameters:
[
  5
]
38 0.30 ms
SELECT t0.id AS id_1, t0.image AS image_2, t0.shop_item_id AS shop_item_id_3 FROM product_images t0 WHERE t0.shop_item_id = ?
Parameters:
[
  6
]
39 0.46 ms
SELECT t0.id AS id_1, t0.dose AS dose_2, t0.packs AS packs_3, t0.price AS price_4, t0.old_price AS old_price_5, t0.shop_item_id AS shop_item_id_6 FROM variants t0 WHERE t0.shop_item_id = ?
Parameters:
[
  6
]
40 0.56 ms
SELECT t0.id AS id_1, t0.image AS image_2, t0.shop_item_id AS shop_item_id_3 FROM product_images t0 WHERE t0.shop_item_id = ?
Parameters:
[
  14
]
41 0.48 ms
SELECT t0.id AS id_1, t0.dose AS dose_2, t0.packs AS packs_3, t0.price AS price_4, t0.old_price AS old_price_5, t0.shop_item_id AS shop_item_id_6 FROM variants t0 WHERE t0.shop_item_id = ?
Parameters:
[
  14
]
42 0.39 ms
SELECT t0.id AS id_1, t0.dose AS dose_2, t0.packs AS packs_3, t0.price AS price_4, t0.old_price AS old_price_5, t0.shop_item_id AS shop_item_id_6 FROM variants t0 WHERE t0.shop_item_id = ?
Parameters:
[
  21
]
43 0.54 ms
SELECT t0.id AS id_1, t0.image AS image_2, t0.shop_item_id AS shop_item_id_3 FROM product_images t0 WHERE t0.shop_item_id = ?
Parameters:
[
  26
]
44 0.59 ms
SELECT t0.id AS id_1, t0.dose AS dose_2, t0.packs AS packs_3, t0.price AS price_4, t0.old_price AS old_price_5, t0.shop_item_id AS shop_item_id_6 FROM variants t0 WHERE t0.shop_item_id = ?
Parameters:
[
  26
]

Database Connections

Name Service
tenant doctrine.dbal.tenant_connection
default doctrine.dbal.default_connection

Entity Managers

Name Service
tenant doctrine.orm.tenant_entity_manager
default doctrine.orm.default_entity_manager

Second Level Cache

Second Level Cache is not enabled.

Entities Mapping

tenant entity manager

No loaded entities.

default entity manager

Class Mapping errors
App\Entity\Main\ShopItems
  • The association App\Entity\Main\ShopItems#catalogId refers to the inverse side field App\Entity\Main\Categories#id which is not defined as association.
  • The association App\Entity\Main\ShopItems#catalogId refers to the inverse side field App\Entity\Main\Categories#id which does not exist.
  • The mappings App\Entity\Main\ShopItems#images and App\Entity\Main\ProductImages#shopItem are inconsistent with each other.
  • The mappings App\Entity\Main\ShopItems#variants and App\Entity\Main\Variants#shopItem are inconsistent with each other.
  • The mappings App\Entity\Main\ShopItems#reviews and App\Entity\Main\Reviews#shopItem are inconsistent with each other.
App\Entity\Main\Categories No errors.
App\Entity\Main\ShopCart
  • The mappings App\Entity\Main\ShopCart#variant and App\Entity\Main\Variants#shopCarts are inconsistent with each other.
App\Entity\Main\ProductImages
  • The association App\Entity\Main\ProductImages#shopItem refers to the inverse side field App\Entity\Main\ShopItems#id which is not defined as association.
  • The association App\Entity\Main\ProductImages#shopItem refers to the inverse side field App\Entity\Main\ShopItems#id which does not exist.
App\Entity\Main\Variants
  • The association App\Entity\Main\Variants#shopItem refers to the inverse side field App\Entity\Main\ShopItems#id which is not defined as association.
  • The association App\Entity\Main\Variants#shopItem refers to the inverse side field App\Entity\Main\ShopItems#id which does not exist.
  • The association App\Entity\Main\Variants#shopCarts refers to the owning side field App\Entity\Main\ShopCart#shopCarts which does not exist.
App\Entity\Main\Reviews
  • The association App\Entity\Main\Reviews#shopItem refers to the inverse side field App\Entity\Main\ShopItems#id which is not defined as association.
  • The association App\Entity\Main\Reviews#shopItem refers to the inverse side field App\Entity\Main\ShopItems#id which does not exist.
App\Entity\Main\FreeProducts No errors.
App\Entity\Main\Pages No errors.