Query Metrics
6
Database Queries
5
Different statements
1.85 ms
Query time
0
Invalid entities
17
Managed entities
Grouped Statements
| Time▼ | Count | Info | ||||||||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
0.55 ms (29.61%) |
1 |
SELECT COUNT(*) AS dctrn_count FROM (SELECT DISTINCT id_0 FROM (SELECT p0_.id AS id_0, p0_.name AS name_1, p0_.slug AS slug_2, p0_.description AS description_3, p0_.price AS price_4, p0_.old_price AS old_price_5, p0_.stock AS stock_6, p0_.image AS image_7, p0_.volume AS volume_8, p0_.gender AS gender_9, p0_.featured AS featured_10, p0_.created_at AS created_at_11, c1_.id AS id_12, c1_.name AS name_13, c1_.slug AS slug_14, c1_.description AS description_15, b2_.id AS id_16, b2_.name AS name_17, b2_.slug AS slug_18, b2_.description AS description_19 FROM product p0_ LEFT JOIN category c1_ ON p0_.category_id = c1_.id LEFT JOIN brand b2_ ON p0_.brand_id = b2_.id WHERE p0_.old_price IS NOT NULL AND p0_.old_price > p0_.price ORDER BY p0_.created_at DESC) dctrn_result) dctrn_table
Parameters:
[]
|
||||||||||||||||||||||||||||||
|
0.42 ms (22.50%) |
1 |
SELECT p0_.id AS id_0, p0_.name AS name_1, p0_.slug AS slug_2, p0_.description AS description_3, p0_.price AS price_4, p0_.old_price AS old_price_5, p0_.stock AS stock_6, p0_.image AS image_7, p0_.volume AS volume_8, p0_.gender AS gender_9, p0_.featured AS featured_10, p0_.created_at AS created_at_11, c1_.id AS id_12, c1_.name AS name_13, c1_.slug AS slug_14, c1_.description AS description_15, b2_.id AS id_16, b2_.name AS name_17, b2_.slug AS slug_18, b2_.description AS description_19, p0_.category_id AS category_id_20, p0_.brand_id AS brand_id_21 FROM product p0_ LEFT JOIN category c1_ ON p0_.category_id = c1_.id LEFT JOIN brand b2_ ON p0_.brand_id = b2_.id WHERE p0_.old_price IS NOT NULL AND p0_.old_price > p0_.price AND p0_.id IN (?, ?, ?, ?, ?, ?) ORDER BY p0_.created_at DESC
Parameters:
[ 1 4 8 10 13 16 ] |
||||||||||||||||||||||||||||||
|
0.37 ms (19.75%) |
1 |
SELECT DISTINCT id_0 FROM (SELECT DISTINCT id_0, created_at_11 FROM (SELECT p0_.id AS id_0, p0_.name AS name_1, p0_.slug AS slug_2, p0_.description AS description_3, p0_.price AS price_4, p0_.old_price AS old_price_5, p0_.stock AS stock_6, p0_.image AS image_7, p0_.volume AS volume_8, p0_.gender AS gender_9, p0_.featured AS featured_10, p0_.created_at AS created_at_11, c1_.id AS id_12, c1_.name AS name_13, c1_.slug AS slug_14, c1_.description AS description_15, b2_.id AS id_16, b2_.name AS name_17, b2_.slug AS slug_18, b2_.description AS description_19 FROM product p0_ LEFT JOIN category c1_ ON p0_.category_id = c1_.id LEFT JOIN brand b2_ ON p0_.brand_id = b2_.id WHERE p0_.old_price IS NOT NULL AND p0_.old_price > p0_.price) dctrn_result_inner ORDER BY created_at_11 DESC) dctrn_result LIMIT 9
Parameters:
[] |
||||||||||||||||||||||||||||||
|
0.36 ms (19.49%) |
2 |
SELECT t0.id AS id_1, t0.name AS name_2, t0.slug AS slug_3, t0.description AS description_4 FROM category t0 ORDER BY t0.id ASC
Parameters:
[]
|
||||||||||||||||||||||||||||||
|
0.16 ms (8.66%) |
1 |
SELECT t0.id AS id_1, t0.name AS name_2, t0.slug AS slug_3, t0.description AS description_4 FROM brand t0
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\Category | 6 |
| App\Entity\Product | 6 |
| App\Entity\Brand | 5 |
Entities Mapping
| Class | Mapping errors |
|---|---|
| App\Entity\Product | No errors. |
| App\Entity\Category | No errors. |
| App\Entity\Brand | No errors. |