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

Query Metrics

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

Queries

Group similar statements

# Time Info
1 0.85 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 ASC, p0_.id ASC, p0_.id DESC LIMIT 20
Parameters:
[]
2 0.56 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 ASC, p0_.id ASC, p0_.id DESC
Parameters:
[
  3
  4
  5
  6
  10
  11
  12
  13
  14
  15
  18
  19
  20
  21
  22
  23
  24
  29
  1
  2
]
3 0.23 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.25 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:
[
  3
]
5 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:
[
  4
]
6 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:
[
  5
]
7 0.22 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:
[
  6
]
8 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:
[
  10
]
9 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:
[
  11
]
10 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:
[
  12
]
11 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:
[
  13
]
12 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:
[
  14
]
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:
[
  15
]
14 0.17 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
]
15 0.17 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
]
16 0.17 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
]
17 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:
[
  21
]
18 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:
[
  22
]
19 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:
[
  23
]
20 0.17 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
]
21 0.17 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
]
22 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:
[
  1
]
23 0.17 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
]
24 0.32 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.