GET https://istanbuldiamonds.com/tr/category/15/index.html

Query Metrics

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

Grouped Statements

Show all queries

Time▼ Count Info
3.87 ms
(32.64%)
1
SELECT p0_.id AS id_0, COALESCE(p1_.title, p2_.title) AS sclr_1, COALESCE(p1_.description, p2_.description) AS sclr_2, p0_.pcode AS pcode_3, p0_.image AS image_4, p0_.price AS price_5, p0_.quantity AS quantity_6, p0_.metal AS metal_7, p0_.weight AS weight_8, p0_.status AS status_9, p0_.campaign AS campaign_10, c3_.id AS id_11 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 = ?) LEFT JOIN category c3_ ON p0_.category_id = c3_.id WHERE c3_.id = ? ORDER BY p0_.id DESC
Parameters:
[
  "tr"
  "en"
  "15"
]
1.55 ms
(13.06%)
2
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:
[]
1.26 ms
(10.63%)
1
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.category_id = ? AND t0.lang = ? LIMIT 1
Parameters:
[
  "15"
  "tr"
]
0.89 ms
(7.49%)
1
SELECT s0_.lang AS lang_0 FROM setting s0_ WHERE s0_.id >= 1
Parameters:
[]
0.66 ms
(5.56%)
2
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:
[]
0.64 ms
(5.41%)
2
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:
[]
0.64 ms
(5.38%)
2
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:
[]
0.58 ms
(4.87%)
2
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:
[]
0.53 ms
(4.46%)
2
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:
[]
0.42 ms
(3.54%)
2
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:
[]
0.42 ms
(3.53%)
2
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:
[]
0.41 ms
(3.43%)
2
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:
[]

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 1
App\Entity\Category 1

Entities Mapping

Class Mapping errors
App\Entity\Setting No 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\CategoryLang
  • The association App\Entity\CategoryLang#category refers to the inverse side field App\Entity\Category#categorylang which does not exist.