GET https://staging.pgdis.com/produit/17334-agrafes-couleur-stanley-sp1906z

Query Metrics

101 Database Queries
16 Different statements
1540.00 ms Query time
0 Invalid entities

Grouped Statements

Show all queries

Time Count Info
1056.35 ms
(68.59%)
1
SELECT c0_.id AS id_0, c0_.temporary_cart_number AS temporary_cart_number_1, c0_.type AS type_2, c0_.number AS number_3, c0_.slip AS slip_4, c0_.status AS status_5, c0_.order_picker AS order_picker_6, c0_.created_at AS created_at_7, c0_.delivery_date AS delivery_date_8, c0_.login AS login_9, c0_.user_reference AS user_reference_10, c0_.tracking_number AS tracking_number_11, c0_.deposit AS deposit_12, c0_.sector AS sector_13, c0_.sub_sector AS sub_sector_14, c0_.customer_name AS customer_name_15, c0_.address1 AS address1_16, c0_.address2 AS address2_17, c0_.address3 AS address3_18, c0_.zip_code AS zip_code_19, c0_.city AS city_20, c0_.country AS country_21, c0_.phone AS phone_22, c0_.fax AS fax_23, c0_.email AS email_24, c0_.customer_name_delivery AS customer_name_delivery_25, c0_.address1_delivery AS address1_delivery_26, c0_.address2_delivery AS address2_delivery_27, c0_.address3_delivery AS address3_delivery_28, c0_.zip_code_delivery AS zip_code_delivery_29, c0_.delivery_city AS delivery_city_30, c0_.country_delivery AS country_delivery_31, c0_.delivery_phone AS delivery_phone_32, c0_.fax_delivery AS fax_delivery_33, c0_.email_delivery AS email_delivery_34, c0_.reglement AS reglement_35, c0_.updated_at AS updated_at_36, c0_.price_ht AS price_ht_37, c0_.price_tva AS price_tva_38, c0_.price_ttc AS price_ttc_39, c0_.price_cost_ht AS price_cost_ht_40, c0_.display_ttc AS display_ttc_41, c0_.package_number AS package_number_42, c0_.weight AS weight_43, c0_.volume AS volume_44, c0_.discount AS discount_45, c0_.feedback AS feedback_46, c0_.global_discount AS global_discount_47, c0_.commitment_number AS commitment_number_48, c0_.promotional_code AS promotional_code_49, c0_.multiplier_coefficient AS multiplier_coefficient_50, c0_.is_out_of_budget AS is_out_of_budget_51, c0_.lead_word AS lead_word_52, c0_.facturation AS facturation_53, c0_.complete_delivery AS complete_delivery_54, c0_.urgent_delivery AS urgent_delivery_55, c0_.complete_facturation AS complete_facturation_56, c0_.paypal AS paypal_57, c0_.regroupement AS regroupement_58, c0_.transaction AS transaction_59, c0_.plate_number AS plate_number_60, c0_.is_hidden AS is_hidden_61, c0_.budget_id AS budget_id_62, c0_.customer_id AS customer_id_63, c0_.billing_customer_id AS billing_customer_id_64, c0_.user_id AS user_id_65, c0_.delivery_id AS delivery_id_66, c0_.market_id AS market_id_67, c0_.price_id AS price_id_68, c0_.society_id AS society_id_69, c0_.commercial_id AS commercial_id_70, c0_.delivery_cost_id AS delivery_cost_id_71 FROM customer_order c0_ INNER JOIN customer_order_lines c1_ ON c0_.id = c1_.customer_order_id INNER JOIN product p2_ ON c1_.product_id = p2_.id WHERE p2_.id = ? AND c0_.created_at >= ?
Parameters:
[
  2887
  "2024-11-04 20:40:23"
]
322.11 ms
(20.92%)
1
SELECT p0_.id AS id_0, p0_.reference AS reference_1, p0_.manufacturer AS manufacturer_2, p0_.short_label AS short_label_3, p0_.long_label AS long_label_4, p0_.weight AS weight_5, p0_.sold_by AS sold_by_6, p0_.ppht AS ppht_7, p0_.ppttc AS ppttc_8, p0_.paht AS paht_9, p0_.pattc AS pattc_10, p0_.legal_discount_library AS legal_discount_library_11, p0_.fidelity_bonus AS fidelity_bonus_12, p0_.brand AS brand_13, p0_.time_limit AS time_limit_14, p0_.coef AS coef_15, p0_.is_discountable AS is_discountable_16, p0_.is_btob AS is_btob_17, p0_.is_btoc AS is_btoc_18, p0_.is_customizable AS is_customizable_19, p0_.is_library AS is_library_20, p0_.is_nathan AS is_nathan_21, p0_.is_green AS is_green_22, p0_.is_orapi_grand_frais AS is_orapi_grand_frais_23, p0_.is_active AS is_active_24, p0_.slug AS slug_25 FROM product p0_ INNER JOIN customer_order_lines c1_ ON (c1_.product_id = p0_.id) INNER JOIN customer_order c2_ ON c1_.customer_order_id = c2_.id WHERE c2_.id IN (?, ?, ?, ?, ?,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?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) AND p0_.id <> ? AND p0_.is_btoc = 1 GROUP BY p0_.id, p0_.reference, p0_.manufacturer, p0_.short_label, p0_.long_label, p0_.weight, p0_.sold_by, p0_.ppht, p0_.ppttc, p0_.paht, p0_.pattc, p0_.legal_discount_library, p0_.fidelity_bonus, p0_.brand, p0_.time_limit, p0_.coef, p0_.is_discountable, p0_.is_btob, p0_.is_btoc, p0_.is_customizable, p0_.is_library, p0_.is_nathan, p0_.is_green, p0_.is_orapi_grand_frais, p0_.is_active, p0_.slug ORDER BY COUNT(p0_.id) DESC LIMIT 10
Parameters:
[
  6257463
  6257738
  6257898
  6258074
  6258396
  6258545
  6259095
  6260057
  6260269
  6260717
  6261482
  6264073
  6263166
  6264589
  6265054
  6265055
  6265082
  6265169
  6265548
  6266243
  6266969
  6268421
  6269079
  6269255
  6269442
  6269852
  6269871
  6270378
  6270779
  6271345
  6272070
  6272367
  6273204
  6266236
  6273859
  6274022
  6274109
  6274144
  6274141
  6274222
  6274341
  6274383
  6274545
  6274894
  6275065
  6275771
  6275999
  6276267
  6276477
  6276766
  6277786
  6277853
  6278828
  6279264
  6279273
  6279370
  6279786
  6280184
  6280385
  6281027
  6281067
  6281170
  6281188
  6281193
  6281668
  6281958
  6282199
  6282300
  6282306
  6282344
  6282425
  6282624
  6282646
  6282881
  6283081
  6285138
  6285336
  6285986
  6286693
  6287317
  6288305
  6288342
  6288369
  6288406
  6289122
  6289242
  6289258
  6289511
  6289820
  6289878
  6289907
  6289933
  6290061
  6290095
  6290469
  6290513
  6291082
  6291137
  6291513
  6291580
  6292112
  6292132
  6292140
  6292557
  6292625
  6292734
  6292885
  6293153
  6293367
  6293898
  6293996
  6294050
  6294326
  6294618
  6294657
  6295730
  6296499
  6293981
  6296726
  6296796
  6296899
  6297172
  6298040
  6298465
  6298530
  6291640
  6298898
  6299311
  6299439
  6299468
  6299680
  6300040
  6300539
  6300956
  6301329
  6301386
  6301706
  6301729
  6301808
  6301995
  6302128
  6302339
  6302838
  6303014
  6303507
  6303646
  6304446
  6304736
  6304973
  6304995
  6305041
  6305269
  6305502
  6305508
  6305540
  6305553
  6305621
  6305675
  6305693
  6305708
  6305761
  6305767
  6305861
  6305950
  6306070
  6306160
  6306478
  6306541
  6306592
  6306710
  6306719
  6306841
  6307013
  6307782
  6308285
  6308364
  6308578
  6309277
  6310748
  6311239
  6311292
  6311985
  6312082
  6312290
  6312507
  6312559
  6312783
  6312894
  6313015
  6313164
  6313746
  6314298
  6314328
  6315278
  6315611
  6315720
  6315964
  6303466
  6313574
  6316976
  6316985
  6317438
  6317854
  6316946
  6317910
  6317948
  6317954
  6316963
  6318301
  6318442
  6318497
  6318632
  6319137
  6319338
  6319978
  6278992
  6320222
  6320476
  6321106
  6321320
  6322489
  6322854
  6322909
  6323437
  6323898
  6324099
  6324136
  6324208
  6324591
  6324571
  6324909
  6325471
  6326401
  6326656
  6326839
  6326961
  6326997
  6327085
  6327287
  6327336
  6327351
  6327379
  6327436
  6327521
  6327559
  6327598
  6327948
  6327967
  6328136
  6328151
  6328339
  6328425
  6328672
  6328913
  6329496
  6330051
  6330311
  6330314
  6331826
  6322644
  6332395
  6332462
  6332970
  6333052
  6333114
  6333123
  6333419
  6333455
  6333575
  6333701
  6333771
  6333871
  6333919
  6334096
  6334225
  6334831
  6334911
  6335016
  6335298
  6335338
  6335369
  6335471
  6335534
  6335649
  6335759
  6335872
  6336180
  6336302
  6336478
  6337011
  6335844
  6337258
  6337317
  6337353
  6337467
  6337477
  6337847
  6338663
  6338676
  6338700
  6338919
  6339930
  6339974
  6340290
  6340428
  6337544
  6340916
  6341005
  6341048
  6341240
  6341299
  6341318
  6341348
  6341469
  6341523
  6341971
  6342109
  6344284
  6344769
  6344813
  6344138
  6345005
  6345167
  6345240
  6345503
  6345733
  6345742
  6346109
  6346724
  6346926
  6347018
  6347078
  6347159
  6347237
  6347316
  6347397
  6347620
  6347651
  6347920
  6348113
  6348176
  6348336
  6348423
  6348456
  6348619
  6348677
  6348701
  6348842
  6348864
  6348891
  6349090
  6349354
  6349373
  6349422
  6349434
  6349574
  6349991
  6350420
  6350811
  6350817
  6351259
  6351307
  6340406
  6350958
  6351771
  6351807
  6332828
  6351867
  6351988
  6352015
  6352181
  6352391
  6352462
  6352556
  6352607
  6352708
  6352717
  6353198
  6353299
  6353308
  6353417
  6353738
  6353827
  6353935
  6354287
  6354470
  6354649
  6354870
  6355169
  6355531
  6355731
  6355754
  6355919
  6356096
  6356259
  6346210
  6357226
  6358154
  6358546
  6358569
  6358989
  6359165
  6359327
  6359450
  6359685
  6359902
  6358372
  6360423
  6360696
  6361894
  6362291
  6362404
  6362756
  6355935
  6363471
  6363817
  6362371
  6364331
  6365471
  6366605
  6368659
  6369022
  6369128
  6369158
  6369232
  6369825
  6369983
  6370075
  6370094
  6370184
  6370630
  6370762
  6370767
  6370956
  6370972
  6370973
  6370979
  6371014
  6371119
  6371170
  6371183
  6371324
  6371366
  6371470
  6371640
  6371841
  6371897
  6372243
  6372291
  6373065
  6373408
  6373715
  6373720
  6373842
  6374424
  6375482
  6375843
  6376550
  6376726
  6376918
  2887
]
106.70 ms
(6.93%)
1
SELECT p0_.id AS id_0, p0_.reference AS reference_1, p0_.manufacturer AS manufacturer_2, p0_.short_label AS short_label_3, p0_.long_label AS long_label_4, p0_.weight AS weight_5, p0_.sold_by AS sold_by_6, p0_.ppht AS ppht_7, p0_.ppttc AS ppttc_8, p0_.paht AS paht_9, p0_.pattc AS pattc_10, p0_.legal_discount_library AS legal_discount_library_11, p0_.fidelity_bonus AS fidelity_bonus_12, p0_.brand AS brand_13, p0_.time_limit AS time_limit_14, p0_.coef AS coef_15, p0_.is_discountable AS is_discountable_16, p0_.is_btob AS is_btob_17, p0_.is_btoc AS is_btoc_18, p0_.is_customizable AS is_customizable_19, p0_.is_library AS is_library_20, p0_.is_nathan AS is_nathan_21, p0_.is_green AS is_green_22, p0_.is_orapi_grand_frais AS is_orapi_grand_frais_23, p0_.is_active AS is_active_24, p0_.slug AS slug_25, p1_.id AS id_26, p1_.price_ht AS price_ht_27, p1_.price_ttc AS price_ttc_28, p2_.id AS id_29, c3_.id AS id_30, c3_.name AS name_31, c3_.displayed_order AS displayed_order_32, c3_.is_in_footer AS is_in_footer_33, c3_.slug AS slug_34, p4_.id AS id_35, p4_.price_ht AS price_ht_36, p4_.price_ttc AS price_ttc_37, p4_.discount AS discount_38, p5_.id AS id_39, p5_.min AS min_40, p5_.max AS max_41, p5_.codelot AS codelot_42, c6_.id AS id_43, c6_.name AS name_44, c6_.name_display AS name_display_45, c6_.is_visible_btob AS is_visible_btob_46, c6_.is_referencement AS is_referencement_47, p1_.price_id AS price_id_48, p1_.product_id AS product_id_49, c3_.category_parent_id AS category_parent_id_50, p4_.product_id AS product_id_51, p5_.customer_catalog_id AS customer_catalog_id_52, p5_.product_id AS product_id_53 FROM product p0_ LEFT JOIN product_price p1_ ON p0_.id = p1_.product_id LEFT JOIN price p2_ ON p1_.price_id = p2_.id LEFT JOIN product_category p7_ ON p0_.id = p7_.product_id LEFT JOIN category c3_ ON c3_.id = p7_.category_id LEFT JOIN promotion p4_ ON p0_.id = p4_.product_id LEFT JOIN product_catalog p5_ ON p0_.id = p5_.product_id LEFT JOIN customer_catalog c6_ ON p5_.customer_catalog_id = c6_.id WHERE p0_.slug = ? AND p0_.is_active = 1
Parameters:
[
  "17334-agrafes-couleur-stanley-sp1906z"
]
21.28 ms
(1.38%)
21
SELECT t0.id AS id_1, t0.price_ht AS price_ht_2, t0.price_ttc AS price_ttc_3, t0.price_id AS price_id_4, t0.product_id AS product_id_5 FROM product_price t0 WHERE t0.price_id = ? AND t0.product_id = ? LIMIT 1
Parameters:
[
  "CAISSE2011"
  2887
]
10.82 ms
(0.70%)
20
SELECT t0.id AS id_1, t0.value AS value_2, t0.product_id AS product_id_3, t0.characteristic_label_id AS characteristic_label_id_4 FROM characteristic t0 WHERE t0.product_id = ? AND t0.characteristic_label_id = ? LIMIT 1
Parameters:
[
  480
  7
]
9.15 ms
(0.59%)
21
SELECT d0_.id AS id_0, d0_.quantity AS quantity_1, d0_.price_ht AS price_ht_2, d0_.price_ttc AS price_ttc_3, d0_.product_id AS product_id_4, d0_.product_price_id AS product_price_id_5, d0_.promotion_id AS promotion_id_6, d0_.market_id AS market_id_7 FROM decreasing_price d0_ WHERE d0_.product_id = ? AND d0_.quantity <= ? ORDER BY d0_.quantity DESC LIMIT 1
Parameters:
[
  2887
  0
]
4.99 ms
(0.32%)
20
SELECT t0.id AS id_1, t0.price_ht AS price_ht_2, t0.price_ttc AS price_ttc_3, t0.discount AS discount_4, t0.product_id AS product_id_5 FROM promotion t0 WHERE t0.product_id = ?
Parameters:
[
  480
]
2.56 ms
(0.17%)
1
SELECT c0_.id AS id_0, c0_.value AS value_1, c1_.id AS id_2, c1_.list_order AS list_order_3, c1_.is_display_site AS is_display_site_4, c1_.is_search_site AS is_search_site_5, c1_.label AS label_6, c0_.product_id AS product_id_7, c0_.characteristic_label_id AS characteristic_label_id_8 FROM characteristic c0_ INNER JOIN characteristic_label c1_ ON c0_.characteristic_label_id = c1_.id WHERE c0_.product_id = ? AND c1_.is_display_site = ?
Parameters:
[
  2887
  1
]
1.34 ms
(0.09%)
7
SELECT t0.id AS id_1, t0.name AS name_2, t0.displayed_order AS displayed_order_3, t0.is_in_footer AS is_in_footer_4, t0.slug AS slug_5, t0.category_parent_id AS category_parent_id_6 FROM category t0 WHERE t0.category_parent_id = ?
Parameters:
[
  54
]
1.21 ms
(0.08%)
1
SELECT c0_.id AS id_0, c0_.name AS name_1, c0_.displayed_order AS displayed_order_2, c0_.is_in_footer AS is_in_footer_3, c0_.slug AS slug_4, c1_.id AS id_5, c1_.name AS name_6, c1_.displayed_order AS displayed_order_7, c1_.is_in_footer AS is_in_footer_8, c1_.slug AS slug_9, c2_.id AS id_10, c2_.name AS name_11, c2_.displayed_order AS displayed_order_12, c2_.is_in_footer AS is_in_footer_13, c2_.slug AS slug_14, c0_.category_parent_id AS category_parent_id_15, c1_.category_parent_id AS category_parent_id_16, c2_.category_parent_id AS category_parent_id_17 FROM category c0_ LEFT JOIN category c1_ ON c0_.id = c1_.category_parent_id LEFT JOIN category c2_ ON c1_.id = c2_.category_parent_id WHERE c0_.category_parent_id IS NULL
Parameters:
[]
1.09 ms
(0.07%)
1
SELECT p0_.id AS id_0, p0_.reference AS reference_1, p0_.manufacturer AS manufacturer_2, p0_.short_label AS short_label_3, p0_.long_label AS long_label_4, p0_.weight AS weight_5, p0_.sold_by AS sold_by_6, p0_.ppht AS ppht_7, p0_.ppttc AS ppttc_8, p0_.paht AS paht_9, p0_.pattc AS pattc_10, p0_.legal_discount_library AS legal_discount_library_11, p0_.fidelity_bonus AS fidelity_bonus_12, p0_.brand AS brand_13, p0_.time_limit AS time_limit_14, p0_.coef AS coef_15, p0_.is_discountable AS is_discountable_16, p0_.is_btob AS is_btob_17, p0_.is_btoc AS is_btoc_18, p0_.is_customizable AS is_customizable_19, p0_.is_library AS is_library_20, p0_.is_nathan AS is_nathan_21, p0_.is_green AS is_green_22, p0_.is_orapi_grand_frais AS is_orapi_grand_frais_23, p0_.is_active AS is_active_24, p0_.slug AS slug_25 FROM product p0_ LEFT JOIN product_category p2_ ON p0_.id = p2_.product_id LEFT JOIN category c1_ ON c1_.id = p2_.category_id WHERE c1_.id IN (?, ?, ?, ?, ?, ?, ?, ?) AND p0_.is_active = 1 AND p0_.id <> ? AND p0_.is_btoc = 1 LIMIT 10
Parameters:
[
  54
  253
  254
  255
  256
  257
  258
  253
  2887
]
0.81 ms
(0.05%)
1
SELECT d0_.quantity AS quantity_0, MIN(d0_.price_ht) AS sclr_1, MIN(d0_.price_ttc) AS sclr_2 FROM decreasing_price d0_ LEFT JOIN product p1_ ON d0_.product_id = p1_.id WHERE p1_.id = ? GROUP BY d0_.quantity ORDER BY d0_.quantity ASC
Parameters:
[
  2887
]
0.61 ms
(0.04%)
2
SELECT t0.id AS id_1, t0.name AS name_2, t0.value1 AS value1_3, t0.value2 AS value2_4, t0.value3 AS value3_5 FROM parameter t0 WHERE t0.name = ? LIMIT 1
Parameters:
[
  "ourClientsAlsoBoughtMonths"
]
0.39 ms
(0.03%)
1
SELECT t0.id AS id_1, t0.name AS name_2, t0.displayed_order AS displayed_order_3, t0.is_in_footer AS is_in_footer_4, t0.slug AS slug_5, t0.category_parent_id AS category_parent_id_6 FROM category t0 WHERE t0.id = ? LIMIT 1
Parameters:
[
  1
]
0.39 ms
(0.03%)
1
SELECT t0.id AS id_1, t0.name AS name_2, t0.displayed_order AS displayed_order_3, t0.is_in_footer AS is_in_footer_4, t0.slug AS slug_5, t0.category_parent_id AS category_parent_id_6 FROM category t0 WHERE t0.is_in_footer = ?
Parameters:
[
  1
]
0.19 ms
(0.01%)
1
SELECT t0.id AS id_1 FROM price t0 WHERE t0.id = ? LIMIT 1
Parameters:
[
  "CAISSE2011"
]

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.