Time | Duration | Query |
---|---|---|
14:13:13.103 | 1.6 ms |
SHOW FULL COLUMNS FROM `marketing_custom_urls` |
14:13:13.105 | 0.9 ms |
SHOW CREATE TABLE `marketing_custom_urls` |
14:13:13.106 | 1.4 ms |
SHOW FULL COLUMNS FROM `marketing_campaign_referrals` |
14:13:13.108 | 0.9 ms |
SHOW CREATE TABLE `marketing_campaign_referrals` |
14:13:13.109 | 0.8 ms |
SELECT `t`.`marketing_custom_url_id` AS `t0_c0`, `t`.`marketing_campaign_referral_id` AS `t0_c1`, `t`.`url` AS `t0_c2`, `t`.`target_url` AS `t0_c3`, `campaign_referral`.`marketing_campaign_referral_id` AS `t1_c0`, `campaign_referral`.`name` AS `t1_c1` FROM `marketing_custom_urls` `t` LEFT OUTER JOIN `marketing_campaign_referrals` `campaign_referral` ON (`campaign_referral`.`marketing_campaign_referral_id`=`t`.`marketing_custom_url_id`) WHERE (`t`.`url`='getuserorderdetails') |
14:13:13.110 | 0.9 ms |
SELECT `data`
FROM `user_session`
WHERE expire>1744913593 AND id='iugp2iregs5nuri9mekd322bt4' |
14:13:13.114 | 3.1 ms |
SHOW FULL COLUMNS FROM `securelufacom`.`users` |
14:13:13.119 | 1.5 ms |
SHOW CREATE TABLE `securelufacom`.`users` |
14:13:13.122 | 1.4 ms |
SELECT * FROM `securelufacom`.`users` `t` WHERE `t`.`user_id`=308842 LIMIT 1 |
14:13:13.129 | 2.7 ms |
SHOW FULL COLUMNS FROM `orders` |
14:13:13.132 | 1.2 ms |
SHOW CREATE TABLE `orders` |
14:13:13.134 | 1.2 ms |
SELECT * FROM `orders` `t` WHERE `t`.`order_id`='22043942' AND `t`.`user_id`='308842' LIMIT 1 |
14:13:13.137 | 1.6 ms |
SHOW FULL COLUMNS FROM `subscriptions` |
14:13:13.139 | 0.9 ms |
SHOW CREATE TABLE `subscriptions` |
14:13:13.141 | 1.8 ms |
SELECT `t`.`order_id` AS `t0_c0`, `t`.`subscription_id` AS `t0_c1`, `t`.`status` AS `t0_c2`, `t`.`basket_design_id` AS `t0_c3`, `t`.`droppoint_id` AS `t0_c4`, `t`.`drop_instance_id` AS `t0_c5`, `t`.`delivery_date` AS `t0_c6`, `t`.`number_box_needed` AS `t0_c7`, `t`.`user_id` AS `t0_c8`, `t`.`discount` AS `t0_c9`, `t`.`default_basket_price` AS `t0_c10`, `t`.`previous_amount_due` AS `t0_c11`, `t`.`total_order_amount` AS `t0_c12`, `t`.`total_national_tax` AS `t0_c13`, `t`.`total_provincial_tax` AS `t0_c14`, `t`.`total_extracted_from_credits` AS `t0_c15`, `t`.`total_extracted_from_free_credits` AS `t0_c16`, `t`.`total_extracted_from_direct_payment` AS `t0_c17`, `t`.`total_contribution_amount` AS `t0_c18`, `t`.`contributor_name` AS `t0_c19`, `t`.`number_of_customization` AS `t0_c20`, `t`.`coupon_id` AS `t0_c21`, `t`.`donated` AS `t0_c22`, `t`.`qa_status` AS `t0_c23`, `t`.`qa_staff_id` AS `t0_c24`, `t`.`qa_timestamp` AS `t0_c25`, `t`.`created` AS `t0_c26`, `t`.`notify_order_created_status` AS `t0_c27`, `t`.`notify_order_finalized_status` AS `t0_c28`, `t`.`total_extracted_from_deposit` AS `t0_c29`, `t`.`cancelation_reason_type` AS `t0_c30`, `t`.`type` AS `t0_c31`, `t`.`qa_reason` AS `t0_c32`, `t`.`previous_droppoint_id` AS `t0_c33`, `t`.`marketplace_preview_only` AS `t0_c34`, `t`.`delivery_service_amount` AS `t0_c35`, `t`.`picked_up_at` AS `t0_c36`, `t`.`correct_stickers` AS `t0_c37`, `t`.`basket_cleanliness` AS `t0_c38`, `t`.`customer_notified` AS `t0_c39`, `t`.`scheduled_delivery_time` AS `t0_c40`, `t`.`revised_delivery_time` AS `t0_c41`, `t`.`real_delivery_time` AS `t0_c42`, `t`.`late_delivery_notification` AS `t0_c43`, `t`.`youarenext_delivery_notification` AS `t0_c44`, `t`.`gift_receiver_id` AS `t0_c45`, `t`.`subscription_type` AS `t0_c46`, `t`.`charity_received` AS `t0_c47`, `t`.`donation_amount` AS `t0_c48`, `t`.`total_consigne_amount` AS `t0_c49`, `t`.`contains_alcohol` AS `t0_c50`, `t`.`adult_toc_confirmed` AS `t0_c51`, `t`.`company_id_associated` AS `t0_c52`, `t`.`checkout_banner_transaction_id` AS `t0_c53`, `t`.`additional_boxes` AS `t0_c54`, `t`.`orders_order_prepopulation_method` AS `t0_c55`, `t`.`skip_reason_id` AS `t0_c56`, `t`.`orders_tax_region_code` AS `t0_c57`, `subscriptions`.`subscription_id` AS `t1_c0`, `subscriptions`.`user_id` AS `t1_c1`, `subscriptions`.`drop_instance_id` AS `t1_c2`, `subscriptions`.`basket_id` AS `t1_c3`, `subscriptions`.`created` AS `t1_c4`, `subscriptions`.`active` AS `t1_c5`, `subscriptions`.`start_date` AS `t1_c6`, `subscriptions`.`type` AS `t1_c7`, `subscriptions`.`state` AS `t1_c8`, `subscriptions`.`became_superlufavore_on` AS `t1_c9`, `subscriptions`.`signup_variation` AS `t1_c10`, `subscriptions`.`subscriptions_order_prepopulation_method` AS `t1_c11` FROM `orders` `t` LEFT OUTER JOIN `subscriptions` `subscriptions` ON (`t`.`subscription_id`=`subscriptions`.`subscription_id`) WHERE ((t.user_id=308842) AND (((t.status IN (0,1,2,7)) AND t.user_id = '308842' AND t.delivery_date > CURDATE()) OR (t.status = 4 AND t.user_id = '308842' AND t.delivery_date = CURDATE()) OR (t.status = 5 AND t.delivery_date > CURDATE() AND t.subscription_id != 0 AND t.user_id = '308842'))) ORDER BY IF(t.status = 5, 1, 2) DESC, t.delivery_date DESC LIMIT 1 |
14:13:13.143 | 1.1 ms |
SELECT
q.user_notification_message_queue_id, q.session_clicks,
n.notification_messages_id, n.start_date, n.end_date, n.created_at, n.status,
IF ('fr' = "fr", n.desktop_collapsed_message, n_l.l_desktop_collapsed_message) as desktop_collapsed_message,
IF ('fr' = "fr", n.mobile_collapsed_message, n_l.l_mobile_collapsed_message) as mobile_collapsed_message,
IF ('fr' = "fr", n.title, n_l.l_title) as title,
IF ('fr' = "fr", n.content, n_l.content) as content,
CONCAT("/images/notificationMessages/", n.icon) as icon,
'fr' as lang,
0 as 'iugp2iregs5nuri9mekd322bt4'
FROM user_notification_message_queue q
INNER JOIN notification_messages n ON n.notification_messages_id = q.notification_messages_id
INNER JOIN notification_messages_lang n_l ON n_l.notification_messages_id = n.notification_messages_id
WHERE q.user_id = '308842'
AND n.status = 2
AND q.session_clicks < 2 |
14:13:13.146 | 2.3 ms |
SELECT * FROM `orders` `t` WHERE (t.user_id=308842) AND ((user_id='308842') AND (status='4')) ORDER BY delivery_date DESC LIMIT 1 |
14:13:13.148 | 1.5 ms |
SHOW FULL COLUMNS FROM `order_gift_receivers` |
14:13:13.150 | 2.2 ms |
SHOW CREATE TABLE `order_gift_receivers` |
14:13:13.153 | 0.7 ms |
SELECT `gift_receivers`.`gift_receiver_id` AS `t1_c0`, `gift_receivers`.`user_id` AS `t1_c1`, `gift_receivers`.`lang` AS `t1_c2`, `gift_receivers`.`first_name` AS `t1_c3`, `gift_receivers`.`last_name` AS `t1_c4`, `gift_receivers`.`email` AS `t1_c5`, `gift_receivers`.`phone` AS `t1_c6`, `gift_receivers`.`comment` AS `t1_c7`, `gift_receivers`.`surprise` AS `t1_c8` FROM `order_gift_receivers` `gift_receivers` WHERE (`gift_receivers`.`gift_receiver_id`=NULL) |
14:13:13.154 | 0.8 ms |
SELECT
mp_meal_plans_id,
meal_date,
TIME_FORMAT(time_of_day, '%H:%i') AS time_of_day,
meal_type,
IF('fr' = 'en', recipe_name, recipe_name_fr) AS recipe_name,
cooking_time,
recipe_instructions,
servings,
calories_per_serving,
total_price,
nutrients_list
FROM
mp_meal_plans
WHERE
order_id = '22240692'
ORDER BY
meal_date ASC, time_of_day ASC |
14:13:13.155 | 1.1 ms |
SELECT * FROM orders WHERE order_id = '22240692' |
14:13:13.166 | 7.9 ms |
SELECT
od.product_id as p_id,
od.product_id,
od.order_details_id,
od.product_details as description,
IF(od.defined_retail_price_per_unit_for_default_weight < od.default_retail_price_per_unit, 1, NULL) as on_sale,
od.default_retail_price_per_unit as default_price,
od.defined_retail_price_per_unit_for_default_weight as defined_price,
od.default_retail_price_per_unit as price,
od.paid_price_per_unit_for_default_weight as paid_price,
ROUND(p.average_price_quantity/p.weight*od.defined_retail_price_per_unit_for_default_weight,2) as avg_p_p,
ROUND(p.average_price_quantity/p.weight*p.price,2) as avg_p_p_r,
p.average_price_quantity as avg_p_q,
IF(
p.average_price_quantity IS NOT NULL AND
ROUND(p.average_price_quantity/p.weight*od.defined_retail_price_per_unit_for_default_weight,2) IS NOT NULL AND
ROUND(p.average_price_quantity/p.weight*p.price,2) IS NOT NULL AND
apu.average_price_unit IS NOT NULL
, 1, 0) as show_ind,
apu.average_price_unit as avg_p_u,
CONCAT('1') as quantity_in_basket,
IFNULL(pl.l_name, p.name) AS p_name,
IFNULL(spLang.l_name, sp.name) AS s_name,
p.image_url AS image_url,
IFNULL(catLang.l_name, cat.name) AS cat_na,
p.conservation_mode_in_basket as b_con,
p.weight,
p.charge_by_weight as c_wei,
p.units,
p.unit_of_measure as unit,
cat.weight as cat_weight
FROM
order_details od
LEFT JOIN
products p ON p.product_id = od.product_id
LEFT JOIN
average_price_units apu ON apu.average_price_unit_id = p.average_price_unit_id
LEFT JOIN
productsLang AS pl ON p.product_id = pl.product_id AND pl.lang_id = 'fr'
LEFT JOIN
suppliers AS sp ON p.supplier_id = sp.supplier_id
LEFT JOIN
suppliersLang AS spLang ON sp.supplier_id = spLang.supplier_id AND spLang.lang_id = 'fr'
LEFT JOIN
productSubSubCategories subsub ON subsub.sub_sub_id = p.sub_sub_id
LEFT JOIN
productSubCategories sub ON sub.subcategory_id = subsub.subcategory_id
LEFT JOIN
product_categories cat ON cat.category_id = sub.category_id
LEFT JOIN
productCategoriesLang catLang ON catLang.category_id = cat.category_id
WHERE
order_id = '22240692' AND
recipe_id IS NULL
ORDER BY
cat.weight ASC, sub.weight ASC, subsub.weight ASC, p.name |
14:13:13.174 | 3.7 ms |
SHOW FULL COLUMNS FROM `securelufacom`.`products` |
14:13:13.180 | 1.6 ms |
SHOW CREATE TABLE `securelufacom`.`products` |
14:13:13.188 | 1.6 ms |
SELECT * FROM `securelufacom`.`users` `t` WHERE `t`.`user_id`=308842 LIMIT 1 |
14:13:13.191 | 2.0 ms |
SHOW FULL COLUMNS FROM `coupons` |
14:13:13.194 | 3.9 ms |
SHOW CREATE TABLE `coupons` |
14:13:13.198 | 0.9 ms |
SELECT `coupon`.`coupon_id` AS `t1_c0`, `coupon`.`name` AS `t1_c1`, `coupon`.`code` AS `t1_c2`, `coupon`.`type` AS `t1_c3`, `coupon`.`use_type` AS `t1_c4`, `coupon`.`amount` AS `t1_c5`, `coupon`.`created` AS `t1_c6`, `coupon`.`updated` AS `t1_c7`, `coupon`.`start_date` AS `t1_c8`, `coupon`.`end_date` AS `t1_c9`, `coupon`.`max_user_uses` AS `t1_c10`, `coupon`.`max_uses` AS `t1_c11`, `coupon`.`status` AS `t1_c12`, `coupon`.`note` AS `t1_c13`, `coupon`.`staff_id` AS `t1_c14`, `coupon`.`company_id` AS `t1_c15`, `coupon`.`up_to_amount` AS `t1_c16`, `coupon`.`for_new` AS `t1_c17`, `coupon`.`referrer_user_id` AS `t1_c18`, `coupon`.`open_pup` AS `t1_c19`, `coupon`.`query` AS `t1_c20`, `coupon`.`product_id` AS `t1_c21`, `coupon`.`child_coupon_id` AS `t1_c22`, `coupon`.`gift_certificate` AS `t1_c23`, `coupon`.`used_for` AS `t1_c24`, `coupon`.`coupon_receiver_id` AS `t1_c25` FROM `coupons` `coupon` WHERE (`coupon`.`coupon_id`=NULL) |
14:13:13.199 | 1.3 ms |
SELECT * FROM `securelufacom`.`users` `t` WHERE `t`.`user_id`=308842 LIMIT 1 |
14:13:13.203 | 0.8 ms |
SELECT * FROM `subscriptions` `t` WHERE `t`.`user_id`='308842' LIMIT 1 |
14:13:13.204 | 4.7 ms |
SELECT COUNT(*) FROM `mp_in_members` WHERE `user_id` = '308842' |
14:13:13.208 | 2.6 ms |
SELECT COUNT(*) FROM `mp_in_meals` WHERE `user_id` = '308842' |
14:13:13.211 | 1.4 ms |
SHOW FULL COLUMNS FROM `recipeOrders` |
14:13:13.213 | 3.1 ms |
SHOW CREATE TABLE `recipeOrders` |
14:13:13.216 | 0.8 ms |
SELECT * FROM `recipeOrders` `t` WHERE `t`.`order_id`='22240692' |
14:13:13.236 | 1.0 ms |
SELECT `id`
FROM `user_session`
WHERE id='iugp2iregs5nuri9mekd322bt4' |
14:13:13.237 | 3.8 ms |
UPDATE `user_session` SET `data`='lufaState__language|s:2:"fr";lufaState__id|s:6:"308842";lufaState__name|s:16:"ams_2@icloud.com";lufaStateuser_email|s:16:"ams_2@icloud.com";lufaStatefirst_name|s:6:"Andree";lufaStatelfpr|s:19:"2022-05-02 13:45:42";lufaState__states|a:3:{s:10:"user_email";b:1;s:10:"first_name";b:1;s:4:"lfpr";b:1;}lufaStatesecondHarvest|a:2:{s:5:"value";b:1;s:10:"expiration";i:1738293092;}lufaStateemail_schedule_id|i:209093;marketplace_id|s:8:"22043942";lufaStateDev__language|s:2:"fr";lufaStateDev__id|s:6:"308842";lufaStateDev__name|s:16:"ams_2@icloud.com";lufaStateDevuser_email|s:16:"ams_2@icloud.com";lufaStateDevfirst_name|s:6:"Andree";lufaStateDevlfpr|s:19:"2022-05-02 13:45:42";lufaStateDev__states|a:3:{s:10:"user_email";b:1;s:10:"first_name";b:1;s:4:"lfpr";b:1;}lufaStateDevsecondHarvest|a:2:{s:5:"value";b:0;s:10:"expiration";i:1744915222;}', `expire`=1758132793 WHERE id='iugp2iregs5nuri9mekd322bt4' |
14:13:13.259 | 3.2 ms |
INSERT IGNORE INTO stats_page_requested (url, memory_used, loading_time, ip, user_id, request_body, query_string, cookies)
VALUES ('superMarket/GetUserOrderDetails', 3.41, 0.17, '70.52.32.200', '308842', '', '', 's:0:"";'); |
14:13:13.262 | 1.1 ms |
UPDATE user_session SET user_id = '308842' WHERE id = 'iugp2iregs5nuri9mekd322bt4' AND user_id IS NULL |
# | Query | Count | Total | Avg | Min | Max |
---|---|---|---|---|---|---|
1 |
SELECT
od.product_id as p_id,
od.product_id,
od.order_details_id,
od.product_details as description,
IF(od.defined_retail_price_per_unit_for_default_weight < od.default_retail_price_per_unit, 1, NULL) as on_sale,
od.default_retail_price_per_unit as default_price,
od.defined_retail_price_per_unit_for_default_weight as defined_price,
od.default_retail_price_per_unit as price,
od.paid_price_per_unit_for_default_weight as paid_price,
ROUND(p.average_price_quantity/p.weight*od.defined_retail_price_per_unit_for_default_weight,2) as avg_p_p,
ROUND(p.average_price_quantity/p.weight*p.price,2) as avg_p_p_r,
p.average_price_quantity as avg_p_q,
IF(
p.average_price_quantity IS NOT NULL AND
ROUND(p.average_price_quantity/p.weight*od.defined_retail_price_per_unit_for_default_weight,2) IS NOT NULL AND
ROUND(p.average_price_quantity/p.weight*p.price,2) IS NOT NULL AND
apu.average_price_unit IS NOT NULL
, 1, 0) as show_ind,
apu.average_price_unit as avg_p_u,
CONCAT('1') as quantity_in_basket,
IFNULL(pl.l_name, p.name) AS p_name,
IFNULL(spLang.l_name, sp.name) AS s_name,
p.image_url AS image_url,
IFNULL(catLang.l_name, cat.name) AS cat_na,
p.conservation_mode_in_basket as b_con,
p.weight,
p.charge_by_weight as c_wei,
p.units,
p.unit_of_measure as unit,
cat.weight as cat_weight
FROM
order_details od
LEFT JOIN
products p ON p.product_id = od.product_id
LEFT JOIN
average_price_units apu ON apu.average_price_unit_id = p.average_price_unit_id
LEFT JOIN
productsLang AS pl ON p.product_id = pl.product_id AND pl.lang_id = 'fr'
LEFT JOIN
suppliers AS sp ON p.supplier_id = sp.supplier_id
LEFT JOIN
suppliersLang AS spLang ON sp.supplier_id = spLang.supplier_id AND spLang.lang_id = 'fr'
LEFT JOIN
productSubSubCategories subsub ON subsub.sub_sub_id = p.sub_sub_id
LEFT JOIN
productSubCategories sub ON sub.subcategory_id = subsub.subcategory_id
LEFT JOIN
product_categories cat ON cat.category_id = sub.category_id
LEFT JOIN
productCategoriesLang catLang ON catLang.category_id = cat.category_id
WHERE
order_id = '22240692' AND
recipe_id IS NULL
ORDER BY
cat.weight ASC, sub.weight ASC, subsub.weight ASC, p.name |
1 | 7.9 ms | 7.9 ms | 7.9 ms | 7.9 ms |
2 |
SELECT COUNT(*) FROM `mp_in_members` WHERE `user_id` = '308842' |
1 | 4.7 ms | 4.7 ms | 4.7 ms | 4.7 ms |
3 |
SELECT * FROM `securelufacom`.`users` `t` WHERE `t`.`user_id`=308842 LIMIT 1 |
3 | 4.2 ms | 1.4 ms | 1.3 ms | 1.6 ms |
4 |
SHOW CREATE TABLE `coupons` |
1 | 3.9 ms | 3.9 ms | 3.9 ms | 3.9 ms |
5 |
UPDATE `user_session` SET `data`='lufaState__language|s:2:"fr";lufaState__id|s:6:"308842";lufaState__name|s:16:"ams_2@icloud.com";lufaStateuser_email|s:16:"ams_2@icloud.com";lufaStatefirst_name|s:6:"Andree";lufaStatelfpr|s:19:"2022-05-02 13:45:42";lufaState__states|a:3:{s:10:"user_email";b:1;s:10:"first_name";b:1;s:4:"lfpr";b:1;}lufaStatesecondHarvest|a:2:{s:5:"value";b:1;s:10:"expiration";i:1738293092;}lufaStateemail_schedule_id|i:209093;marketplace_id|s:8:"22043942";lufaStateDev__language|s:2:"fr";lufaStateDev__id|s:6:"308842";lufaStateDev__name|s:16:"ams_2@icloud.com";lufaStateDevuser_email|s:16:"ams_2@icloud.com";lufaStateDevfirst_name|s:6:"Andree";lufaStateDevlfpr|s:19:"2022-05-02 13:45:42";lufaStateDev__states|a:3:{s:10:"user_email";b:1;s:10:"first_name";b:1;s:4:"lfpr";b:1;}lufaStateDevsecondHarvest|a:2:{s:5:"value";b:0;s:10:"expiration";i:1744915222;}', `expire`=1758132793 WHERE id='iugp2iregs5nuri9mekd322bt4' |
1 | 3.8 ms | 3.8 ms | 3.8 ms | 3.8 ms |
6 |
SHOW FULL COLUMNS FROM `securelufacom`.`products` |
1 | 3.7 ms | 3.7 ms | 3.7 ms | 3.7 ms |
7 |
INSERT IGNORE INTO stats_page_requested (url, memory_used, loading_time, ip, user_id, request_body, query_string, cookies)
VALUES ('superMarket/GetUserOrderDetails', 3.41, 0.17, '70.52.32.200', '308842', '', '', 's:0:"";'); |
1 | 3.2 ms | 3.2 ms | 3.2 ms | 3.2 ms |
8 |
SHOW CREATE TABLE `recipeOrders` |
1 | 3.1 ms | 3.1 ms | 3.1 ms | 3.1 ms |
9 |
SHOW FULL COLUMNS FROM `securelufacom`.`users` |
1 | 3.1 ms | 3.1 ms | 3.1 ms | 3.1 ms |
10 |
SHOW FULL COLUMNS FROM `orders` |
1 | 2.7 ms | 2.7 ms | 2.7 ms | 2.7 ms |
11 |
SELECT COUNT(*) FROM `mp_in_meals` WHERE `user_id` = '308842' |
1 | 2.6 ms | 2.6 ms | 2.6 ms | 2.6 ms |
12 |
SELECT * FROM `orders` `t` WHERE (t.user_id=308842) AND ((user_id='308842') AND (status='4')) ORDER BY delivery_date DESC LIMIT 1 |
1 | 2.3 ms | 2.3 ms | 2.3 ms | 2.3 ms |
13 |
SHOW CREATE TABLE `order_gift_receivers` |
1 | 2.2 ms | 2.2 ms | 2.2 ms | 2.2 ms |
14 |
SHOW FULL COLUMNS FROM `coupons` |
1 | 2.0 ms | 2.0 ms | 2.0 ms | 2.0 ms |
15 |
SELECT `t`.`order_id` AS `t0_c0`, `t`.`subscription_id` AS `t0_c1`, `t`.`status` AS `t0_c2`, `t`.`basket_design_id` AS `t0_c3`, `t`.`droppoint_id` AS `t0_c4`, `t`.`drop_instance_id` AS `t0_c5`, `t`.`delivery_date` AS `t0_c6`, `t`.`number_box_needed` AS `t0_c7`, `t`.`user_id` AS `t0_c8`, `t`.`discount` AS `t0_c9`, `t`.`default_basket_price` AS `t0_c10`, `t`.`previous_amount_due` AS `t0_c11`, `t`.`total_order_amount` AS `t0_c12`, `t`.`total_national_tax` AS `t0_c13`, `t`.`total_provincial_tax` AS `t0_c14`, `t`.`total_extracted_from_credits` AS `t0_c15`, `t`.`total_extracted_from_free_credits` AS `t0_c16`, `t`.`total_extracted_from_direct_payment` AS `t0_c17`, `t`.`total_contribution_amount` AS `t0_c18`, `t`.`contributor_name` AS `t0_c19`, `t`.`number_of_customization` AS `t0_c20`, `t`.`coupon_id` AS `t0_c21`, `t`.`donated` AS `t0_c22`, `t`.`qa_status` AS `t0_c23`, `t`.`qa_staff_id` AS `t0_c24`, `t`.`qa_timestamp` AS `t0_c25`, `t`.`created` AS `t0_c26`, `t`.`notify_order_created_status` AS `t0_c27`, `t`.`notify_order_finalized_status` AS `t0_c28`, `t`.`total_extracted_from_deposit` AS `t0_c29`, `t`.`cancelation_reason_type` AS `t0_c30`, `t`.`type` AS `t0_c31`, `t`.`qa_reason` AS `t0_c32`, `t`.`previous_droppoint_id` AS `t0_c33`, `t`.`marketplace_preview_only` AS `t0_c34`, `t`.`delivery_service_amount` AS `t0_c35`, `t`.`picked_up_at` AS `t0_c36`, `t`.`correct_stickers` AS `t0_c37`, `t`.`basket_cleanliness` AS `t0_c38`, `t`.`customer_notified` AS `t0_c39`, `t`.`scheduled_delivery_time` AS `t0_c40`, `t`.`revised_delivery_time` AS `t0_c41`, `t`.`real_delivery_time` AS `t0_c42`, `t`.`late_delivery_notification` AS `t0_c43`, `t`.`youarenext_delivery_notification` AS `t0_c44`, `t`.`gift_receiver_id` AS `t0_c45`, `t`.`subscription_type` AS `t0_c46`, `t`.`charity_received` AS `t0_c47`, `t`.`donation_amount` AS `t0_c48`, `t`.`total_consigne_amount` AS `t0_c49`, `t`.`contains_alcohol` AS `t0_c50`, `t`.`adult_toc_confirmed` AS `t0_c51`, `t`.`company_id_associated` AS `t0_c52`, `t`.`checkout_banner_transaction_id` AS `t0_c53`, `t`.`additional_boxes` AS `t0_c54`, `t`.`orders_order_prepopulation_method` AS `t0_c55`, `t`.`skip_reason_id` AS `t0_c56`, `t`.`orders_tax_region_code` AS `t0_c57`, `subscriptions`.`subscription_id` AS `t1_c0`, `subscriptions`.`user_id` AS `t1_c1`, `subscriptions`.`drop_instance_id` AS `t1_c2`, `subscriptions`.`basket_id` AS `t1_c3`, `subscriptions`.`created` AS `t1_c4`, `subscriptions`.`active` AS `t1_c5`, `subscriptions`.`start_date` AS `t1_c6`, `subscriptions`.`type` AS `t1_c7`, `subscriptions`.`state` AS `t1_c8`, `subscriptions`.`became_superlufavore_on` AS `t1_c9`, `subscriptions`.`signup_variation` AS `t1_c10`, `subscriptions`.`subscriptions_order_prepopulation_method` AS `t1_c11` FROM `orders` `t` LEFT OUTER JOIN `subscriptions` `subscriptions` ON (`t`.`subscription_id`=`subscriptions`.`subscription_id`) WHERE ((t.user_id=308842) AND (((t.status IN (0,1,2,7)) AND t.user_id = '308842' AND t.delivery_date > CURDATE()) OR (t.status = 4 AND t.user_id = '308842' AND t.delivery_date = CURDATE()) OR (t.status = 5 AND t.delivery_date > CURDATE() AND t.subscription_id != 0 AND t.user_id = '308842'))) ORDER BY IF(t.status = 5, 1, 2) DESC, t.delivery_date DESC LIMIT 1 |
1 | 1.8 ms | 1.8 ms | 1.8 ms | 1.8 ms |
16 |
SHOW FULL COLUMNS FROM `marketing_custom_urls` |
1 | 1.6 ms | 1.6 ms | 1.6 ms | 1.6 ms |
17 |
SHOW CREATE TABLE `securelufacom`.`products` |
1 | 1.6 ms | 1.6 ms | 1.6 ms | 1.6 ms |
18 |
SHOW FULL COLUMNS FROM `subscriptions` |
1 | 1.6 ms | 1.6 ms | 1.6 ms | 1.6 ms |
19 |
SHOW FULL COLUMNS FROM `order_gift_receivers` |
1 | 1.5 ms | 1.5 ms | 1.5 ms | 1.5 ms |
20 |
SHOW CREATE TABLE `securelufacom`.`users` |
1 | 1.5 ms | 1.5 ms | 1.5 ms | 1.5 ms |
21 |
SHOW FULL COLUMNS FROM `recipeOrders` |
1 | 1.4 ms | 1.4 ms | 1.4 ms | 1.4 ms |
22 |
SHOW FULL COLUMNS FROM `marketing_campaign_referrals` |
1 | 1.4 ms | 1.4 ms | 1.4 ms | 1.4 ms |
23 |
SELECT * FROM `orders` `t` WHERE `t`.`order_id`='22043942' AND `t`.`user_id`='308842' LIMIT 1 |
1 | 1.2 ms | 1.2 ms | 1.2 ms | 1.2 ms |
24 |
SHOW CREATE TABLE `orders` |
1 | 1.2 ms | 1.2 ms | 1.2 ms | 1.2 ms |
25 |
SELECT * FROM orders WHERE order_id = '22240692' |
1 | 1.1 ms | 1.1 ms | 1.1 ms | 1.1 ms |
26 |
SELECT
q.user_notification_message_queue_id, q.session_clicks,
n.notification_messages_id, n.start_date, n.end_date, n.created_at, n.status,
IF ('fr' = "fr", n.desktop_collapsed_message, n_l.l_desktop_collapsed_message) as desktop_collapsed_message,
IF ('fr' = "fr", n.mobile_collapsed_message, n_l.l_mobile_collapsed_message) as mobile_collapsed_message,
IF ('fr' = "fr", n.title, n_l.l_title) as title,
IF ('fr' = "fr", n.content, n_l.content) as content,
CONCAT("/images/notificationMessages/", n.icon) as icon,
'fr' as lang,
0 as 'iugp2iregs5nuri9mekd322bt4'
FROM user_notification_message_queue q
INNER JOIN notification_messages n ON n.notification_messages_id = q.notification_messages_id
INNER JOIN notification_messages_lang n_l ON n_l.notification_messages_id = n.notification_messages_id
WHERE q.user_id = '308842'
AND n.status = 2
AND q.session_clicks < 2 |
1 | 1.1 ms | 1.1 ms | 1.1 ms | 1.1 ms |
27 |
UPDATE user_session SET user_id = '308842' WHERE id = 'iugp2iregs5nuri9mekd322bt4' AND user_id IS NULL |
1 | 1.1 ms | 1.1 ms | 1.1 ms | 1.1 ms |
28 |
SELECT `id`
FROM `user_session`
WHERE id='iugp2iregs5nuri9mekd322bt4' |
1 | 1.0 ms | 1.0 ms | 1.0 ms | 1.0 ms |
29 |
SELECT `coupon`.`coupon_id` AS `t1_c0`, `coupon`.`name` AS `t1_c1`, `coupon`.`code` AS `t1_c2`, `coupon`.`type` AS `t1_c3`, `coupon`.`use_type` AS `t1_c4`, `coupon`.`amount` AS `t1_c5`, `coupon`.`created` AS `t1_c6`, `coupon`.`updated` AS `t1_c7`, `coupon`.`start_date` AS `t1_c8`, `coupon`.`end_date` AS `t1_c9`, `coupon`.`max_user_uses` AS `t1_c10`, `coupon`.`max_uses` AS `t1_c11`, `coupon`.`status` AS `t1_c12`, `coupon`.`note` AS `t1_c13`, `coupon`.`staff_id` AS `t1_c14`, `coupon`.`company_id` AS `t1_c15`, `coupon`.`up_to_amount` AS `t1_c16`, `coupon`.`for_new` AS `t1_c17`, `coupon`.`referrer_user_id` AS `t1_c18`, `coupon`.`open_pup` AS `t1_c19`, `coupon`.`query` AS `t1_c20`, `coupon`.`product_id` AS `t1_c21`, `coupon`.`child_coupon_id` AS `t1_c22`, `coupon`.`gift_certificate` AS `t1_c23`, `coupon`.`used_for` AS `t1_c24`, `coupon`.`coupon_receiver_id` AS `t1_c25` FROM `coupons` `coupon` WHERE (`coupon`.`coupon_id`=NULL) |
1 | 0.9 ms | 0.9 ms | 0.9 ms | 0.9 ms |
30 |
SHOW CREATE TABLE `subscriptions` |
1 | 0.9 ms | 0.9 ms | 0.9 ms | 0.9 ms |
31 |
SHOW CREATE TABLE `marketing_custom_urls` |
1 | 0.9 ms | 0.9 ms | 0.9 ms | 0.9 ms |
32 |
SELECT `data`
FROM `user_session`
WHERE expire>1744913593 AND id='iugp2iregs5nuri9mekd322bt4' |
1 | 0.9 ms | 0.9 ms | 0.9 ms | 0.9 ms |
33 |
SHOW CREATE TABLE `marketing_campaign_referrals` |
1 | 0.9 ms | 0.9 ms | 0.9 ms | 0.9 ms |
34 |
SELECT `t`.`marketing_custom_url_id` AS `t0_c0`, `t`.`marketing_campaign_referral_id` AS `t0_c1`, `t`.`url` AS `t0_c2`, `t`.`target_url` AS `t0_c3`, `campaign_referral`.`marketing_campaign_referral_id` AS `t1_c0`, `campaign_referral`.`name` AS `t1_c1` FROM `marketing_custom_urls` `t` LEFT OUTER JOIN `marketing_campaign_referrals` `campaign_referral` ON (`campaign_referral`.`marketing_campaign_referral_id`=`t`.`marketing_custom_url_id`) WHERE (`t`.`url`='getuserorderdetails') |
1 | 0.8 ms | 0.8 ms | 0.8 ms | 0.8 ms |
35 |
SELECT * FROM `subscriptions` `t` WHERE `t`.`user_id`='308842' LIMIT 1 |
1 | 0.8 ms | 0.8 ms | 0.8 ms | 0.8 ms |
36 |
SELECT * FROM `recipeOrders` `t` WHERE `t`.`order_id`='22240692' |
1 | 0.8 ms | 0.8 ms | 0.8 ms | 0.8 ms |
37 |
SELECT
mp_meal_plans_id,
meal_date,
TIME_FORMAT(time_of_day, '%H:%i') AS time_of_day,
meal_type,
IF('fr' = 'en', recipe_name, recipe_name_fr) AS recipe_name,
cooking_time,
recipe_instructions,
servings,
calories_per_serving,
total_price,
nutrients_list
FROM
mp_meal_plans
WHERE
order_id = '22240692'
ORDER BY
meal_date ASC, time_of_day ASC |
1 | 0.8 ms | 0.8 ms | 0.8 ms | 0.8 ms |
38 |
SELECT `gift_receivers`.`gift_receiver_id` AS `t1_c0`, `gift_receivers`.`user_id` AS `t1_c1`, `gift_receivers`.`lang` AS `t1_c2`, `gift_receivers`.`first_name` AS `t1_c3`, `gift_receivers`.`last_name` AS `t1_c4`, `gift_receivers`.`email` AS `t1_c5`, `gift_receivers`.`phone` AS `t1_c6`, `gift_receivers`.`comment` AS `t1_c7`, `gift_receivers`.`surprise` AS `t1_c8` FROM `order_gift_receivers` `gift_receivers` WHERE (`gift_receivers`.`gift_receiver_id`=NULL) |
1 | 0.7 ms | 0.7 ms | 0.7 ms | 0.7 ms |
Name | Value |
---|---|
driver |
mysql
|
server |
8.0.29-21
|
Uptime |
772016
|
Threads |
22
|
Questions |
745601
|
Slow queries |
90
|
Opens |
4688
|
Flush tables |
3
|
Open tables |
2039
|
Queries per second avg |
0.965
|
Name | Value |
---|---|
driver |
mysql
|
server |
8.0.29-21
|
Uptime |
772016
|
Threads |
22
|
Questions |
745602
|
Slow queries |
90
|
Opens |
4688
|
Flush tables |
3
|
Open tables |
2039
|
Queries per second avg |
0.965
|