Query Metrics
17
Database Queries
16
Different statements
41.43 ms
Query time
0
Invalid entities
31
Managed entities
Grouped Statements
| Time▼ | Count | Info | ||||||||||||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
10.17 ms (24.56%) |
1 |
SELECT p0_.id AS id_0, p0_.ean AS ean_1, p0_.price AS price_2, p0_.stock AS stock_3, p0_.visible AS visible_4, p1_.id AS id_5, a2_.id AS id_6, a2_.value AS value_7, a2_.value_float AS value_float_8, a3_.id AS id_9, a3_.code AS code_10, a3_.name AS name_11, a3_.visible AS visible_12, a3_.position AS position_13, a3_.depth AS depth_14, a3_.sort_path AS sort_path_15, p0_.product_id AS product_id_16, p1_.variant_id AS variant_id_17, p1_.attribute_value_id AS attribute_value_id_18, a2_.attribute_id AS attribute_id_19, a3_.parent_id AS parent_id_20 FROM product_variant p0_ LEFT JOIN product_variant_attribute_value p1_ ON p0_.id = p1_.variant_id LEFT JOIN attribute_value a2_ ON p1_.attribute_value_id = a2_.id LEFT JOIN attribute a3_ ON a2_.attribute_id = a3_.id WHERE p0_.id IN (?, ?, ?)
Parameters:
[ 4073 3976 4300 ]
|
||||||||||||||||||||||||||||||||||
|
8.95 ms (21.60%) |
1 |
"COMMIT"
Parameters:
[] |
||||||||||||||||||||||||||||||||||
|
5.66 ms (13.67%) |
1 |
SELECT a0_.id AS id_0, a0_.code AS code_1, a0_.name AS name_2, a0_.sort_path AS sort_path_3, a1_.id AS id_4, a1_.value AS value_5 FROM attribute a0_ INNER JOIN attribute_value a1_ ON a0_.id = a1_.attribute_id INNER JOIN product_variant_attribute_value p2_ ON a1_.id = p2_.attribute_value_id INNER JOIN product_variant p3_ ON p2_.variant_id = p3_.id INNER JOIN product p4_ ON p3_.product_id = p4_.id INNER JOIN remote_category r5_ ON p4_.remote_category_id = r5_.id WHERE r5_.category_id = ? AND p4_.visible = true AND p3_.visible = true AND a0_.visible = true GROUP BY a0_.id, a0_.code, a0_.name, a0_.sort_path, a1_.id, a1_.value ORDER BY a0_.sort_path ASC, a1_.value ASC
Parameters:
[
8
]
|
||||||||||||||||||||||||||||||||||
|
2.99 ms (7.21%) |
1 |
SELECT c0_.id AS id_0, c0_.created_at AS created_at_1, c0_.updated_at AS updated_at_2, c1_.id AS id_3, c1_.quantity AS quantity_4, c1_.created_at AS created_at_5, c1_.updated_at AS updated_at_6, p2_.id AS id_7, p2_.ean AS ean_8, p2_.price AS price_9, p2_.stock AS stock_10, p2_.visible AS visible_11, p3_.id AS id_12, p3_.remote_id AS remote_id_13, p3_.name AS name_14, p3_.title AS title_15, p3_.specification AS specification_16, p3_.description AS description_17, p3_.visible AS visible_18, p3_.created_at AS created_at_19, p3_.updated_at AS updated_at_20, r4_.id AS id_21, r4_.name AS name_22, c5_.id AS id_23, c5_.name AS name_24, c5_.visible AS visible_25, c5_.created_at AS created_at_26, c5_.updated_at AS updated_at_27, c5_.position AS position_28, c5_.depth AS depth_29, c5_.sort_path AS sort_path_30, p6_.id AS id_31, a7_.id AS id_32, a7_.value AS value_33, a7_.value_float AS value_float_34, a8_.id AS id_35, a8_.code AS code_36, a8_.name AS name_37, a8_.visible AS visible_38, a8_.position AS position_39, a8_.depth AS depth_40, a8_.sort_path AS sort_path_41, p9_.id AS id_42, p9_.original_filename AS original_filename_43, p9_.filename AS filename_44, p9_.mime_type AS mime_type_45, p9_.size AS size_46, p9_.path AS path_47, p9_.created_at AS created_at_48, p9_.updated_at AS updated_at_49, d10_.id AS id_50, d10_.code AS code_51, d10_.type AS type_52, d10_.value AS value_53, d10_.max_discount_amount AS max_discount_amount_54, d10_.active AS active_55, d10_.valid_from AS valid_from_56, d10_.valid_to AS valid_to_57, d10_.max_uses_total AS max_uses_total_58, d10_.max_uses_per_user AS max_uses_per_user_59, d10_.min_cart_value AS min_cart_value_60, d10_.min_cart_items AS min_cart_items_61, d10_.created_at AS created_at_62, d10_.updated_at AS updated_at_63, c0_.owner_id AS owner_id_64, c0_.shipping_method_id AS shipping_method_id_65, c0_.payment_method_id AS payment_method_id_66, c0_.applied_discount_code_id AS applied_discount_code_id_67, c1_.cart_id AS cart_id_68, c1_.product_variant_id AS product_variant_id_69, c1_.project_file_id AS project_file_id_70, p2_.product_id AS product_id_71, p3_.source_id AS source_id_72, p3_.manufacturer_id AS manufacturer_id_73, p3_.remote_category_id AS remote_category_id_74, r4_.source_id AS source_id_75, r4_.category_id AS category_id_76, c5_.parent_id AS parent_id_77, p6_.variant_id AS variant_id_78, p6_.attribute_value_id AS attribute_value_id_79, a7_.attribute_id AS attribute_id_80, a8_.parent_id AS parent_id_81, p9_.user_id AS user_id_82, d10_.restricted_to_user_id AS restricted_to_user_id_83 FROM cart c0_ LEFT JOIN cart_product_variant c1_ ON c0_.id = c1_.cart_id LEFT JOIN product_variant p2_ ON c1_.product_variant_id = p2_.id LEFT JOIN product p3_ ON p2_.product_id = p3_.id LEFT JOIN remote_category r4_ ON p3_.remote_category_id = r4_.id LEFT JOIN category c5_ ON r4_.category_id = c5_.id LEFT JOIN product_variant_attribute_value p6_ ON p2_.id = p6_.variant_id LEFT JOIN attribute_value a7_ ON p6_.attribute_value_id = a7_.id LEFT JOIN attribute a8_ ON a7_.attribute_id = a8_.id LEFT JOIN project_file p9_ ON c1_.project_file_id = p9_.id LEFT JOIN discount_code d10_ ON c0_.applied_discount_code_id = d10_.id WHERE c0_.id = ? ORDER BY c1_.id ASC
Parameters:
[
485
]
|
||||||||||||||||||||||||||||||||||
|
2.26 ms (5.47%) |
1 |
SELECT a0_.id AS id_0, a0_.code AS code_1, a0_.name AS name_2, a0_.sort_path AS sort_path_3, a1_.id AS id_4, a1_.value AS value_5 FROM attribute a0_ INNER JOIN attribute_value a1_ ON a0_.id = a1_.attribute_id INNER JOIN product_attribute_value p2_ ON a1_.id = p2_.attribute_value_id INNER JOIN product p3_ ON p2_.product_id = p3_.id INNER JOIN remote_category r4_ ON p3_.remote_category_id = r4_.id WHERE r4_.category_id = ? AND p3_.visible = true AND a0_.visible = true GROUP BY a0_.id, a0_.code, a0_.name, a0_.sort_path, a1_.id, a1_.value ORDER BY a0_.sort_path ASC, a1_.value ASC
Parameters:
[
8
]
|
||||||||||||||||||||||||||||||||||
|
2.19 ms (5.28%) |
1 |
SELECT COUNT(*) AS dctrn_count FROM (SELECT p0_.id AS id_0, p0_.remote_id AS remote_id_1, p0_.name AS name_2, p0_.title AS title_3, p0_.specification AS specification_4, p0_.description AS description_5, p0_.visible AS visible_6, p0_.created_at AS created_at_7, p0_.updated_at AS updated_at_8 FROM product p0_ INNER JOIN remote_category r1_ ON p0_.remote_category_id = r1_.id INNER JOIN product_variant p2_ ON p0_.id = p2_.product_id WHERE r1_.category_id = ? AND p0_.visible = true AND p2_.visible = true GROUP BY p0_.id ORDER BY p0_.created_at DESC, p0_.id DESC) dctrn_table
Parameters:
[
8
]
|
||||||||||||||||||||||||||||||||||
|
2.08 ms (5.03%) |
1 |
SELECT DISTINCT id_0, MIN(sclr_9) AS dctrn_minrownum FROM (SELECT p0_.id AS id_0, p0_.remote_id AS remote_id_1, p0_.name AS name_2, p0_.title AS title_3, p0_.specification AS specification_4, p0_.description AS description_5, p0_.visible AS visible_6, p0_.created_at AS created_at_7, p0_.updated_at AS updated_at_8, ROW_NUMBER() OVER(ORDER BY p0_.created_at DESC, p0_.id DESC) AS sclr_9 FROM product p0_ INNER JOIN remote_category r1_ ON p0_.remote_category_id = r1_.id INNER JOIN product_variant p2_ ON p0_.id = p2_.product_id WHERE r1_.category_id = ? AND p0_.visible = true AND p2_.visible = true GROUP BY p0_.id) dctrn_result GROUP BY id_0 ORDER BY dctrn_minrownum ASC LIMIT 18 OFFSET 36
Parameters:
[
8
]
|
||||||||||||||||||||||||||||||||||
|
1.44 ms (3.48%) |
1 |
SELECT p0_.variant_id AS sclr_0, MIN(i1_.path) AS sclr_1 FROM image i1_ INNER JOIN product_variant_image p0_ ON i1_.id = p0_.image_id INNER JOIN product_variant p2_ ON p0_.variant_id = p2_.id WHERE p2_.id IN (?, ?, ?) AND p2_.visible = true GROUP BY p0_.variant_id
Parameters:
[ 4073 3976 4300 ]
|
||||||||||||||||||||||||||||||||||
|
1.34 ms (3.23%) |
1 |
SELECT p0_.id AS id_0, p0_.remote_id AS remote_id_1, p0_.name AS name_2, p0_.title AS title_3, p0_.specification AS specification_4, p0_.description AS description_5, p0_.visible AS visible_6, p0_.created_at AS created_at_7, p0_.updated_at AS updated_at_8, p0_.source_id AS source_id_9, p0_.manufacturer_id AS manufacturer_id_10, p0_.remote_category_id AS remote_category_id_11 FROM product p0_ INNER JOIN remote_category r1_ ON p0_.remote_category_id = r1_.id INNER JOIN product_variant p2_ ON p0_.id = p2_.product_id WHERE r1_.category_id = ? AND p0_.visible = true AND p2_.visible = true AND p0_.id IN (?, ?, ?) GROUP BY p0_.id ORDER BY p0_.created_at DESC, p0_.id DESC
Parameters:
[ 8 64 61 60 ]
|
||||||||||||||||||||||||||||||||||
|
1.11 ms (2.68%) |
1 |
SELECT t0.id AS id_1, t0.code AS code_2, t0.name AS name_3, t0.visible AS visible_4, t0.position AS position_5, t0.depth AS depth_6, t0.sort_path AS sort_path_7, t0.parent_id AS parent_id_8 FROM attribute t0 WHERE t0.code = ? LIMIT 1
Parameters:
[
"page"
]
|
||||||||||||||||||||||||||||||||||
|
0.91 ms (2.20%) |
1 |
SELECT t0.id AS id_1, t0.name AS name_2, t0.visible AS visible_3, t0.created_at AS created_at_4, t0.updated_at AS updated_at_5, t0.position AS position_6, t0.depth AS depth_7, t0.sort_path AS sort_path_8, t0.parent_id AS parent_id_9 FROM category t0 WHERE t0.id = ?
Parameters:
[
"8"
]
|
||||||||||||||||||||||||||||||||||
|
0.81 ms (1.95%) |
1 |
INSERT INTO cart (created_at, updated_at, owner_id, shipping_method_id, payment_method_id, applied_discount_code_id) VALUES (?, ?, ?, ?, ?, ?)
Parameters:
[ "2026-04-19 13:58:22" "2026-04-19 13:58:22" null null null null ] |
||||||||||||||||||||||||||||||||||
|
0.56 ms (1.35%) |
1 |
SELECT p0_.product_id AS sclr_0, MIN(p0_.id) AS sclr_1 FROM product_variant p0_ WHERE p0_.product_id IN (?, ?, ?) AND p0_.visible = true GROUP BY p0_.product_id
Parameters:
[ 64 61 60 ]
|
||||||||||||||||||||||||||||||||||
|
0.53 ms (1.28%) |
2 |
SELECT c0_.id AS id_0, c0_.name AS name_1, c0_.visible AS visible_2, c0_.created_at AS created_at_3, c0_.updated_at AS updated_at_4, c0_.position AS position_5, c0_.depth AS depth_6, c0_.sort_path AS sort_path_7, c0_.parent_id AS parent_id_8 FROM category c0_ WHERE c0_.parent_id IS NULL AND c0_.visible = true ORDER BY c0_.sort_path ASC
Parameters:
[] |
||||||||||||||||||||||||||||||||||
|
0.27 ms (0.65%) |
1 |
SELECT p0_.id AS id_0 FROM product_variant p0_ WHERE p0_.product_id = ?
Parameters:
[
null
]
|
||||||||||||||||||||||||||||||||||
|
0.15 ms (0.37%) |
1 |
"START TRANSACTION"
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\Category | 10 |
| App\Entity\ProductVariantAttributeValue | 6 |
| App\Entity\Product | 3 |
| App\Entity\ProductVariant | 3 |
| App\Entity\AttributeValue | 3 |
| App\Entity\Attribute | 2 |
| App\Entity\Source | 1 |
| App\Entity\Manufacturer | 1 |
| App\Entity\RemoteCategory | 1 |
| App\Entity\Cart | 1 |
Entities Mapping
| Class | Mapping errors |
|---|---|
| App\Entity\Category | No errors. |
| App\Entity\RemoteCategory | No errors. |
| App\Entity\Attribute | No errors. |
| App\Entity\AttributeValue | No errors. |
| App\Entity\ProductVariantAttributeValue | No errors. |
| App\Entity\ProductVariant | No errors. |
| App\Entity\Product | No errors. |
| App\Entity\ProductAttributeValue | No errors. |
| App\Entity\Source | No errors. |
| App\Entity\Manufacturer | No errors. |
| App\Entity\ProductAttachmentImage | No errors. |
| App\Entity\ProductVariantImage | No errors. |
| App\Entity\CartProductVariant | No errors. |
| App\Entity\Image | No errors. |
| App\Entity\Cart | No errors. |
| App\Entity\User | No errors. |
| App\Entity\ShippingMethod | No errors. |
| App\Entity\PaymentMethod | No errors. |
| App\Entity\DiscountCode | No errors. |
| App\Entity\ProjectFile | No errors. |