GET https://istanbuldiamonds.com/tr

Query Metrics

43 Database Queries
14 Different statements
305.78 ms Query time
3 Invalid entities
53 Managed entities

Queries

Group similar statements

#▲ Time Info
1 26.11 ms
SELECT s0_.lang AS lang_0 FROM setting s0_ WHERE s0_.id >= 1
Parameters:
[]
2 7.35 ms
SELECT t0.id AS id_1, t0.lang AS lang_2, t0.title AS title_3, t0.keywords AS keywords_4, t0.description AS description_5, t0.about AS about_6, t0.contact AS contact_7 FROM setting_lang t0 WHERE t0.lang = ? ORDER BY t0.id ASC LIMIT 1
Parameters:
[
  "tr"
]
3 8.10 ms
SELECT t0.id AS id_1, t0.lang AS lang_2, t0.title AS title_3, t0.keywords AS keywords_4, t0.description AS description_5, t0.category_id AS category_id_6 FROM category_lang t0 WHERE t0.lang = ?
Parameters:
[
  "tr"
]
4 49.52 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, p0_.pcode AS pcode_12, p0_.image AS image_13, p0_.price AS price_14, p0_.quantity AS quantity_15, p0_.metal AS metal_16, p0_.id AS id_17, p0_.status AS status_18, p0_.category_id AS category_id_19 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_.status = 1 LIMIT 12
Parameters:
[
  "tr"
  "en"
]
5 4.84 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, p0_.pcode AS pcode_12, p0_.image AS image_13, p0_.price AS price_14, p0_.quantity AS quantity_15, p0_.metal AS metal_16, p0_.id AS id_17, p0_.status AS status_18, p0_.category_id AS category_id_19 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_.status = 1 LIMIT 12
Parameters:
[
  "tr"
  "en"
]
6 9.43 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 = 'tr' AND c.parent_id is NULL AND c.status=1 ORDER BY cl.title ASC
Parameters:
[]
7 5.95 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 = 'tr' AND c.parent_id = 23  AND c.status=1 ORDER BY cl.title ASC
Parameters:
[]
8 2.72 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 = 'tr' AND c.parent_id = 7  AND c.status=1 ORDER BY cl.title ASC
Parameters:
[]
9 5.95 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 = 'tr' AND c.parent_id = 13  AND c.status=1 ORDER BY cl.title ASC
Parameters:
[]
10 10.92 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 = 'tr' AND c.parent_id = 1  AND c.status=1 ORDER BY cl.title ASC
Parameters:
[]
11 8.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 = 'tr' AND c.parent_id = 11  AND c.status=1 ORDER BY cl.title ASC
Parameters:
[]
12 12.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 = 'tr' AND c.parent_id = 2  AND c.status=1 ORDER BY cl.title ASC
Parameters:
[]
13 8.54 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 = 'tr' AND c.parent_id = 12  AND c.status=1 ORDER BY cl.title ASC
Parameters:
[]
14 10.89 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 = 'tr' AND c.parent_id = 3  AND c.status=1 ORDER BY cl.title ASC
Parameters:
[]
15 10.49 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 = 'tr' AND c.parent_id is NULL AND c.status=1 ORDER BY cl.title ASC
Parameters:
[]
16 10.90 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 = 'tr' AND c.parent_id = 23  AND c.status=1 ORDER BY cl.title ASC
Parameters:
[]
17 6.40 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 = 'tr' AND c.parent_id = 7  AND c.status=1 ORDER BY cl.title ASC
Parameters:
[]
18 10.59 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 = 'tr' AND c.parent_id = 13  AND c.status=1 ORDER BY cl.title ASC
Parameters:
[]
19 3.87 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 = 'tr' AND c.parent_id = 1  AND c.status=1 ORDER BY cl.title ASC
Parameters:
[]
20 1.08 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 = 'tr' AND c.parent_id = 11  AND c.status=1 ORDER BY cl.title ASC
Parameters:
[]
21 2.65 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 = 'tr' AND c.parent_id = 2  AND c.status=1 ORDER BY cl.title ASC
Parameters:
[]
22 2.98 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 = 'tr' AND c.parent_id = 12  AND c.status=1 ORDER BY cl.title ASC
Parameters:
[]
23 4.02 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 = 'tr' AND c.parent_id = 3  AND c.status=1 ORDER BY cl.title ASC
Parameters:
[]
24 9.29 ms
SELECT t0.id AS id_1, t0.image AS image_2, t0.status AS status_3, t0.parent_id AS parent_id_4 FROM category t0 WHERE t0.id = ?
Parameters:
[
  1
]
25 3.79 ms
SELECT t0.id AS id_1, t0.image AS image_2, t0.status AS status_3, t0.parent_id AS parent_id_4 FROM category t0 WHERE t0.id = ?
Parameters:
[
  2
]
26 1.84 ms
SELECT t0.id AS id_1, t0.image AS image_2, t0.status AS status_3, t0.parent_id AS parent_id_4 FROM category t0 WHERE t0.id = ?
Parameters:
[
  3
]
27 10.54 ms
SELECT t0.id AS id_1, t0.image AS image_2, t0.status AS status_3, t0.parent_id AS parent_id_4 FROM category t0 WHERE t0.id = ?
Parameters:
[
  7
]
28 13.35 ms
SELECT t0.id AS id_1, t0.image AS image_2, t0.status AS status_3, t0.parent_id AS parent_id_4 FROM category t0 WHERE t0.id = ?
Parameters:
[
  8
]
29 10.95 ms
SELECT t0.id AS id_1, t0.image AS image_2, t0.status AS status_3, t0.parent_id AS parent_id_4 FROM category t0 WHERE t0.id = ?
Parameters:
[
  9
]
30 10.80 ms
SELECT t0.id AS id_1, t0.image AS image_2, t0.status AS status_3, t0.parent_id AS parent_id_4 FROM category t0 WHERE t0.id = ?
Parameters:
[
  10
]
31 1.84 ms
SELECT t0.id AS id_1, t0.image AS image_2, t0.status AS status_3, t0.parent_id AS parent_id_4 FROM category t0 WHERE t0.id = ?
Parameters:
[
  11
]
32 12.24 ms
SELECT t0.id AS id_1, t0.image AS image_2, t0.status AS status_3, t0.parent_id AS parent_id_4 FROM category t0 WHERE t0.id = ?
Parameters:
[
  12
]
33 2.87 ms
SELECT t0.id AS id_1, t0.image AS image_2, t0.status AS status_3, t0.parent_id AS parent_id_4 FROM category t0 WHERE t0.id = ?
Parameters:
[
  13
]
34 0.36 ms
SELECT t0.id AS id_1, t0.image AS image_2, t0.status AS status_3, t0.parent_id AS parent_id_4 FROM category t0 WHERE t0.id = ?
Parameters:
[
  14
]
35 0.41 ms
SELECT t0.id AS id_1, t0.image AS image_2, t0.status AS status_3, t0.parent_id AS parent_id_4 FROM category t0 WHERE t0.id = ?
Parameters:
[
  15
]
36 0.33 ms
SELECT t0.id AS id_1, t0.image AS image_2, t0.status AS status_3, t0.parent_id AS parent_id_4 FROM category t0 WHERE t0.id = ?
Parameters:
[
  16
]
37 0.31 ms
SELECT t0.id AS id_1, t0.image AS image_2, t0.status AS status_3, t0.parent_id AS parent_id_4 FROM category t0 WHERE t0.id = ?
Parameters:
[
  17
]
38 0.55 ms
SELECT t0.id AS id_1, t0.image AS image_2, t0.status AS status_3, t0.parent_id AS parent_id_4 FROM category t0 WHERE t0.id = ?
Parameters:
[
  18
]
39 0.49 ms
SELECT t0.id AS id_1, t0.image AS image_2, t0.status AS status_3, t0.parent_id AS parent_id_4 FROM category t0 WHERE t0.id = ?
Parameters:
[
  19
]
40 0.41 ms
SELECT t0.id AS id_1, t0.image AS image_2, t0.status AS status_3, t0.parent_id AS parent_id_4 FROM category t0 WHERE t0.id = ?
Parameters:
[
  20
]
41 0.94 ms
SELECT t0.id AS id_1, t0.image AS image_2, t0.status AS status_3, t0.parent_id AS parent_id_4 FROM category t0 WHERE t0.id = ?
Parameters:
[
  21
]
42 0.50 ms
SELECT t0.id AS id_1, t0.image AS image_2, t0.status AS status_3, t0.parent_id AS parent_id_4 FROM category t0 WHERE t0.id = ?
Parameters:
[
  22
]
43 0.42 ms
SELECT t0.id AS id_1, t0.image AS image_2, t0.status AS status_3, t0.parent_id AS parent_id_4 FROM category t0 WHERE t0.id = ?
Parameters:
[
  23
]

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\CategoryLang 20
App\Entity\Category 20
App\Entity\Product 12
App\Entity\SettingLang 1

Entities Mapping

Class Mapping errors
App\Entity\Setting No errors.
App\Entity\SettingLang No errors.
App\Entity\CategoryLang
  • The association App\Entity\CategoryLang#category refers to the inverse side field App\Entity\Category#categorylang which does not exist.
App\Entity\Category
  • The mappings App\Entity\Category#categoryLangs and App\Entity\CategoryLang#category are inconsistent with each other.
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\ProductImages No errors.
App\Entity\Image No errors.