Time | Duration | Query |
---|---|---|
14:13:35.317 | 1.8 ms |
SHOW FULL COLUMNS FROM `marketing_custom_urls` |
14:13:35.319 | 1.8 ms |
SHOW CREATE TABLE `marketing_custom_urls` |
14:13:35.324 | 1.3 ms |
SHOW FULL COLUMNS FROM `marketing_campaign_referrals` |
14:13:35.325 | 1.4 ms |
SHOW CREATE TABLE `marketing_campaign_referrals` |
14:13:35.327 | 2.0 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`='evaluatebillingprompt') |
14:13:35.332 | 0.8 ms |
SELECT `data`
FROM `user_session`
WHERE expire>1744913615 AND id='iugp2iregs5nuri9mekd322bt4' |
14:13:35.340 | 5.0 ms |
SHOW FULL COLUMNS FROM `orders` |
14:13:35.348 | 1.5 ms |
SHOW CREATE TABLE `orders` |
14:13:35.351 | 1.6 ms |
SELECT * FROM `orders` `t` WHERE `t`.`order_id`='22043942' AND `t`.`user_id`='308842' LIMIT 1 |
14:13:35.357 | 3.1 ms |
SHOW FULL COLUMNS FROM `subscriptions` |
14:13:35.362 | 0.9 ms |
SHOW CREATE TABLE `subscriptions` |
14:13:35.365 | 1.6 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:35.367 | 1.3 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:35.368 | 5.3 ms |
SELECT
c.type,
c.credit_card_popup_id,
u.first_name,
u.user_id
FROM
credit_card_popup c
INNER JOIN
subscriptions s ON s.user_id = c.user_id AND
s.active = 1
INNER JOIN
users u ON u.user_id = s.user_id
WHERE
c.user_id = '308842' AND
c.seen = 0 |
14:13:35.390 | 2.7 ms |
INSERT IGNORE INTO stats_page_requested (url, memory_used, loading_time, ip, user_id, request_body, query_string, cookies)
VALUES ('site/evaluateBillingPrompt', 2.23, 0.118, '70.52.32.200', '308842', '', '', 's:0:"";'); |
14:13:35.393 | 0.9 ms |
UPDATE user_session SET user_id = '308842' WHERE id = 'iugp2iregs5nuri9mekd322bt4' AND user_id IS NULL |
# | Query | Count | Total | Avg | Min | Max |
---|---|---|---|---|---|---|
1 |
SELECT
c.type,
c.credit_card_popup_id,
u.first_name,
u.user_id
FROM
credit_card_popup c
INNER JOIN
subscriptions s ON s.user_id = c.user_id AND
s.active = 1
INNER JOIN
users u ON u.user_id = s.user_id
WHERE
c.user_id = '308842' AND
c.seen = 0 |
1 | 5.3 ms | 5.3 ms | 5.3 ms | 5.3 ms |
2 |
SHOW FULL COLUMNS FROM `orders` |
1 | 5.0 ms | 5.0 ms | 5.0 ms | 5.0 ms |
3 |
SHOW FULL COLUMNS FROM `subscriptions` |
1 | 3.1 ms | 3.1 ms | 3.1 ms | 3.1 ms |
4 |
INSERT IGNORE INTO stats_page_requested (url, memory_used, loading_time, ip, user_id, request_body, query_string, cookies)
VALUES ('site/evaluateBillingPrompt', 2.23, 0.118, '70.52.32.200', '308842', '', '', 's:0:"";'); |
1 | 2.7 ms | 2.7 ms | 2.7 ms | 2.7 ms |
5 |
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`='evaluatebillingprompt') |
1 | 2.0 ms | 2.0 ms | 2.0 ms | 2.0 ms |
6 |
SHOW CREATE TABLE `marketing_custom_urls` |
1 | 1.8 ms | 1.8 ms | 1.8 ms | 1.8 ms |
7 |
SHOW FULL COLUMNS FROM `marketing_custom_urls` |
1 | 1.8 ms | 1.8 ms | 1.8 ms | 1.8 ms |
8 |
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.6 ms | 1.6 ms | 1.6 ms | 1.6 ms |
9 |
SELECT * FROM `orders` `t` WHERE `t`.`order_id`='22043942' AND `t`.`user_id`='308842' LIMIT 1 |
1 | 1.6 ms | 1.6 ms | 1.6 ms | 1.6 ms |
10 |
SHOW CREATE TABLE `orders` |
1 | 1.5 ms | 1.5 ms | 1.5 ms | 1.5 ms |
11 |
SHOW CREATE TABLE `marketing_campaign_referrals` |
1 | 1.4 ms | 1.4 ms | 1.4 ms | 1.4 ms |
12 |
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.3 ms | 1.3 ms | 1.3 ms | 1.3 ms |
13 |
SHOW FULL COLUMNS FROM `marketing_campaign_referrals` |
1 | 1.3 ms | 1.3 ms | 1.3 ms | 1.3 ms |
14 |
SHOW CREATE TABLE `subscriptions` |
1 | 0.9 ms | 0.9 ms | 0.9 ms | 0.9 ms |
15 |
UPDATE user_session SET user_id = '308842' WHERE id = 'iugp2iregs5nuri9mekd322bt4' AND user_id IS NULL |
1 | 0.9 ms | 0.9 ms | 0.9 ms | 0.9 ms |
16 |
SELECT `data`
FROM `user_session`
WHERE expire>1744913615 AND id='iugp2iregs5nuri9mekd322bt4' |
1 | 0.8 ms | 0.8 ms | 0.8 ms | 0.8 ms |
Name | Value |
---|---|
driver |
mysql
|
server |
8.0.29-21
|
Uptime |
772038
|
Threads |
22
|
Questions |
745870
|
Slow queries |
90
|
Opens |
4696
|
Flush tables |
3
|
Open tables |
2040
|
Queries per second avg |
0.966
|