Query Metrics
29
Database Queries
5
Different statements
14.19 ms
Query time
0
Invalid entities
38
Managed entities
Queries
| #▲ | Time | Info |
|---|---|---|
| 1 | 4.22 ms |
SELECT COUNT(*) AS dctrn_count FROM (SELECT DISTINCT id_0 FROM (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, p3_.id AS id_24, p3_.media AS media_25, p3_.thumbnail AS thumbnail_26, p3_.position AS position_27 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 LEFT JOIN product_image p3_ ON p0_.id = p3_.product_id ORDER BY p0_.created_at DESC, p3_.position ASC, p3_.id ASC) dctrn_result) dctrn_table
Parameters:
[] |
| 2 | 4.84 ms |
SELECT DISTINCT id_0 FROM (SELECT DISTINCT id_0, created_at_9 FROM (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, p3_.id AS id_24, p3_.media AS media_25, p3_.thumbnail AS thumbnail_26, p3_.position AS position_27 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 LEFT JOIN product_image p3_ ON p0_.id = p3_.product_id ORDER BY p3_.position ASC, p3_.id ASC) dctrn_result_inner ORDER BY created_at_9 DESC) dctrn_result LIMIT 24
Parameters:
[] |
| 3 | 0.81 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, p3_.id AS id_24, p3_.media AS media_25, p3_.thumbnail AS thumbnail_26, p3_.position AS position_27, p0_.created_by AS created_by_28, p0_.updated_by AS updated_by_29, p1_.product_id AS product_id_30, p1_.price_list_id AS price_list_id_31, p1_.created_by AS created_by_32, p1_.updated_by AS updated_by_33, p2_.created_by AS created_by_34, p2_.updated_by AS updated_by_35, p3_.product_id AS product_id_36 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 LEFT JOIN product_image p3_ ON p0_.id = p3_.product_id WHERE p0_.id IN (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) ORDER BY p0_.created_at DESC, p3_.position ASC, p3_.id ASC
Parameters:
[ 2009 2010 2011 2012 2008 2006 2005 2004 1996 1997 1998 1999 2000 1979 1980 1981 1982 1983 1984 1985 1986 1987 1988 1989 ] |
| 4 | 0.29 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:
[
2012
]
|
| 5 | 0.16 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:
[
2011
]
|
| 6 | 0.14 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:
[
2010
]
|
| 7 | 0.13 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:
[
2009
]
|
| 8 | 0.14 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:
[
2008
]
|
| 9 | 0.17 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:
[
2006
]
|
| 10 | 0.16 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:
[
2005
]
|
| 11 | 0.14 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:
[
2004
]
|
| 12 | 0.14 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:
[
1997
]
|
| 13 | 0.14 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:
[
2000
]
|
| 14 | 0.13 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:
[
1999
]
|
| 15 | 0.21 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:
[
1998
]
|
| 16 | 0.13 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:
[
1996
]
|
| 17 | 0.16 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:
[
1979
]
|
| 18 | 0.12 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:
[
1989
]
|
| 19 | 0.13 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:
[
1988
]
|
| 20 | 0.12 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:
[
1987
]
|
| 21 | 0.13 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:
[
1986
]
|
| 22 | 0.12 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:
[
1985
]
|
| 23 | 0.13 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:
[
1984
]
|
| 24 | 0.12 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:
[
1983
]
|
| 25 | 0.20 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:
[
1982
]
|
| 26 | 0.17 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:
[
1981
]
|
| 27 | 0.19 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:
[
1980
]
|
| 28 | 0.33 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:
[] |
| 29 | 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:
[] |
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 | 24 |
| App\Entity\Category | 7 |
| App\Entity\Price | 3 |
| App\Entity\ProductImage | 2 |
| App\Entity\User | 1 |
| App\Entity\PriceList | 1 |
Entities Mapping
| Class | Mapping errors |
|---|---|
| App\Entity\Product | No errors. |
| App\Entity\Excerpt | 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\Price | No errors. |
| App\Entity\CustomerOrderItem | No errors. |
| App\Entity\ProductImage | No errors. |
| App\Entity\Stock | No errors. |
| App\Entity\PriceList | 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\Purchase | No errors. |
| App\Entity\Attribute | No errors. |
| App\Entity\Location | No errors. |
| App\Entity\CustomerOffer | No errors. |
| App\Entity\OrderPicking | No errors. |
| App\Entity\Permission | No errors. |
| App\Entity\Evidence | No errors. |
| App\Entity\CustomerOfferItem | No errors. |
| App\Entity\OrderPickingItem | No errors. |