[ SQL ] set session sql_mode='STRICT_TRANS_TABLES,ERROR_FOR_DIVISION_BY_ZERO,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION' [ RunTime:0.001490s ]
[ 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 < 1775829642 and b.endtime > 1775829642 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(4, category_ids) ) OR ( find_in_set(3, category_ids) ) OR ( find_in_set(2, category_ids) ) OR ( find_in_set(1, category_ids) ) ) ) AND `p`.`deletetime` IS NULL ORDER BY weigh desc, id desc [ RunTime:0.005384s ]
[ 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 (28,27,26,25,24,23,22,21,17,16,15,14,13,12,11,10,9,8,7,6,5,4,3,2,1) group by binary(p.name), binary(p1.name); [ RunTime:0.009715s ]
[ SQL ] set session sql_mode='STRICT_TRANS_TABLES,ERROR_FOR_DIVISION_BY_ZERO,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION' [ RunTime:0.000832s ]
[ 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 < 1775829642 and b.endtime > 1775829642 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(4, category_ids) ) OR ( find_in_set(3, category_ids) ) OR ( find_in_set(2, category_ids) ) OR ( find_in_set(1, category_ids) ) ) ) AND `p`.`deletetime` IS NULL LIMIT 1 [ RunTime:0.001631s ]
[ 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 < 1775829642 and b.endtime > 1775829642 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(4, category_ids) ) OR ( find_in_set(3, category_ids) ) OR ( find_in_set(2, category_ids) ) OR ( find_in_set(1, category_ids) ) ) ) AND `p`.`deletetime` IS NULL ORDER BY weigh desc,id desc LIMIT 24,12 [ RunTime:0.001583s ]
[ SQL ] SELECT * FROM `discuss` WHERE ( `status` = 'show' AND `product_id` IN (1) ) AND `discuss`.`deletetime` IS NULL [ RunTime:0.001259s ]
[ 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.001150s ]
[ SQL ] SELECT * FROM `activity` WHERE ( ( 1775829642 > starttime && 1775829642 < endtime ) ) AND `activity`.`deletetime` IS NULL ORDER BY `starttime` ASC LIMIT 30 [ RunTime:0.000985s ]
[ SQL ] set session sql_mode='STRICT_TRANS_TABLES,ERROR_FOR_DIVISION_BY_ZERO,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION' [ RunTime:0.000917s ]
[ SQL ] SELECT `value` FROM `config` WHERE `name` = 'product_review' LIMIT 1 [ RunTime:0.001009s ]
[ 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.000838s ]
[ SQL ] SELECT `result`,`result2` FROM `content_transl` WHERE `uniq_key` = 'e8dbe75292e7635aaf448807e221ae72' LIMIT 1 [ RunTime:0.000940s ]
[ SQL ] SELECT `id` FROM `category` WHERE `path` = 'all' LIMIT 1 [ RunTime:0.000902s ]
[ 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 = 1
and p.status = "up" and p.deletetime is null limit 40 [ RunTime:0.001084s ]
[ SQL ] SELECT `value` FROM `config` WHERE `name` = 'klaviyo_config' LIMIT 1 [ RunTime:0.001157s ]
[ SQL ] SELECT COUNT(*) AS tp_count FROM `app_center` WHERE `name` = 'salesmartly' AND `is_installed` = 1 LIMIT 1 [ RunTime:0.001055s ]
[ SQL ] SELECT * FROM `themes_menu_item` WHERE `themes_menu_item`.`deletetime` IS NULL [ RunTime:0.001005s ]
[ 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.000982s ]
[ SQL ] SELECT `result`,`result2` FROM `content_transl` WHERE `uniq_key` = '075d5818353c51f78884ef826485aded' LIMIT 1 [ RunTime:0.001094s ]
[ SQL ] SELECT `translation` FROM `themes_i18n` WHERE `lang` = 'en' AND `content` = 'debug' LIMIT 1 [ RunTime:0.004267s ]
[ SQL ] SELECT `result`,`result2` FROM `content_transl` WHERE `uniq_key` = '3308e0f61772da63f2a727abf57a6a92' LIMIT 1 [ RunTime:0.000974s ]
[ SQL ] SELECT `translation` FROM `themes_i18n` WHERE `lang` = 'en' AND `content` = 'hello,nice to meet you' LIMIT 1 [ RunTime:0.004350s ]
[ SQL ] SELECT `result`,`result2` FROM `content_transl` WHERE `uniq_key` = '438e5b06e5f403f2cc0af0545382925a' LIMIT 1 [ RunTime:0.001032s ]
[ SQL ] SELECT `translation` FROM `themes_i18n` WHERE `lang` = 'en' AND `content` = 'good morning' LIMIT 1 [ RunTime:0.004339s ]
[ SQL ] SELECT `result`,`result2` FROM `content_transl` WHERE `uniq_key` = '1debff1ee4a526ae4358aecd78d0ddf2' LIMIT 1 [ RunTime:0.001600s ]
[ SQL ] SELECT `translation` FROM `themes_i18n` WHERE `lang` = 'en' AND `content` = 'footer' LIMIT 1 [ RunTime:0.004216s ]
[ SQL ] SELECT `result`,`result2` FROM `content_transl` WHERE `uniq_key` = '20d84b16dd9f9623331a84fcd791ee56' LIMIT 1 [ RunTime:0.001234s ]
[ SQL ] SELECT `translation` FROM `themes_i18n` WHERE `lang` = 'en' AND `content` = 'you are welcome' LIMIT 1 [ RunTime:0.003987s ]
[ 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.001209s ]
[ SQL ] SELECT `result`,`result2` FROM `content_transl` WHERE `uniq_key` = '830282edeeb70690716e91c4f7df2299' LIMIT 1 [ RunTime:0.000891s ]
1/43 . 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 (28,27,26,25,24,23,22,21,17,16,15,14,13,12,11,10,9,8,7,6,5,4,3,2,1) group by binary(p.name), binary(p1.name); [0.009715s/0.078013s=12.45%]
2/43 . 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 < 1775829642 and b.endtime > 1775829642 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(4, category_ids) ) OR ( find_in_set(3, category_ids) ) OR ( find_in_set(2, category_ids) ) OR ( find_in_set(1, category_ids) ) ) ) AND `p`.`deletetime` IS NULL ORDER BY weigh desc, id desc [0.005384s/0.078013s=6.90%]
3/43 . SELECT `translation` FROM `themes_i18n` WHERE `lang` = 'en' AND `content` = 'hello,nice to meet you' LIMIT 1 [0.004350s/0.078013s=5.58%]
4/43 . SELECT `translation` FROM `themes_i18n` WHERE `lang` = 'en' AND `content` = 'good morning' LIMIT 1 [0.004339s/0.078013s=5.56%]
5/43 . SELECT `translation` FROM `themes_i18n` WHERE `lang` = 'en' AND `content` = 'debug' LIMIT 1 [0.004267s/0.078013s=5.47%]
6/43 . SELECT `translation` FROM `themes_i18n` WHERE `lang` = 'en' AND `content` = 'footer' LIMIT 1 [0.004216s/0.078013s=5.40%]
7/43 . SELECT `translation` FROM `themes_i18n` WHERE `lang` = 'en' AND `content` = 'you are welcome' LIMIT 1 [0.003987s/0.078013s=5.11%]
10/43 . 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 < 1775829642 and b.endtime > 1775829642 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(4, category_ids) ) OR ( find_in_set(3, category_ids) ) OR ( find_in_set(2, category_ids) ) OR ( find_in_set(1, category_ids) ) ) ) AND `p`.`deletetime` IS NULL LIMIT 1 [0.001631s/0.078013s=2.09%]
11/43 . SELECT `result`,`result2` FROM `content_transl` WHERE `uniq_key` = '1debff1ee4a526ae4358aecd78d0ddf2' LIMIT 1 [0.001600s/0.078013s=2.05%]
12/43 . 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 < 1775829642 and b.endtime > 1775829642 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(4, category_ids) ) OR ( find_in_set(3, category_ids) ) OR ( find_in_set(2, category_ids) ) OR ( find_in_set(1, category_ids) ) ) ) AND `p`.`deletetime` IS NULL ORDER BY weigh desc,id desc LIMIT 24,12 [0.001583s/0.078013s=2.03%]
13/43 . set session sql_mode='STRICT_TRANS_TABLES,ERROR_FOR_DIVISION_BY_ZERO,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION' [0.001490s/0.078013s=1.91%]
14/43 . SELECT * FROM `payment` WHERE `status` = '1' ORDER BY `weigh` DESC,`id` ASC [0.001389s/0.078013s=1.78%]
15/43 . SELECT * FROM `discuss` WHERE ( `status` = 'show' AND `product_id` IN (1) ) AND `discuss`.`deletetime` IS NULL [0.001259s/0.078013s=1.61%]
16/43 . SELECT `result`,`result2` FROM `content_transl` WHERE `uniq_key` = '20d84b16dd9f9623331a84fcd791ee56' LIMIT 1 [0.001234s/0.078013s=1.58%]
17/43 . SELECT COUNT(*) AS tp_count FROM `app_center` WHERE `name` = 'product_topic' AND `is_installed` = 1 LIMIT 1 [0.001213s/0.078013s=1.55%]
18/43 . 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.001209s/0.078013s=1.55%]
19/43 . SELECT `value` FROM `config` WHERE `name` = 'klaviyo_config' LIMIT 1 [0.001157s/0.078013s=1.48%]
20/43 . SELECT * FROM `product_sku_price` WHERE ( `product_id` IN (1) ) AND `product_sku_price`.`deletetime` IS NULL ORDER BY `weigh` ASC,`id` ASC [0.001150s/0.078013s=1.47%]
21/43 . SELECT `value` FROM `config` WHERE `name` = 'customer_login_config' LIMIT 1 [0.001126s/0.078013s=1.44%]
22/43 . SELECT COUNT(*) AS tp_count FROM `app_center` WHERE `name` = 'access_control' AND `is_installed` = 1 LIMIT 1 [0.001118s/0.078013s=1.43%]
23/43 . SELECT `result`,`result2` FROM `content_transl` WHERE `uniq_key` = '075d5818353c51f78884ef826485aded' LIMIT 1 [0.001094s/0.078013s=1.40%]
24/43 . SELECT `value` FROM `config` WHERE `name` = 'channel_google' LIMIT 1 [0.001093s/0.078013s=1.40%]
25/43 . 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 = 1
and p.status = "up" and p.deletetime is null limit 40 [0.001084s/0.078013s=1.39%]
26/43 . SELECT COUNT(*) AS tp_count FROM `app_center` WHERE `name` = 'salesmartly' AND `is_installed` = 1 LIMIT 1 [0.001055s/0.078013s=1.35%]
27/43 . SELECT `result`,`result2` FROM `content_transl` WHERE `uniq_key` = '438e5b06e5f403f2cc0af0545382925a' LIMIT 1 [0.001032s/0.078013s=1.32%]
28/43 . SELECT `value` FROM `config` WHERE `name` = 'product_review' LIMIT 1 [0.001009s/0.078013s=1.29%]
29/43 . SELECT * FROM `themes_menu_item` WHERE `themes_menu_item`.`deletetime` IS NULL [0.001005s/0.078013s=1.29%]
30/43 . SELECT `value` FROM `config` WHERE ( name = 'multiCurrencySwitch' ) LIMIT 1 [0.000990s/0.078013s=1.27%]
31/43 . SELECT * FROM `activity` WHERE ( ( 1775829642 > starttime && 1775829642 < endtime ) ) AND `activity`.`deletetime` IS NULL ORDER BY `starttime` ASC LIMIT 30 [0.000985s/0.078013s=1.26%]
32/43 . 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.000982s/0.078013s=1.26%]
33/43 . SELECT `value` FROM `config` WHERE `name` = 'lang_auto_detect' LIMIT 1 [0.000974s/0.078013s=1.25%]
34/43 . SELECT `result`,`result2` FROM `content_transl` WHERE `uniq_key` = '3308e0f61772da63f2a727abf57a6a92' LIMIT 1 [0.000974s/0.078013s=1.25%]
35/43 . SELECT `value` FROM `config` WHERE ( name = 'byIpSwitch' ) LIMIT 1 [0.000965s/0.078013s=1.24%]
37/43 . set time_zone = '+08:00' [0.000944s/0.078013s=1.21%]
38/43 . SELECT `result`,`result2` FROM `content_transl` WHERE `uniq_key` = 'e8dbe75292e7635aaf448807e221ae72' LIMIT 1 [0.000940s/0.078013s=1.20%]
39/43 . set session sql_mode='STRICT_TRANS_TABLES,ERROR_FOR_DIVISION_BY_ZERO,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION' [0.000917s/0.078013s=1.18%]
40/43 . SELECT `id` FROM `category` WHERE `path` = 'all' LIMIT 1 [0.000902s/0.078013s=1.16%]
41/43 . SELECT `result`,`result2` FROM `content_transl` WHERE `uniq_key` = '830282edeeb70690716e91c4f7df2299' LIMIT 1 [0.000891s/0.078013s=1.14%]
42/43 . 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.000838s/0.078013s=1.07%]
43/43 . set session sql_mode='STRICT_TRANS_TABLES,ERROR_FOR_DIVISION_BY_ZERO,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION' [0.000832s/0.078013s=1.07%]
1/3. set session sql_mode='STRICT_TRANS_TABLES,ERROR_FOR_DIVISION_BY_ZERO,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION' [3 times, 0.003239s/0.078013s=4.15%]
2/3. 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.003029s/0.078013s=3.88%]