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

Queries

Group similar statements

# Time Info
1 1.09 ms
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:
[]
2 0.63 ms
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
]
3 0.64 ms
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:
[]
4 0.20 ms
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
]
5 0.19 ms
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:
[
  27
]
6 0.18 ms
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:
[
  26
]
7 0.20 ms
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:
[
  17
]
8 0.18 ms
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:
[
  16
]
9 0.18 ms
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:
[
  9
]
10 0.18 ms
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:
[
  8
]
11 0.18 ms
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:
[
  7
]
12 0.20 ms
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:
[
  2
]
13 0.19 ms
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:
[
  1
]
14 0.18 ms
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:
[
  29
]
15 0.36 ms
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:
[
  24
]
16 0.23 ms
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:
[
  23
]
17 0.24 ms
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:
[
  22
]
18 2.97 ms
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:
[
  21
]
19 0.21 ms
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:
[
  20
]
20 0.75 ms
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:
[
  19
]
21 0.96 ms
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:
[
  18
]
22 0.89 ms
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:
[
  15
]
23 1.86 ms
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:
[
  14
]
24 11.48 ms
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:
[]

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.