[ SQL ] set session sql_mode='STRICT_TRANS_TABLES,ERROR_FOR_DIVISION_BY_ZERO,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION' [ RunTime:0.001477s ]
[ 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 < 1775840548 and b.endtime > 1775840548 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.002077s ]
[ 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.010510s ]
[ SQL ] set session sql_mode='STRICT_TRANS_TABLES,ERROR_FOR_DIVISION_BY_ZERO,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION' [ RunTime:0.000786s ]
[ 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 < 1775840548 and b.endtime > 1775840548 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.001933s ]
[ 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 < 1775840548 and b.endtime > 1775840548 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.001509s ]
[ SQL ] SELECT * FROM `discuss` WHERE ( `status` = 'show' AND `product_id` IN (1) ) AND `discuss`.`deletetime` IS NULL [ RunTime:0.000920s ]
[ 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.001096s ]
[ SQL ] SELECT * FROM `activity` WHERE ( ( 1775840548 > starttime && 1775840548 < endtime ) ) AND `activity`.`deletetime` IS NULL ORDER BY `starttime` ASC LIMIT 30 [ RunTime:0.000754s ]
[ SQL ] set session sql_mode='STRICT_TRANS_TABLES,ERROR_FOR_DIVISION_BY_ZERO,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION' [ RunTime:0.000826s ]
[ SQL ] SELECT `value` FROM `config` WHERE `name` = 'product_review' LIMIT 1 [ RunTime:0.001229s ]
[ 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.000900s ]
[ SQL ] SELECT `result`,`result2` FROM `content_transl` WHERE `uniq_key` = 'e8dbe75292e7635aaf448807e221ae72' LIMIT 1 [ RunTime:0.000874s ]
[ SQL ] SELECT `id` FROM `category` WHERE `path` = 'all' LIMIT 1 [ RunTime:0.000820s ]
[ 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.001082s ]
[ SQL ] SELECT `value` FROM `config` WHERE `name` = 'klaviyo_config' LIMIT 1 [ RunTime:0.001097s ]
[ SQL ] SELECT COUNT(*) AS tp_count FROM `app_center` WHERE `name` = 'salesmartly' AND `is_installed` = 1 LIMIT 1 [ RunTime:0.000908s ]
[ SQL ] SELECT * FROM `themes_menu_item` WHERE `themes_menu_item`.`deletetime` IS NULL [ RunTime:0.000835s ]
[ 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.000820s ]
[ SQL ] SELECT `result`,`result2` FROM `content_transl` WHERE `uniq_key` = '075d5818353c51f78884ef826485aded' LIMIT 1 [ RunTime:0.001353s ]
[ SQL ] SELECT `translation` FROM `themes_i18n` WHERE `lang` = 'en' AND `content` = 'debug' LIMIT 1 [ RunTime:0.004068s ]
[ SQL ] SELECT `result`,`result2` FROM `content_transl` WHERE `uniq_key` = '3308e0f61772da63f2a727abf57a6a92' LIMIT 1 [ RunTime:0.000924s ]
[ SQL ] SELECT `translation` FROM `themes_i18n` WHERE `lang` = 'en' AND `content` = 'hello,nice to meet you' LIMIT 1 [ RunTime:0.004092s ]
[ SQL ] SELECT `result`,`result2` FROM `content_transl` WHERE `uniq_key` = '438e5b06e5f403f2cc0af0545382925a' LIMIT 1 [ RunTime:0.000972s ]
[ SQL ] SELECT `translation` FROM `themes_i18n` WHERE `lang` = 'en' AND `content` = 'good morning' LIMIT 1 [ RunTime:0.004177s ]
[ SQL ] SELECT `result`,`result2` FROM `content_transl` WHERE `uniq_key` = '1debff1ee4a526ae4358aecd78d0ddf2' LIMIT 1 [ RunTime:0.000921s ]
[ SQL ] SELECT `translation` FROM `themes_i18n` WHERE `lang` = 'en' AND `content` = 'footer' LIMIT 1 [ RunTime:0.004184s ]
[ SQL ] SELECT `result`,`result2` FROM `content_transl` WHERE `uniq_key` = '20d84b16dd9f9623331a84fcd791ee56' LIMIT 1 [ RunTime:0.000899s ]
[ SQL ] SELECT `translation` FROM `themes_i18n` WHERE `lang` = 'en' AND `content` = 'you are welcome' LIMIT 1 [ RunTime:0.004007s ]
[ 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.001152s ]
[ SQL ] SELECT `result`,`result2` FROM `content_transl` WHERE `uniq_key` = '830282edeeb70690716e91c4f7df2299' LIMIT 1 [ RunTime:0.000924s ]
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.010510s/0.073656s=14.27%]
3/43 . SELECT `translation` FROM `themes_i18n` WHERE `lang` = 'en' AND `content` = 'footer' LIMIT 1 [0.004184s/0.073656s=5.68%]
4/43 . SELECT `translation` FROM `themes_i18n` WHERE `lang` = 'en' AND `content` = 'good morning' LIMIT 1 [0.004177s/0.073656s=5.67%]
5/43 . SELECT `translation` FROM `themes_i18n` WHERE `lang` = 'en' AND `content` = 'hello,nice to meet you' LIMIT 1 [0.004092s/0.073656s=5.56%]
6/43 . SELECT `translation` FROM `themes_i18n` WHERE `lang` = 'en' AND `content` = 'debug' LIMIT 1 [0.004068s/0.073656s=5.52%]
7/43 . SELECT `translation` FROM `themes_i18n` WHERE `lang` = 'en' AND `content` = 'you are welcome' LIMIT 1 [0.004007s/0.073656s=5.44%]
8/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 < 1775840548 and b.endtime > 1775840548 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.002077s/0.073656s=2.82%]
9/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 < 1775840548 and b.endtime > 1775840548 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.001933s/0.073656s=2.62%]
10/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 < 1775840548 and b.endtime > 1775840548 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.001509s/0.073656s=2.05%]
11/43 . set session sql_mode='STRICT_TRANS_TABLES,ERROR_FOR_DIVISION_BY_ZERO,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION' [0.001477s/0.073656s=2.01%]
12/43 . SELECT * FROM `payment` WHERE `status` = '1' ORDER BY `weigh` DESC,`id` ASC [0.001354s/0.073656s=1.84%]
13/43 . SELECT `result`,`result2` FROM `content_transl` WHERE `uniq_key` = '075d5818353c51f78884ef826485aded' LIMIT 1 [0.001353s/0.073656s=1.84%]
14/43 . SELECT `value` FROM `config` WHERE ( name = 'multiCurrencySwitch' ) LIMIT 1 [0.001289s/0.073656s=1.75%]
15/43 . SELECT `value` FROM `config` WHERE `name` = 'product_review' LIMIT 1 [0.001229s/0.073656s=1.67%]
16/43 . SELECT COUNT(*) AS tp_count FROM `app_center` WHERE `name` = 'access_control' AND `is_installed` = 1 LIMIT 1 [0.001179s/0.073656s=1.60%]
17/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.001152s/0.073656s=1.56%]
18/43 . SELECT COUNT(*) AS tp_count FROM `app_center` WHERE `name` = 'product_topic' AND `is_installed` = 1 LIMIT 1 [0.001099s/0.073656s=1.49%]
19/43 . SELECT `value` FROM `config` WHERE `name` = 'klaviyo_config' LIMIT 1 [0.001097s/0.073656s=1.49%]
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.001096s/0.073656s=1.49%]
21/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.001082s/0.073656s=1.47%]
22/43 . SELECT `result`,`result2` FROM `content_transl` WHERE `uniq_key` = '438e5b06e5f403f2cc0af0545382925a' LIMIT 1 [0.000972s/0.073656s=1.32%]
23/43 . SELECT `value` FROM `config` WHERE `name` = 'customer_login_config' LIMIT 1 [0.000965s/0.073656s=1.31%]
24/43 . set time_zone = '+08:00' [0.000963s/0.073656s=1.31%]
25/43 . SELECT `value` FROM `config` WHERE `name` = 'channel_google' LIMIT 1 [0.000944s/0.073656s=1.28%]
26/43 . SELECT `value` FROM `config` WHERE `name` = 'lang_auto_detect' LIMIT 1 [0.000937s/0.073656s=1.27%]
28/43 . SELECT `result`,`result2` FROM `content_transl` WHERE `uniq_key` = '830282edeeb70690716e91c4f7df2299' LIMIT 1 [0.000924s/0.073656s=1.25%]
29/43 . SELECT `result`,`result2` FROM `content_transl` WHERE `uniq_key` = '3308e0f61772da63f2a727abf57a6a92' LIMIT 1 [0.000924s/0.073656s=1.25%]
30/43 . SELECT `result`,`result2` FROM `content_transl` WHERE `uniq_key` = '1debff1ee4a526ae4358aecd78d0ddf2' LIMIT 1 [0.000921s/0.073656s=1.25%]
31/43 . SELECT * FROM `discuss` WHERE ( `status` = 'show' AND `product_id` IN (1) ) AND `discuss`.`deletetime` IS NULL [0.000920s/0.073656s=1.25%]
32/43 . SELECT COUNT(*) AS tp_count FROM `app_center` WHERE `name` = 'salesmartly' AND `is_installed` = 1 LIMIT 1 [0.000908s/0.073656s=1.23%]
33/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.000900s/0.073656s=1.22%]
34/43 . SELECT `result`,`result2` FROM `content_transl` WHERE `uniq_key` = '20d84b16dd9f9623331a84fcd791ee56' LIMIT 1 [0.000899s/0.073656s=1.22%]
35/43 . SELECT `result`,`result2` FROM `content_transl` WHERE `uniq_key` = 'e8dbe75292e7635aaf448807e221ae72' LIMIT 1 [0.000874s/0.073656s=1.19%]
36/43 . SELECT `value` FROM `config` WHERE ( name = 'byIpSwitch' ) LIMIT 1 [0.000861s/0.073656s=1.17%]
37/43 . SELECT * FROM `themes_menu_item` WHERE `themes_menu_item`.`deletetime` IS NULL [0.000835s/0.073656s=1.13%]
38/43 . set session sql_mode='STRICT_TRANS_TABLES,ERROR_FOR_DIVISION_BY_ZERO,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION' [0.000826s/0.073656s=1.12%]
39/43 . SELECT `id` FROM `category` WHERE `path` = 'all' LIMIT 1 [0.000820s/0.073656s=1.11%]
40/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.000820s/0.073656s=1.11%]
42/43 . set session sql_mode='STRICT_TRANS_TABLES,ERROR_FOR_DIVISION_BY_ZERO,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION' [0.000786s/0.073656s=1.07%]
43/43 . SELECT * FROM `activity` WHERE ( ( 1775840548 > starttime && 1775840548 < endtime ) ) AND `activity`.`deletetime` IS NULL ORDER BY `starttime` ASC LIMIT 30 [0.000754s/0.073656s=1.02%]
1/3. set session sql_mode='STRICT_TRANS_TABLES,ERROR_FOR_DIVISION_BY_ZERO,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION' [3 times, 0.003089s/0.073656s=4.19%]
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.002872s/0.073656s=3.90%]