Query Metrics
14
Database Queries
5
Different statements
3.43 ms
Query time
0
Invalid entities
Grouped Statements
| Time▼ | Count | Info |
|---|---|---|
|
1.72 ms (50.24%) |
10 |
SELECT count(f0_.id) AS sclr_0 FROM finance_trade_product_comment f0_ WHERE f0_.product_id = ?
Parameters:
[
54
]
|
|
0.75 ms (21.79%) |
1 |
SELECT count(p0_.id) AS sclr_0 FROM product p0_ LEFT JOIN product_category p1_ ON p0_.category_id = p1_.id WHERE p1_.id = ? OR p1_.parent_id = ? ORDER BY p0_.price ASC
Parameters:
[ "2" "2" ] |
|
0.37 ms (10.87%) |
1 |
SELECT DISTINCT p0_.id AS id_0, p0_.price AS price_1 FROM product p0_ LEFT JOIN product_category p1_ ON p0_.category_id = p1_.id WHERE p1_.id = ? OR p1_.parent_id = ? ORDER BY p0_.price ASC LIMIT 10
Parameters:
[ "2" "2" ] |
|
0.30 ms (8.68%) |
1 |
SELECT count(DISTINCT p0_.id) AS sclr_0 FROM product p0_ LEFT JOIN product_category p1_ ON p0_.category_id = p1_.id WHERE p1_.id = ? OR p1_.parent_id = ?
Parameters:
[ "2" "2" ] |
|
0.29 ms (8.42%) |
1 |
SELECT p0_.id AS id_0, p0_.old_price AS old_price_1, p0_.price AS price_2, p0_.name AS name_3, p0_.image AS image_4, p0_.sales AS sales_5 FROM product p0_ LEFT JOIN product_category p1_ ON p0_.category_id = p1_.id WHERE (p1_.id = ? OR p1_.parent_id = ?) AND p0_.id IN (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) ORDER BY p0_.price ASC
Parameters:
[ "2" "2" 54 61 46 34 62 69 16 17 75 52 ] |
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.
Entities Mapping
| Class | Mapping errors |
|---|---|
| App\Entity\Product | No errors. |
| App\Entity\ProductCategory | No errors. |
| App\Entity\FinanceTradeProductComment | No errors. |