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

Query Metrics

33 Database Queries
12 Different statements
16.00 ms Query time
5 Invalid entities

Grouped Statements

Show all queries

default connection

Time Count Info
6.33 ms
(39.55%)
10
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:
[
  7
]
4.71 ms
(29.41%)
8
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:
[
  7
]
0.85 ms
(5.34%)
3
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
]
0.82 ms
(5.12%)
2
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:
[
  "7"
]
0.81 ms
(5.06%)
3
SELECT p0_.image AS image_0 FROM product_images p0_ WHERE p0_.shop_item_id = ? LIMIT 1
Parameters:
[
  3
]
0.51 ms
(3.18%)
1
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
]
0.44 ms
(2.73%)
1
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:
[]
0.39 ms
(2.45%)
1
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:
[
  "wh-%"
  7
]
0.34 ms
(2.11%)
1
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
]
0.28 ms
(1.76%)
1
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:
[
  7
]
0.27 ms
(1.71%)
1
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:
[]
0.25 ms
(1.56%)
1
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:
[]

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.