GET https://hormonelife.ru/apanel/product?page=1&sort%5Bcategories%5D=DESC

Query Metrics

24 Database Queries
5 Different statements
24.37 ms Query time
0 Invalid entities
44 Managed entities

Grouped Statements

Show all queries

Time Count Info
11.48 ms
(47.11%)
1
SELECT t0.id AS id_1, t0.full_name AS full_name_2, t0.slug AS slug_3, t0.photo AS photo_4, t0.list_photo AS list_photo_5, t0.list_description AS list_description_6, t0.short_description AS short_description_7, t0.left_description AS left_description_8, t0.right_description AS right_description_9, t0.years_experience AS years_experience_10 FROM doctor t0 ORDER BY t0.full_name ASC
Parameters:
[]
10.54 ms
(43.24%)
20
SELECT t0.id AS id_1, t0.title AS title_2 FROM shop_categories t0 INNER JOIN product_category ON t0.id = product_category.category_id WHERE product_category.product_id = ?
Parameters:
[
  28
]
1.09 ms
(4.45%)
1
SELECT DISTINCT p0_.id AS id_0, (SELECT COUNT(p1_.id) AS sclr_2 FROM product p1_ INNER JOIN product_category p3_ ON p1_.id = p3_.product_id INNER JOIN shop_categories s2_ ON s2_.id = p3_.category_id WHERE p1_.id = p0_.id) AS sclr_1, p0_.id AS id_3, p0_.id AS id_4 FROM product p0_ LEFT JOIN product_category p5_ ON p0_.id = p5_.product_id LEFT JOIN shop_categories s4_ ON s4_.id = p5_.category_id ORDER BY sclr_1 DESC, p0_.id DESC, p0_.id DESC LIMIT 20
Parameters:
[]
0.64 ms
(2.61%)
1
SELECT count(DISTINCT p0_.id) AS sclr_0 FROM product p0_ LEFT JOIN product_category p2_ ON p0_.id = p2_.product_id LEFT JOIN shop_categories s1_ ON s1_.id = p2_.category_id
Parameters:
[]
0.63 ms
(2.60%)
1
SELECT p0_.id AS id_0, p0_.title AS title_1, p0_.price_with_share AS price_with_share_2, p0_.price AS price_3, p0_.image AS image_4, p0_.description AS description_5, (SELECT COUNT(p1_.id) AS sclr_7 FROM product p1_ INNER JOIN product_category p3_ ON p1_.id = p3_.product_id INNER JOIN shop_categories s2_ ON s2_.id = p3_.category_id WHERE p1_.id = p0_.id) AS sclr_6 FROM product p0_ LEFT JOIN product_category p5_ ON p0_.id = p5_.product_id LEFT JOIN shop_categories s4_ ON s4_.id = p5_.category_id WHERE p0_.id IN (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) ORDER BY sclr_6 DESC, p0_.id DESC, p0_.id DESC
Parameters:
[
  28
  27
  26
  17
  16
  9
  8
  7
  2
  1
  29
  24
  23
  22
  21
  20
  19
  18
  15
  14
]

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\Shop\Product 20
App\Entity\Doctor 20
App\Entity\Shop\Category 4

Entities Mapping

Class Mapping errors
App\Entity\Shop\Product No errors.
App\Entity\Shop\Category No errors.
App\Entity\Doctor No errors.
App\Entity\DoctorDiploma No errors.