Query Metrics
4
Database Queries
3
Different statements
751.28 ms
Query time
0
Invalid entities
2
Managed entities
Grouped Statements
| Time▼ | Count | Info |
|---|---|---|
|
401.93 ms (53.50%) |
1 |
SELECT COUNT(DISTINCT p0_.id) AS sclr_0 FROM product p0_ LEFT JOIN seller s1_ ON p0_.seller_id = s1_.id LEFT JOIN seller_profile s2_ ON s1_.id = s2_.seller_id LEFT JOIN seller_address s3_ ON s1_.id = s3_.seller_id LEFT JOIN geo_city g4_ ON s3_.geo_city_id = g4_.id WHERE p0_.status IN (?, ?) AND p0_.display = 1 AND ((EXISTS (SELECT 1 AS sclr_1 FROM product_translation p5_ WHERE p5_.product_id = p0_.id AND (p5_.title LIKE ? OR (p5_.description IS NOT NULL AND p5_.description LIKE ?)))) OR s2_.business_name LIKE ? OR (EXISTS (SELECT 1 AS sclr_2 FROM tag t6_ INNER JOIN product_tag p8_ ON t6_.id = p8_.tag_id INNER JOIN product p7_ ON p7_.id = p8_.product_id INNER JOIN tag_translation t9_ ON t6_.id = t9_.tag_id WHERE p7_.id = p0_.id AND t9_.label LIKE ?)))
Parameters:
[ "active" "sold" "%vendor easycorp easyadmin bundle src Config Menu SectionMenuItem.php%" "%vendor easycorp easyadmin bundle src Config Menu SectionMenuItem.php%" "%vendor easycorp easyadmin bundle src Config Menu SectionMenuItem.php%" "%vendor easycorp easyadmin bundle src Config Menu SectionMenuItem.php%" ] |
|
347.64 ms (46.27%) |
1 |
SELECT p0_.id AS id_0 FROM product p0_ LEFT JOIN seller s1_ ON p0_.seller_id = s1_.id LEFT JOIN seller_profile s2_ ON s1_.id = s2_.seller_id LEFT JOIN seller_address s3_ ON s1_.id = s3_.seller_id LEFT JOIN geo_city g4_ ON s3_.geo_city_id = g4_.id WHERE p0_.status IN (?, ?) AND p0_.display = 1 AND ((EXISTS (SELECT 1 AS sclr_1 FROM product_translation p5_ WHERE p5_.product_id = p0_.id AND (p5_.title LIKE ? OR (p5_.description IS NOT NULL AND p5_.description LIKE ?)))) OR s2_.business_name LIKE ? OR (EXISTS (SELECT 1 AS sclr_2 FROM tag t6_ INNER JOIN product_tag p8_ ON t6_.id = p8_.tag_id INNER JOIN product p7_ ON p7_.id = p8_.product_id INNER JOIN tag_translation t9_ ON t6_.id = t9_.tag_id WHERE p7_.id = p0_.id AND t9_.label LIKE ?))) GROUP BY p0_.id ORDER BY CASE WHEN p0_.status = ? THEN 1 ELSE 0 END ASC, p0_.published_at DESC LIMIT 8
Parameters:
[ "active" "sold" "%vendor easycorp easyadmin bundle src Config Menu SectionMenuItem.php%" "%vendor easycorp easyadmin bundle src Config Menu SectionMenuItem.php%" "%vendor easycorp easyadmin bundle src Config Menu SectionMenuItem.php%" "%vendor easycorp easyadmin bundle src Config Menu SectionMenuItem.php%" "sold" ] |
|
1.71 ms (0.23%) |
2 |
SELECT t0.id AS id_1, t0.setting_key AS setting_key_2, t0.value AS value_3, t0.updated_at AS updated_at_4 FROM marketplace_setting t0 WHERE t0.setting_key = ? LIMIT 1
Parameters:
[
"meilisearch.enabled"
]
|
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\MarketplaceSetting | 2 |
Entities Mapping
| Class | Mapping errors |
|---|---|
| App\Entity\MarketplaceSetting | No errors. |
| App\Entity\Product | No errors. |
| App\Entity\Seller | No errors. |
| App\Entity\SellerProfile | No errors. |
| App\Entity\SellerAddress | No errors. |
| App\Entity\Geo\GeoCity | No errors. |
| App\Entity\ProductTranslation | No errors. |
| App\Entity\Tag | No errors. |
| App\Entity\TagTranslation | No errors. |