[ SQL ] set session sql_mode='STRICT_TRANS_TABLES,ERROR_FOR_DIVISION_BY_ZERO,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION' [ RunTime:0.000924s ]
[ SQL ] SELECT p.id,p.type,p.title,p.subtitle,p.supplier,p.status,p.audit_status,p.audit_reject_times,p.auto_shelves_after_audit,p.is_tax,p.weigh,p.category_ids,p.product_tag_ids,p.product_tag_names,p.image,p.images,p.params,p.price,p.original_price,p.is_sku,p.likes,p.views,p.sales,p.size_country,p.size_guide,p.marketing_size_guide_id,p.show_sales,p.service_ids,p.shipping_type,p.shipping_ids,p.is_custom,p.is_custom_plus,p.custom_config,p.draft_product_id,p.seotitle,p.keywords,p.description,p.path,p.is_tob_sku,p.createtime,p.updatetime,p.deletetime,p.lang,(p.sales + p.show_sales) as total_sales,ifnull(y.price, p.price) price1 FROM `product` `p` LEFT JOIN (select min(price) price,product_id from ( SELECT `a`.`price`,`a`.`product_id` FROM `activity_product_sku_price` `a` INNER JOIN `activity` `b` ON `b`.`id`=a.activity_id and a.status = 'up' and b.deletetime is null and b.starttime < 1775121114 and b.endtime > 1775121114 WHERE `a`.`deletetime` IS NULL ) `t` group by `t`.`product_id`) `y` ON `y`.`product_id`=`p`.`id` WHERE ( `p`.`status` IN ('up') AND ( ( find_in_set(3, category_ids) ) ) ) AND `p`.`deletetime` IS NULL ORDER BY weigh desc, id desc [ RunTime:0.001569s ]
[ SQL ] select p.name,p1.name cname from product_sku as p left join product_sku as p1
on p1.pid = p.id where p.pid = 0 and p.product_id in (1) group by binary(p.name), binary(p1.name); [ RunTime:0.001637s ]
[ SQL ] set session sql_mode='STRICT_TRANS_TABLES,ERROR_FOR_DIVISION_BY_ZERO,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION' [ RunTime:0.000763s ]
[ SQL ] SELECT COUNT(*) AS tp_count FROM `product` `p` LEFT JOIN (select min(price) price,product_id from ( SELECT `a`.`price`,`a`.`product_id` FROM `activity_product_sku_price` `a` INNER JOIN `activity` `b` ON `b`.`id`=a.activity_id and a.status = 'up' and b.deletetime is null and b.starttime < 1775121114 and b.endtime > 1775121114 WHERE `a`.`deletetime` IS NULL ) `t` group by `t`.`product_id`) `y` ON `y`.`product_id`=`p`.`id` WHERE ( `p`.`status` IN ('up') AND ( ( find_in_set(3, category_ids) ) ) ) AND `p`.`deletetime` IS NULL LIMIT 1 [ RunTime:0.001411s ]
[ SQL ] SELECT p.id,p.type,p.title,p.subtitle,p.supplier,p.status,p.audit_status,p.audit_reject_times,p.auto_shelves_after_audit,p.is_tax,p.weigh,p.category_ids,p.product_tag_ids,p.product_tag_names,p.image,p.images,p.params,p.price,p.original_price,p.is_sku,p.likes,p.views,p.sales,p.size_country,p.size_guide,p.marketing_size_guide_id,p.show_sales,p.service_ids,p.shipping_type,p.shipping_ids,p.is_custom,p.is_custom_plus,p.custom_config,p.draft_product_id,p.seotitle,p.keywords,p.description,p.path,p.is_tob_sku,p.createtime,p.updatetime,p.deletetime,p.lang,(p.sales + p.show_sales) as total_sales,ifnull(y.price, p.price) price1 FROM `product` `p` LEFT JOIN (select min(price) price,product_id from ( SELECT `a`.`price`,`a`.`product_id` FROM `activity_product_sku_price` `a` INNER JOIN `activity` `b` ON `b`.`id`=a.activity_id and a.status = 'up' and b.deletetime is null and b.starttime < 1775121114 and b.endtime > 1775121114 WHERE `a`.`deletetime` IS NULL ) `t` group by `t`.`product_id`) `y` ON `y`.`product_id`=`p`.`id` WHERE ( `p`.`status` IN ('up') AND ( ( find_in_set(3, category_ids) ) ) ) AND `p`.`deletetime` IS NULL ORDER BY weigh desc,id desc LIMIT 0,12 [ RunTime:0.001485s ]
[ SQL ] SELECT * FROM `discuss` WHERE ( `status` = 'show' AND `product_id` IN (1) ) AND `discuss`.`deletetime` IS NULL [ RunTime:0.000989s ]
[ SQL ] SELECT * FROM `product_sku_price` WHERE ( `product_id` IN (1) ) AND `product_sku_price`.`deletetime` IS NULL ORDER BY `weigh` ASC,`id` ASC [ RunTime:0.001137s ]
[ SQL ] SELECT * FROM `activity` WHERE ( ( 1775121114 > starttime && 1775121114 < endtime ) ) AND `activity`.`deletetime` IS NULL ORDER BY `starttime` ASC LIMIT 30 [ RunTime:0.001013s ]
[ SQL ] set session sql_mode='STRICT_TRANS_TABLES,ERROR_FOR_DIVISION_BY_ZERO,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION' [ RunTime:0.000909s ]
[ SQL ] SELECT `value` FROM `config` WHERE `name` = 'product_review' LIMIT 1 [ RunTime:0.000970s ]
[ SQL ] SELECT `id` FROM `category` WHERE `path` = '嘻嘻' LIMIT 1 [ RunTime:0.002635s ]
[ SQL ] select p.id,title ,price from product_category_relation as pcr left join product as p on p.id = pcr.product_id where pcr.category_id = 3
and p.status = "up" and p.deletetime is null limit 40 [ RunTime:0.001090s ]
[ SQL ] SELECT `value` FROM `config` WHERE `name` = 'klaviyo_config' LIMIT 1 [ RunTime:0.001111s ]
[ SQL ] SELECT COUNT(*) AS tp_count FROM `app_center` WHERE `name` = 'salesmartly' AND `is_installed` = 1 LIMIT 1 [ RunTime:0.001097s ]
[ SQL ] SELECT * FROM `themes_menu_item` WHERE `themes_menu_item`.`deletetime` IS NULL [ RunTime:0.000981s ]
[ SQL ] SELECT COUNT(*) AS tp_count FROM `themes_lang` WHERE ( lang_name='en' AND is_enable=1 AND transl_way=2 AND deletetime IS NULL ) LIMIT 1 [ RunTime:0.000933s ]
[ SQL ] SELECT COUNT(*) AS tp_count FROM `themes_lang` WHERE ( lang_name='en' AND is_enable=1 AND transl_way=2 AND deletetime IS NULL ) LIMIT 1 [ RunTime:0.000952s ]
[ SQL ] SELECT * FROM `custom_activity_relation` WHERE `product_id` = 1 LIMIT 1 [ RunTime:0.000981s ]
[ SQL ] SELECT `id` FROM `custom_activity` WHERE `id` = 1 AND `status` = '1' LIMIT 1 [ RunTime:0.000919s ]
[ SQL ] SELECT * FROM `custom_activity_relation` WHERE `product_id` = 1 LIMIT 1 [ RunTime:0.000967s ]
[ SQL ] SELECT `id` FROM `custom_activity` WHERE `id` = 1 AND `status` = '1' LIMIT 1 [ RunTime:0.000983s ]
[ SQL ] SELECT COUNT(*) AS tp_count FROM `themes_lang` WHERE ( lang_name='en' AND is_enable=1 AND transl_way=2 AND deletetime IS NULL ) LIMIT 1 [ RunTime:0.000957s ]
[ SQL ] SELECT * FROM `custom_activity_relation` WHERE `product_id` = 1 LIMIT 1 [ RunTime:0.001031s ]
[ SQL ] SELECT `id` FROM `custom_activity` WHERE `id` = 1 AND `status` = '1' LIMIT 1 [ RunTime:0.000933s ]
[ SQL ] SELECT * FROM `custom_activity_relation` WHERE `product_id` = 1 LIMIT 1 [ RunTime:0.001041s ]
[ SQL ] SELECT `id` FROM `custom_activity` WHERE `id` = 1 AND `status` = '1' LIMIT 1 [ RunTime:0.000845s ]
2/39 . SELECT `id` FROM `category` WHERE `path` = '嘻嘻' LIMIT 1 [0.002635s/0.386437s=0.68%]
3/39 . SELECT COUNT(*) AS tp_count FROM `app_center` WHERE `name` = 'access_control' AND `is_installed` = 1 LIMIT 1 [0.002058s/0.386437s=0.53%]
4/39 . select p.name,p1.name cname from product_sku as p left join product_sku as p1
on p1.pid = p.id where p.pid = 0 and p.product_id in (1) group by binary(p.name), binary(p1.name); [0.001637s/0.386437s=0.42%]
5/39 . SELECT p.id,p.type,p.title,p.subtitle,p.supplier,p.status,p.audit_status,p.audit_reject_times,p.auto_shelves_after_audit,p.is_tax,p.weigh,p.category_ids,p.product_tag_ids,p.product_tag_names,p.image,p.images,p.params,p.price,p.original_price,p.is_sku,p.likes,p.views,p.sales,p.size_country,p.size_guide,p.marketing_size_guide_id,p.show_sales,p.service_ids,p.shipping_type,p.shipping_ids,p.is_custom,p.is_custom_plus,p.custom_config,p.draft_product_id,p.seotitle,p.keywords,p.description,p.path,p.is_tob_sku,p.createtime,p.updatetime,p.deletetime,p.lang,(p.sales + p.show_sales) as total_sales,ifnull(y.price, p.price) price1 FROM `product` `p` LEFT JOIN (select min(price) price,product_id from ( SELECT `a`.`price`,`a`.`product_id` FROM `activity_product_sku_price` `a` INNER JOIN `activity` `b` ON `b`.`id`=a.activity_id and a.status = 'up' and b.deletetime is null and b.starttime < 1775121114 and b.endtime > 1775121114 WHERE `a`.`deletetime` IS NULL ) `t` group by `t`.`product_id`) `y` ON `y`.`product_id`=`p`.`id` WHERE ( `p`.`status` IN ('up') AND ( ( find_in_set(3, category_ids) ) ) ) AND `p`.`deletetime` IS NULL ORDER BY weigh desc, id desc [0.001569s/0.386437s=0.41%]
6/39 . SELECT p.id,p.type,p.title,p.subtitle,p.supplier,p.status,p.audit_status,p.audit_reject_times,p.auto_shelves_after_audit,p.is_tax,p.weigh,p.category_ids,p.product_tag_ids,p.product_tag_names,p.image,p.images,p.params,p.price,p.original_price,p.is_sku,p.likes,p.views,p.sales,p.size_country,p.size_guide,p.marketing_size_guide_id,p.show_sales,p.service_ids,p.shipping_type,p.shipping_ids,p.is_custom,p.is_custom_plus,p.custom_config,p.draft_product_id,p.seotitle,p.keywords,p.description,p.path,p.is_tob_sku,p.createtime,p.updatetime,p.deletetime,p.lang,(p.sales + p.show_sales) as total_sales,ifnull(y.price, p.price) price1 FROM `product` `p` LEFT JOIN (select min(price) price,product_id from ( SELECT `a`.`price`,`a`.`product_id` FROM `activity_product_sku_price` `a` INNER JOIN `activity` `b` ON `b`.`id`=a.activity_id and a.status = 'up' and b.deletetime is null and b.starttime < 1775121114 and b.endtime > 1775121114 WHERE `a`.`deletetime` IS NULL ) `t` group by `t`.`product_id`) `y` ON `y`.`product_id`=`p`.`id` WHERE ( `p`.`status` IN ('up') AND ( ( find_in_set(3, category_ids) ) ) ) AND `p`.`deletetime` IS NULL ORDER BY weigh desc,id desc LIMIT 0,12 [0.001485s/0.386437s=0.38%]
7/39 . SELECT COUNT(*) AS tp_count FROM `product` `p` LEFT JOIN (select min(price) price,product_id from ( SELECT `a`.`price`,`a`.`product_id` FROM `activity_product_sku_price` `a` INNER JOIN `activity` `b` ON `b`.`id`=a.activity_id and a.status = 'up' and b.deletetime is null and b.starttime < 1775121114 and b.endtime > 1775121114 WHERE `a`.`deletetime` IS NULL ) `t` group by `t`.`product_id`) `y` ON `y`.`product_id`=`p`.`id` WHERE ( `p`.`status` IN ('up') AND ( ( find_in_set(3, category_ids) ) ) ) AND `p`.`deletetime` IS NULL LIMIT 1 [0.001411s/0.386437s=0.37%]
8/39 . SELECT * FROM `payment` WHERE `status` = '1' ORDER BY `weigh` DESC,`id` ASC [0.001396s/0.386437s=0.36%]
9/39 . SELECT `value` FROM `config` WHERE `name` = 'customer_login_config' LIMIT 1 [0.001385s/0.386437s=0.36%]
11/39 . SELECT COUNT(*) AS tp_count FROM `app_center` WHERE `name` = 'product_topic' AND `is_installed` = 1 LIMIT 1 [0.001153s/0.386437s=0.30%]
12/39 . SELECT * FROM `product_sku_price` WHERE ( `product_id` IN (1) ) AND `product_sku_price`.`deletetime` IS NULL ORDER BY `weigh` ASC,`id` ASC [0.001137s/0.386437s=0.29%]
13/39 . SELECT `value` FROM `config` WHERE `name` = 'klaviyo_config' LIMIT 1 [0.001111s/0.386437s=0.29%]
14/39 . SELECT COUNT(*) AS tp_count FROM `app_center` WHERE `name` = 'salesmartly' AND `is_installed` = 1 LIMIT 1 [0.001097s/0.386437s=0.28%]
15/39 . select p.id,title ,price from product_category_relation as pcr left join product as p on p.id = pcr.product_id where pcr.category_id = 3
and p.status = "up" and p.deletetime is null limit 40 [0.001090s/0.386437s=0.28%]
16/39 . SELECT `value` FROM `config` WHERE `name` = 'channel_google' LIMIT 1 [0.001064s/0.386437s=0.28%]
18/39 . SELECT * FROM `custom_activity_relation` WHERE `product_id` = 1 LIMIT 1 [0.001041s/0.386437s=0.27%]
19/39 . SELECT * FROM `custom_activity_relation` WHERE `product_id` = 1 LIMIT 1 [0.001031s/0.386437s=0.27%]
20/39 . SELECT `value` FROM `config` WHERE ( name = 'byIpSwitch' ) LIMIT 1 [0.001024s/0.386437s=0.26%]
21/39 . SELECT * FROM `activity` WHERE ( ( 1775121114 > starttime && 1775121114 < endtime ) ) AND `activity`.`deletetime` IS NULL ORDER BY `starttime` ASC LIMIT 30 [0.001013s/0.386437s=0.26%]
22/39 . SELECT `value` FROM `config` WHERE ( name = 'multiCurrencySwitch' ) LIMIT 1 [0.001005s/0.386437s=0.26%]
23/39 . SELECT * FROM `discuss` WHERE ( `status` = 'show' AND `product_id` IN (1) ) AND `discuss`.`deletetime` IS NULL [0.000989s/0.386437s=0.26%]
24/39 . SELECT `id` FROM `custom_activity` WHERE `id` = 1 AND `status` = '1' LIMIT 1 [0.000983s/0.386437s=0.25%]
25/39 . SELECT * FROM `themes_menu_item` WHERE `themes_menu_item`.`deletetime` IS NULL [0.000981s/0.386437s=0.25%]
26/39 . SELECT * FROM `custom_activity_relation` WHERE `product_id` = 1 LIMIT 1 [0.000981s/0.386437s=0.25%]
27/39 . SELECT `value` FROM `config` WHERE `name` = 'product_review' LIMIT 1 [0.000970s/0.386437s=0.25%]
28/39 . SELECT * FROM `custom_activity_relation` WHERE `product_id` = 1 LIMIT 1 [0.000967s/0.386437s=0.25%]
29/39 . SELECT `value` FROM `config` WHERE `name` = 'lang_auto_detect' LIMIT 1 [0.000961s/0.386437s=0.25%]
30/39 . SELECT COUNT(*) AS tp_count FROM `themes_lang` WHERE ( lang_name='en' AND is_enable=1 AND transl_way=2 AND deletetime IS NULL ) LIMIT 1 [0.000957s/0.386437s=0.25%]
31/39 . SELECT COUNT(*) AS tp_count FROM `themes_lang` WHERE ( lang_name='en' AND is_enable=1 AND transl_way=2 AND deletetime IS NULL ) LIMIT 1 [0.000952s/0.386437s=0.25%]
32/39 . set time_zone = '+08:00' [0.000948s/0.386437s=0.25%]
33/39 . SELECT COUNT(*) AS tp_count FROM `themes_lang` WHERE ( lang_name='en' AND is_enable=1 AND transl_way=2 AND deletetime IS NULL ) LIMIT 1 [0.000933s/0.386437s=0.24%]
34/39 . SELECT `id` FROM `custom_activity` WHERE `id` = 1 AND `status` = '1' LIMIT 1 [0.000933s/0.386437s=0.24%]
35/39 . set session sql_mode='STRICT_TRANS_TABLES,ERROR_FOR_DIVISION_BY_ZERO,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION' [0.000924s/0.386437s=0.24%]
36/39 . SELECT `id` FROM `custom_activity` WHERE `id` = 1 AND `status` = '1' LIMIT 1 [0.000919s/0.386437s=0.24%]
37/39 . set session sql_mode='STRICT_TRANS_TABLES,ERROR_FOR_DIVISION_BY_ZERO,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION' [0.000909s/0.386437s=0.24%]
38/39 . SELECT `id` FROM `custom_activity` WHERE `id` = 1 AND `status` = '1' LIMIT 1 [0.000845s/0.386437s=0.22%]
39/39 . set session sql_mode='STRICT_TRANS_TABLES,ERROR_FOR_DIVISION_BY_ZERO,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION' [0.000763s/0.386437s=0.20%]
1/5. SELECT `id` FROM `custom_activity` WHERE `id` = 1 AND `status` = '1' LIMIT 1 [4 times, 0.00368s/0.386437s=0.95%]
2/5. SELECT * FROM `custom_activity_relation` WHERE `product_id` = 1 LIMIT 1 [4 times, 0.00402s/0.386437s=1.04%]
3/5. set session sql_mode='STRICT_TRANS_TABLES,ERROR_FOR_DIVISION_BY_ZERO,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION' [3 times, 0.002596s/0.386437s=0.67%]
4/5. SELECT COUNT(*) AS tp_count FROM `themes_lang` WHERE ( lang_name='en' AND is_enable=1 AND transl_way=2 AND deletetime IS NULL ) LIMIT 1 [3 times, 0.002842s/0.386437s=0.74%]