Query Metrics
2
Database Queries
2
Different statements
1.60 ms
Query time
0
Invalid entities
Grouped Statements
| Time▼ | Count | Info |
|---|---|---|
|
0.98 ms (61.50%) |
1 |
SELECT a0_.id AS id_0, p1_.product_id AS product_id_1, p1_.product AS product_2, p1_.pn AS pn_3, p1_.description AS description_4, p1_.detail_description AS detail_description_5, p1_.deleted AS deleted_6, p1_.pic AS pic_7, p1_.warranty AS warranty_8, p1_.cost_min AS cost_min_9, p1_.create_time AS create_time_10, a2_.id AS id_11, a2_.type AS type_12, a2_.name AS name_13, a2_.active AS active_14, a0_.product_id AS product_id_15, a0_.a_product_id AS a_product_id_16, a0_.block AS block_17, p1_.category_id AS category_id_18, a2_.parent_id AS parent_id_19 FROM accessory_result a0_ INNER JOIN Products p1_ ON a0_.a_product_id = p1_.product_id INNER JOIN accessory a2_ ON a0_.block = a2_.id INNER JOIN sf_product_index s3_ ON p1_.product_id = s3_.product_id WHERE a0_.product_id = ? AND a2_.type = ? AND a2_.active = ? AND p1_.deleted = 0 AND s3_.is_show_in_catalog = ? AND s3_.presence >= ? ORDER BY p1_.product ASC LIMIT 10
Parameters:
[ 1007 "s" 1 1 1 ] |
|
0.62 ms (38.50%) |
1 |
SELECT COUNT(DISTINCT a0_.id) AS sclr_0 FROM accessory_result a0_ INNER JOIN Products p1_ ON a0_.a_product_id = p1_.product_id INNER JOIN accessory a2_ ON a0_.block = a2_.id INNER JOIN sf_product_index s3_ ON p1_.product_id = s3_.product_id WHERE a0_.product_id = ? AND a2_.type = ? AND a2_.active = ? AND p1_.deleted = 0 AND s3_.is_show_in_catalog = ? AND s3_.presence >= ? ORDER BY a0_.id ASC
Parameters:
[ 1007 "s" 1 1 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.
Entities Mapping
| Class | Mapping errors |
|---|---|
| SoftUa\AccessoryBundle\Entity\AccessoryIndex | No errors. |
| SoftUa\ProductBundle\Entity\Product | No errors. |
| SoftUa\AccessoryBundle\Entity\Accessory | No errors. |
| SoftUa\ProductBundle\Entity\ProductIndex | No errors. |
| SoftUa\CategoryBundle\Entity\Category | No errors. |