GET https://istanbuldiamonds.com/en/product/241

Query Metrics

21 Database Queries
12 Different statements
61.19 ms Query time
2 Invalid entities
3 Managed entities

Queries

Group similar statements

# Time Info
1 1.25 ms
SELECT p0_.id AS id_0, p0_.pcode AS pcode_1, p0_.image AS image_2, p0_.price AS price_3, p0_.quantity AS quantity_4, p0_.metal AS metal_5, p0_.weight AS weight_6, p0_.user_id AS user_id_7, p0_.status AS status_8, p0_.campaign AS campaign_9, COALESCE(p1_.title, p2_.title) AS sclr_10, COALESCE(p1_.description, p2_.description) AS sclr_11, COALESCE(p1_.keywords, p2_.keywords) AS sclr_12, COALESCE(p1_.detail, p2_.detail) AS sclr_13, p0_.pcode AS pcode_14, p0_.image AS image_15, p0_.price AS price_16, p0_.quantity AS quantity_17, p0_.metal AS metal_18, p0_.id AS id_19, p0_.status AS status_20, p0_.weight AS weight_21, p0_.category_id AS category_id_22 FROM product p0_ LEFT JOIN product_lang p1_ ON p0_.id = p1_.product_id AND (p1_.lang = ?) LEFT JOIN product_lang p2_ ON p0_.id = p2_.product_id AND (p2_.lang = ?) WHERE p0_.id = ? LIMIT 1
Parameters:
[
  "en"
  "en"
  "241"
]
2 0.52 ms
SELECT t0.id AS id_1, t0.image AS image_2, t0.title AS title_3, t0.product_id AS product_id_4 FROM image t0 WHERE t0.product_id = ?
Parameters:
[
  "241"
]
3 0.65 ms
SELECT t0.id AS id_1, t0.product_id AS product_id_2, t0.stone AS stone_3, t0.size AS size_4, t0.quantity AS quantity_5, t0.color AS color_6, t0.clarity AS clarity_7, t0.shape AS shape_8 FROM product_stone t0 WHERE t0.product_id = ? ORDER BY t0.stone ASC, t0.shape ASC, t0.size DESC
Parameters:
[
  "241"
]
4 0.26 ms
SELECT c.id as catid, cl.title as title FROM category c JOIN category_lang cl on c.id = cl.category_id WHERE cl.lang = 'en' AND c.parent_id is NULL AND c.status=1 ORDER BY cl.title ASC
Parameters:
[]
5 0.16 ms
SELECT c.id as catid, cl.title as title FROM category c JOIN category_lang cl on c.id = cl.category_id WHERE cl.lang = 'en' AND c.parent_id = 23  AND c.status=1 ORDER BY cl.title ASC
Parameters:
[]
6 0.11 ms
SELECT c.id as catid, cl.title as title FROM category c JOIN category_lang cl on c.id = cl.category_id WHERE cl.lang = 'en' AND c.parent_id = 7  AND c.status=1 ORDER BY cl.title ASC
Parameters:
[]
7 0.14 ms
SELECT c.id as catid, cl.title as title FROM category c JOIN category_lang cl on c.id = cl.category_id WHERE cl.lang = 'en' AND c.parent_id = 11  AND c.status=1 ORDER BY cl.title ASC
Parameters:
[]
8 0.15 ms
SELECT c.id as catid, cl.title as title FROM category c JOIN category_lang cl on c.id = cl.category_id WHERE cl.lang = 'en' AND c.parent_id = 2  AND c.status=1 ORDER BY cl.title ASC
Parameters:
[]
9 0.14 ms
SELECT c.id as catid, cl.title as title FROM category c JOIN category_lang cl on c.id = cl.category_id WHERE cl.lang = 'en' AND c.parent_id = 12  AND c.status=1 ORDER BY cl.title ASC
Parameters:
[]
10 0.15 ms
SELECT c.id as catid, cl.title as title FROM category c JOIN category_lang cl on c.id = cl.category_id WHERE cl.lang = 'en' AND c.parent_id = 1  AND c.status=1 ORDER BY cl.title ASC
Parameters:
[]
11 0.17 ms
SELECT c.id as catid, cl.title as title FROM category c JOIN category_lang cl on c.id = cl.category_id WHERE cl.lang = 'en' AND c.parent_id = 3  AND c.status=1 ORDER BY cl.title ASC
Parameters:
[]
12 0.15 ms
SELECT c.id as catid, cl.title as title FROM category c JOIN category_lang cl on c.id = cl.category_id WHERE cl.lang = 'en' AND c.parent_id = 13  AND c.status=1 ORDER BY cl.title ASC
Parameters:
[]
13 0.20 ms
SELECT c.id as catid, cl.title as title FROM category c JOIN category_lang cl on c.id = cl.category_id WHERE cl.lang = 'en' AND c.parent_id is NULL AND c.status=1 ORDER BY cl.title ASC
Parameters:
[]
14 0.16 ms
SELECT c.id as catid, cl.title as title FROM category c JOIN category_lang cl on c.id = cl.category_id WHERE cl.lang = 'en' AND c.parent_id = 23  AND c.status=1 ORDER BY cl.title ASC
Parameters:
[]
15 0.15 ms
SELECT c.id as catid, cl.title as title FROM category c JOIN category_lang cl on c.id = cl.category_id WHERE cl.lang = 'en' AND c.parent_id = 7  AND c.status=1 ORDER BY cl.title ASC
Parameters:
[]
16 0.14 ms
SELECT c.id as catid, cl.title as title FROM category c JOIN category_lang cl on c.id = cl.category_id WHERE cl.lang = 'en' AND c.parent_id = 11  AND c.status=1 ORDER BY cl.title ASC
Parameters:
[]
17 0.12 ms
SELECT c.id as catid, cl.title as title FROM category c JOIN category_lang cl on c.id = cl.category_id WHERE cl.lang = 'en' AND c.parent_id = 2  AND c.status=1 ORDER BY cl.title ASC
Parameters:
[]
18 0.15 ms
SELECT c.id as catid, cl.title as title FROM category c JOIN category_lang cl on c.id = cl.category_id WHERE cl.lang = 'en' AND c.parent_id = 12  AND c.status=1 ORDER BY cl.title ASC
Parameters:
[]
19 0.11 ms
SELECT c.id as catid, cl.title as title FROM category c JOIN category_lang cl on c.id = cl.category_id WHERE cl.lang = 'en' AND c.parent_id = 1  AND c.status=1 ORDER BY cl.title ASC
Parameters:
[]
20 55.74 ms
SELECT c.id as catid, cl.title as title FROM category c JOIN category_lang cl on c.id = cl.category_id WHERE cl.lang = 'en' AND c.parent_id = 3  AND c.status=1 ORDER BY cl.title ASC
Parameters:
[]
21 0.58 ms
SELECT c.id as catid, cl.title as title FROM category c JOIN category_lang cl on c.id = cl.category_id WHERE cl.lang = 'en' AND c.parent_id = 13  AND c.status=1 ORDER BY cl.title ASC
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\Product 1
App\Entity\Category 1
App\Entity\ProductStone 1

Entities Mapping

Class Mapping errors
App\Entity\Product
  • The association App\Entity\Product#translations refers to the owning side field App\Entity\ProductLang#product_id which does not exist.
  • The field App\Entity\Product#productLangs is on the inverse side of a bi-directional relationship, but the specified mappedBy association on the target-entity App\Entity\ProductLang#product does not contain the required 'inversedBy: "productLangs"' attribute.
App\Entity\ProductLang No errors.
App\Entity\Category
  • The mappings App\Entity\Category#categoryLangs and App\Entity\CategoryLang#category are inconsistent with each other.
App\Entity\ProductImages No errors.
App\Entity\Image No errors.
App\Entity\ProductStone No errors.