Query Metrics
7
Database Queries
5
Different statements
91.19 ms
Query time
0
Invalid entities
561
Managed entities
Queries
| #▲ | Time | Info | ||||||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| 1 | 0.20 ms |
SELECT t0.id AS id_1, t0.name AS name_2, t0.slug AS slug_3, t0.image AS image_4, t0.active AS active_5, t0.position AS position_6, t0.meta_title AS meta_title_7, t0.meta_description AS meta_description_8, t0.meta_keywords AS meta_keywords_9, t0.parent_id AS parent_id_10 FROM category t0 WHERE t0.slug = ? ORDER BY t0.id ASC LIMIT 1
Parameters:
[
"timberland-straps"
]
|
||||||||||||||||||||||||||||
| 2 | 0.51 ms |
SELECT p0_.id AS id_0, p0_.cod AS cod_1, p0_.reference AS reference_2, p0_.name AS name_3, p0_.description AS description_4, p0_.slug AS slug_5, p0_.stock AS stock_6, p0_.pvp AS pvp_7, p0_.discount AS discount_8, p0_.net_price AS net_price_9, p0_.extra AS extra_10, p0_.images AS images_11, p0_.created_at AS created_at_12, p0_.updated_at AS updated_at_13, p0_.views AS views_14, p0_.position AS position_15, p0_.active AS active_16, p0_.meta_title AS meta_title_17, p0_.meta_description AS meta_description_18, p0_.meta_keywords AS meta_keywords_19, p0_.brand_id AS brand_id_20 FROM product p0_ INNER JOIN product_category p2_ ON p0_.id = p2_.product_id INNER JOIN category c1_ ON c1_.id = p2_.category_id WHERE p0_.active = ? AND p0_.images IS NOT NULL AND p0_.images <> '[]' AND c1_.id = ? ORDER BY p0_.position ASC, p0_.views DESC LIMIT 12
Parameters:
[ 1 135 ]
|
||||||||||||||||||||||||||||
| 3 | 0.33 ms |
SELECT c0_.id AS id_0, c0_.name AS name_1, c0_.slug AS slug_2, c0_.image AS image_3, c0_.active AS active_4, c0_.position AS position_5, c0_.meta_title AS meta_title_6, c0_.meta_description AS meta_description_7, c0_.meta_keywords AS meta_keywords_8, COUNT(p1_.id) AS sclr_9, c0_.parent_id AS parent_id_10 FROM category c0_ LEFT JOIN product_category p2_ ON c0_.id = p2_.category_id LEFT JOIN product p1_ ON p1_.id = p2_.product_id WHERE c0_.active = ? AND c0_.parent_id = ? GROUP BY c0_.id ORDER BY c0_.position ASC, c0_.name ASC
Parameters:
[ 1 135 ]
|
||||||||||||||||||||||||||||
| 4 | 4.70 ms |
SELECT b0_.id AS id_0, b0_.name AS name_1, b0_.slug AS slug_2, b0_.position AS position_3, COUNT(p1_.id) AS sclr_4 FROM brand b0_ LEFT JOIN product p1_ ON b0_.id = p1_.brand_id GROUP BY b0_.id ORDER BY b0_.position ASC, b0_.name ASC
Parameters:
[]
|
||||||||||||||||||||||||||||
| 5 | 28.23 ms |
SELECT c0_.id AS id_0, c0_.name AS name_1, c0_.slug AS slug_2, c0_.image AS image_3, c0_.active AS active_4, c0_.position AS position_5, c0_.meta_title AS meta_title_6, c0_.meta_description AS meta_description_7, c0_.meta_keywords AS meta_keywords_8, COUNT(p1_.id) AS sclr_9, c0_.parent_id AS parent_id_10 FROM category c0_ LEFT JOIN product_category p2_ ON c0_.id = p2_.category_id LEFT JOIN product p1_ ON p1_.id = p2_.product_id WHERE c0_.active = ? AND c0_.parent_id IS NULL GROUP BY c0_.id ORDER BY c0_.position ASC, c0_.name ASC
Parameters:
[
1
]
|
||||||||||||||||||||||||||||
| 6 | 28.33 ms |
SELECT c0_.id AS id_0, c0_.name AS name_1, c0_.slug AS slug_2, c0_.image AS image_3, c0_.active AS active_4, c0_.position AS position_5, c0_.meta_title AS meta_title_6, c0_.meta_description AS meta_description_7, c0_.meta_keywords AS meta_keywords_8, COUNT(p1_.id) AS sclr_9, c0_.parent_id AS parent_id_10 FROM category c0_ LEFT JOIN product_category p2_ ON c0_.id = p2_.category_id LEFT JOIN product p1_ ON p1_.id = p2_.product_id WHERE c0_.active = ? AND c0_.parent_id IS NULL GROUP BY c0_.id ORDER BY c0_.position ASC, c0_.name ASC
Parameters:
[
1
]
|
||||||||||||||||||||||||||||
| 7 | 28.89 ms |
SELECT c0_.id AS id_0, c0_.name AS name_1, c0_.slug AS slug_2, c0_.image AS image_3, c0_.active AS active_4, c0_.position AS position_5, c0_.meta_title AS meta_title_6, c0_.meta_description AS meta_description_7, c0_.meta_keywords AS meta_keywords_8, COUNT(p1_.id) AS sclr_9, c0_.parent_id AS parent_id_10 FROM category c0_ LEFT JOIN product_category p2_ ON c0_.id = p2_.category_id LEFT JOIN product p1_ ON p1_.id = p2_.product_id WHERE c0_.active = ? AND c0_.parent_id IS NULL GROUP BY c0_.id ORDER BY c0_.position ASC, c0_.name ASC
Parameters:
[
1
]
|
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\Brand | 542 |
| App\Entity\Product | 12 |
| App\Entity\Category | 7 |
Entities Mapping
| Class | Mapping errors |
|---|---|
| App\Entity\Category | No errors. |
| App\Entity\Product | No errors. |
| App\Entity\Brand | No errors. |