Query Metrics
7
Database Queries
6
Different statements
1.82 ms
Query time
0
Invalid entities
4
Managed entities
Queries
| #▲ | Time | Info |
|---|---|---|
| 1 | 0.45 ms |
SELECT count(DISTINCT p0_.id) AS sclr_0 FROM product p0_ LEFT JOIN price p1_ ON p0_.id = p1_.product_id LEFT JOIN price_list p2_ ON p1_.price_list_id = p2_.id
Parameters:
[] |
| 2 | 0.26 ms |
SELECT DISTINCT p0_.id AS id_0, p0_.created_at AS created_at_1 FROM product p0_ LEFT JOIN price p1_ ON p0_.id = p1_.product_id LEFT JOIN price_list p2_ ON p1_.price_list_id = p2_.id ORDER BY p0_.created_at DESC LIMIT 25
Parameters:
[] |
| 3 | 0.29 ms |
SELECT p0_.id AS id_0, p0_.name AS name_1, p0_.type AS type_2, p0_.catalog AS catalog_3, p0_.unit AS unit_4, p0_.pkwiu AS pkwiu_5, p0_.margin AS margin_6, p0_.unit_margin AS unit_margin_7, p0_.slug AS slug_8, p0_.created_at AS created_at_9, p0_.updated_at AS updated_at_10, p1_.id AS id_11, p1_.type AS type_12, p1_.unit_cost AS unit_cost_13, p1_.vat_rate AS vat_rate_14, p1_.vat AS vat_15, p1_.gross AS gross_16, p1_.created_at AS created_at_17, p1_.updated_at AS updated_at_18, p2_.id AS id_19, p2_.name AS name_20, p2_.created_at AS created_at_21, p2_.updated_at AS updated_at_22, p2_.active AS active_23, p0_.created_by AS created_by_24, p0_.updated_by AS updated_by_25, p1_.product_id AS product_id_26, p1_.price_list_id AS price_list_id_27, p1_.created_by AS created_by_28, p1_.updated_by AS updated_by_29, p2_.created_by AS created_by_30, p2_.updated_by AS updated_by_31 FROM product p0_ LEFT JOIN price p1_ ON p0_.id = p1_.product_id LEFT JOIN price_list p2_ ON p1_.price_list_id = p2_.id WHERE p0_.id IN (?) ORDER BY p0_.created_at DESC
Parameters:
[
1
]
|
| 4 | 0.15 ms |
SELECT t0.id AS id_1, t0.description AS description_2, t0.product_id AS product_id_3 FROM excerpt t0 WHERE t0.product_id = ?
Parameters:
[
1
]
|
| 5 | 0.31 ms |
SELECT t0.id AS id_1, t0.name AS name_2, t0.slug AS slug_3, t0.created_at AS created_at_4, t0.updated_at AS updated_at_5, t0.active AS active_6, t0.created_by AS created_by_7, t0.updated_by AS updated_by_8 FROM category t0 ORDER BY t0.name ASC
Parameters:
[] |
| 6 | 0.18 ms |
SELECT t0.id AS id_1, t0.name AS name_2, t0.slug AS slug_3, t0.created_at AS created_at_4, t0.updated_at AS updated_at_5, t0.active AS active_6, t0.created_by AS created_by_7, t0.updated_by AS updated_by_8 FROM category t0 ORDER BY t0.name ASC
Parameters:
[] |
| 7 | 0.19 ms |
SELECT t0.id AS id_1, t0.media AS media_2, t0.product_id AS product_id_3 FROM product_image t0 WHERE t0.product_id = ?
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\Product | 1 |
| App\Entity\User | 1 |
| App\Entity\Price | 1 |
| App\Entity\PriceList | 1 |
Entities Mapping
| Class | Mapping errors |
|---|---|
| App\Entity\Product | No errors. |
| App\Entity\Price | No errors. |
| App\Entity\PriceList | No errors. |
| App\Entity\User | No errors. |
| App\Entity\ProductCode | No errors. |
| App\Entity\BundleItem | No errors. |
| App\Entity\PurchaseItem | No errors. |
| App\Entity\AttributeValue | No errors. |
| App\Entity\Category | No errors. |
| App\Entity\CustomerOrderItem | No errors. |
| App\Entity\Excerpt | No errors. |
| App\Entity\ProductImage | No errors. |
| App\Entity\Contractor | No errors. |
| App\Entity\CustomerOrder | No errors. |
| App\Entity\Notification | No errors. |
| App\Entity\NotificationRead | No errors. |
| App\Entity\PermissionGroup | No errors. |
| App\Entity\UserRole | No errors. |
| App\Entity\EvidenceItem | No errors. |
| App\Entity\Stock | No errors. |
| App\Entity\Purchase | No errors. |
| App\Entity\Attribute | No errors. |
| App\Entity\CustomerOffer | No errors. |
| App\Entity\OrderPicking | No errors. |
| App\Entity\Permission | No errors. |
| App\Entity\Evidence | No errors. |
| App\Entity\Location | No errors. |
| App\Entity\CustomerOfferItem | No errors. |
| App\Entity\OrderPickingItem | No errors. |