GET https://moonprint.cod3lab.eu/product/325

Query Metrics

20 Database Queries
14 Different statements
38.89 ms Query time
0 Invalid entities
173 Managed entities

Grouped Statements

Show all queries

Time Count Info
5.70 ms
(14.65%)
1
SELECT a0_.id AS id_0, a0_.code AS code_1, a0_.name AS name_2, a0_.visible AS visible_3, a0_.position AS position_4, a0_.depth AS depth_5, a0_.sort_path AS sort_path_6, a0_.parent_id AS parent_id_7 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 WHERE p4_.id = ? AND p4_.visible = true AND p3_.visible = true AND a0_.visible = true GROUP BY a0_.id ORDER BY a0_.sort_path ASC
Parameters:
[
  325
]
5.35 ms
(13.75%)
1
SELECT i0_.id AS id_0, i0_.url AS url_1, i0_.path AS path_2, i0_.filename AS filename_3, i0_.hash AS hash_4 FROM image i0_ INNER JOIN product_variant_image p1_ ON i0_.id = p1_.image_id INNER JOIN product_variant p2_ ON p1_.variant_id = p2_.id INNER JOIN product p3_ ON p2_.product_id = p3_.id WHERE p3_.id = ? AND p3_.visible = true AND p2_.visible = true AND p2_.id IN (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) GROUP BY i0_.id, i0_.url, i0_.path, i0_.filename, i0_.hash ORDER BY i0_.path ASC
Parameters:
[
  325
  12605
  12606
  12607
  12608
  12609
  12610
  12635
  12636
  12637
  12638
  12639
  12640
  12659
  12660
  12661
  12662
  12663
  12664
  12683
  12684
  12685
  12686
  12687
  12688
  12748
  12749
  12750
  12751
  12752
  12753
  12754
  12755
  12756
  12757
  12758
  12759
  12832
  12833
  12834
  12835
  12836
  12837
  12875
  12876
  12877
  12878
  12879
  12880
  12944
  12945
  12946
  12947
  12948
  12949
  13084
  13085
  13086
  13087
  13088
  13089
  13090
  13091
  13092
  13093
  13094
  13095
  13102
  13103
  13104
  13105
  13106
  13107
  13126
  13127
  13128
  13129
  13130
  13131
  15186
  15187
  15188
  15189
  15190
  15191
  15204
  15205
  15206
  15207
  15208
  15209
]
3.43 ms
(8.83%)
5
SELECT p0_.id AS id_0 FROM product_variant p0_ WHERE p0_.product_id = ?
Parameters:
[
  325
]
3.03 ms
(7.78%)
1
SELECT a0_.id AS id_0, a0_.value AS value_1, a0_.value_float AS value_float_2, a0_.attribute_id AS attribute_id_3 FROM attribute_value a0_ INNER JOIN attribute a1_ ON a0_.attribute_id = a1_.id INNER JOIN product_variant_attribute_value p2_ ON a0_.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 WHERE p4_.id = ? AND p4_.visible = true AND p3_.visible = true AND a1_.id = ? AND p3_.id IN (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)
Parameters:
[
  325
  1
  12605
  12606
  12607
  12608
  12609
  12610
  12635
  12636
  12637
  12638
  12639
  12640
  12659
  12660
  12661
  12662
  12663
  12664
  12683
  12684
  12685
  12686
  12687
  12688
  12748
  12749
  12750
  12751
  12752
  12753
  12754
  12755
  12756
  12757
  12758
  12759
  12832
  12833
  12834
  12835
  12836
  12837
  12875
  12876
  12877
  12878
  12879
  12880
  12944
  12945
  12946
  12947
  12948
  12949
  13084
  13085
  13086
  13087
  13088
  13089
  13090
  13091
  13092
  13093
  13094
  13095
  13102
  13103
  13104
  13105
  13106
  13107
  13126
  13127
  13128
  13129
  13130
  13131
  15186
  15187
  15188
  15189
  15190
  15191
  15204
  15205
  15206
  15207
  15208
  15209
]
2.86 ms
(7.37%)
1
SELECT a0_.id AS id_0, a0_.value AS value_1, a0_.value_float AS value_float_2, a0_.attribute_id AS attribute_id_3 FROM attribute_value a0_ INNER JOIN attribute a1_ ON a0_.attribute_id = a1_.id INNER JOIN product_variant_attribute_value p2_ ON a0_.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 WHERE p4_.id = ? AND p4_.visible = true AND p3_.visible = true AND a1_.id = ? AND p3_.id IN (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) ORDER BY a0_.value ASC
Parameters:
[
  325
  10
  12605
  12606
  12607
  12608
  12609
  12610
  12635
  12636
  12637
  12638
  12639
  12640
  12659
  12660
  12661
  12662
  12663
  12664
  12683
  12684
  12685
  12686
  12687
  12688
  12748
  12749
  12750
  12751
  12752
  12753
  12754
  12755
  12756
  12757
  12758
  12759
  12832
  12833
  12834
  12835
  12836
  12837
  12875
  12876
  12877
  12878
  12879
  12880
  12944
  12945
  12946
  12947
  12948
  12949
  13084
  13085
  13086
  13087
  13088
  13089
  13090
  13091
  13092
  13093
  13094
  13095
  13102
  13103
  13104
  13105
  13106
  13107
  13126
  13127
  13128
  13129
  13130
  13131
  15186
  15187
  15188
  15189
  15190
  15191
  15204
  15205
  15206
  15207
  15208
  15209
]
2.76 ms
(7.10%)
1
SELECT t0.id AS id_1, t0.remote_id AS remote_id_2, t0.name AS name_3, t0.title AS title_4, t0.specification AS specification_5, t0.description AS description_6, t0.visible AS visible_7, t0.source_id AS source_id_8, t0.manufacturer_id AS manufacturer_id_9, t0.remote_category_id AS remote_category_id_10 FROM product t0 WHERE t0.id = ?
Parameters:
[
  "325"
]
2.56 ms
(6.57%)
1
SELECT a0_.id AS id_0, a0_.value AS value_1, a0_.value_float AS value_float_2, a0_.attribute_id AS attribute_id_3 FROM attribute_value a0_ INNER JOIN attribute a1_ ON a0_.attribute_id = a1_.id INNER JOIN product_variant_attribute_value p2_ ON a0_.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 WHERE p4_.id = ? AND p4_.visible = true AND p3_.visible = true AND a1_.id = ? GROUP BY a0_.id, a0_.value, a0_.value_float, a0_.attribute_id
Parameters:
[
  325
  1
]
2.49 ms
(6.40%)
1
SELECT a0_.id AS id_0, a0_.code AS code_1, a0_.name AS name_2, a0_.visible AS visible_3, a0_.position AS position_4, a0_.depth AS depth_5, a0_.sort_path AS sort_path_6, a1_.id AS id_7, a1_.value AS value_8, a1_.value_float AS value_float_9, a0_.parent_id AS parent_id_10, a1_.attribute_id AS attribute_id_11 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 WHERE p3_.id = ? AND p3_.visible = true AND a0_.visible = true GROUP BY a0_.id, a0_.code, a0_.name, a0_.visible, a0_.position, a0_.depth, a0_.sort_path, a0_.parent_id, a1_.id, a1_.value, a1_.value_float, a1_.attribute_id ORDER BY a0_.sort_path ASC
Parameters:
[
  325
]
2.35 ms
(6.05%)
2
SELECT t0.id AS id_1, t0.url AS url_2, t0.path AS path_3, t0.filename AS filename_4, t0.hash AS hash_5, t0.attachment_id AS attachment_id_6 FROM attachment_image t0 WHERE t0.id = ?
Parameters:
[
  640
]
2.18 ms
(5.60%)
2
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 attachment t0 WHERE t0.id = ?
Parameters:
[
  1
]
2.06 ms
(5.30%)
1
SELECT a0_.id AS id_0, a0_.value AS value_1, a0_.value_float AS value_float_2, a0_.attribute_id AS attribute_id_3 FROM attribute_value a0_ INNER JOIN attribute a1_ ON a0_.attribute_id = a1_.id INNER JOIN product_variant_attribute_value p2_ ON a0_.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 WHERE p4_.id = ? AND p4_.visible = true AND p3_.visible = true AND a1_.id = ? GROUP BY a0_.id, a0_.value, a0_.value_float, a0_.attribute_id ORDER BY a0_.value ASC
Parameters:
[
  325
  10
]
1.74 ms
(4.48%)
1
SELECT MIN(p0_.price) AS sclr_0, MAX(p0_.price) AS sclr_1 FROM product_variant p0_ INNER JOIN product p1_ ON p0_.product_id = p1_.id WHERE p1_.id = ? AND p1_.visible = true AND p0_.visible = true AND p0_.id IN (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)
Parameters:
[
  325
  12605
  12606
  12607
  12608
  12609
  12610
  12635
  12636
  12637
  12638
  12639
  12640
  12659
  12660
  12661
  12662
  12663
  12664
  12683
  12684
  12685
  12686
  12687
  12688
  12748
  12749
  12750
  12751
  12752
  12753
  12754
  12755
  12756
  12757
  12758
  12759
  12832
  12833
  12834
  12835
  12836
  12837
  12875
  12876
  12877
  12878
  12879
  12880
  12944
  12945
  12946
  12947
  12948
  12949
  13084
  13085
  13086
  13087
  13088
  13089
  13090
  13091
  13092
  13093
  13094
  13095
  13102
  13103
  13104
  13105
  13106
  13107
  13126
  13127
  13128
  13129
  13130
  13131
  15186
  15187
  15188
  15189
  15190
  15191
  15204
  15205
  15206
  15207
  15208
  15209
]
1.29 ms
(3.31%)
1
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:
[]
1.09 ms
(2.80%)
1
SELECT t0.id AS id_1, t0.product_id AS product_id_2, t0.attachment_image_id AS attachment_image_id_3 FROM product_attachment_image t0 WHERE t0.product_id = ?
Parameters:
[
  325
]

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\Image 107
App\Entity\AttributeValue 31
App\Entity\Category 15
App\Entity\Attribute 10
App\Entity\ProductAttachmentImage 2
App\Entity\AttachmentImage 2
App\Entity\Attachment 2
App\Entity\Product 1
App\Entity\Source 1
App\Entity\Manufacturer 1
App\Entity\RemoteCategory 1