[ SQL ] set session sql_mode='STRICT_TRANS_TABLES,ERROR_FOR_DIVISION_BY_ZERO,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION' [ RunTime:0.000814s ]
[ 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 < 1775844415 and b.endtime > 1775844415 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.002177s ]
[ 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.005372s ]
[ SQL ] set session sql_mode='STRICT_TRANS_TABLES,ERROR_FOR_DIVISION_BY_ZERO,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION' [ RunTime:0.000732s ]
[ 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 < 1775844415 and b.endtime > 1775844415 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.001464s ]
[ 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 < 1775844415 and b.endtime > 1775844415 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.001613s ]
[ SQL ] SELECT * FROM `discuss` WHERE ( `status` = 'show' AND `product_id` IN (1) ) AND `discuss`.`deletetime` IS NULL [ RunTime:0.001101s ]
[ 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.001133s ]
[ SQL ] SELECT * FROM `activity` WHERE ( ( 1775844415 > starttime && 1775844415 < endtime ) ) AND `activity`.`deletetime` IS NULL ORDER BY `starttime` ASC LIMIT 30 [ RunTime:0.000951s ]
[ SQL ] set session sql_mode='STRICT_TRANS_TABLES,ERROR_FOR_DIVISION_BY_ZERO,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION' [ RunTime:0.001004s ]
[ SQL ] SELECT `value` FROM `config` WHERE `name` = 'product_review' LIMIT 1 [ RunTime:0.001034s ]
[ 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.001023s ]
[ SQL ] SELECT `result`,`result2` FROM `content_transl` WHERE `uniq_key` = 'e8dbe75292e7635aaf448807e221ae72' LIMIT 1 [ RunTime:0.001572s ]
[ SQL ] SELECT `id` FROM `category` WHERE `path` = 'all' LIMIT 1 [ RunTime:0.000974s ]
[ 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.001129s ]
[ SQL ] SELECT `value` FROM `config` WHERE `name` = 'klaviyo_config' LIMIT 1 [ RunTime:0.001180s ]
[ SQL ] SELECT COUNT(*) AS tp_count FROM `app_center` WHERE `name` = 'salesmartly' AND `is_installed` = 1 LIMIT 1 [ RunTime:0.000977s ]
[ SQL ] SELECT * FROM `themes_menu_item` WHERE `themes_menu_item`.`deletetime` IS NULL [ RunTime:0.001014s ]
[ 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.000929s ]
[ SQL ] SELECT `result`,`result2` FROM `content_transl` WHERE `uniq_key` = '075d5818353c51f78884ef826485aded' LIMIT 1 [ RunTime:0.001016s ]
[ SQL ] SELECT `translation` FROM `themes_i18n` WHERE `lang` = 'en' AND `content` = 'debug' LIMIT 1 [ RunTime:0.004279s ]
[ SQL ] SELECT `result`,`result2` FROM `content_transl` WHERE `uniq_key` = '3308e0f61772da63f2a727abf57a6a92' LIMIT 1 [ RunTime:0.001056s ]
[ SQL ] SELECT `translation` FROM `themes_i18n` WHERE `lang` = 'en' AND `content` = 'hello,nice to meet you' LIMIT 1 [ RunTime:0.003996s ]
[ SQL ] SELECT `result`,`result2` FROM `content_transl` WHERE `uniq_key` = '438e5b06e5f403f2cc0af0545382925a' LIMIT 1 [ RunTime:0.000970s ]
[ SQL ] SELECT `translation` FROM `themes_i18n` WHERE `lang` = 'en' AND `content` = 'good morning' LIMIT 1 [ RunTime:0.004498s ]
[ SQL ] SELECT `result`,`result2` FROM `content_transl` WHERE `uniq_key` = '1debff1ee4a526ae4358aecd78d0ddf2' LIMIT 1 [ RunTime:0.001366s ]
[ SQL ] SELECT `translation` FROM `themes_i18n` WHERE `lang` = 'en' AND `content` = 'footer' LIMIT 1 [ RunTime:0.004976s ]
[ SQL ] SELECT `result`,`result2` FROM `content_transl` WHERE `uniq_key` = '20d84b16dd9f9623331a84fcd791ee56' LIMIT 1 [ RunTime:0.001166s ]
[ SQL ] SELECT `translation` FROM `themes_i18n` WHERE `lang` = 'en' AND `content` = 'you are welcome' LIMIT 1 [ RunTime:0.005567s ]
[ 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.001035s ]
[ SQL ] SELECT `result`,`result2` FROM `content_transl` WHERE `uniq_key` = '830282edeeb70690716e91c4f7df2299' LIMIT 1 [ RunTime:0.000952s ]
1/43 . SELECT `translation` FROM `themes_i18n` WHERE `lang` = 'en' AND `content` = 'you are welcome' LIMIT 1 [0.005567s/0.073207s=7.60%]
2/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.005372s/0.073207s=7.34%]
3/43 . SELECT `translation` FROM `themes_i18n` WHERE `lang` = 'en' AND `content` = 'footer' LIMIT 1 [0.004976s/0.073207s=6.80%]
4/43 . SELECT `translation` FROM `themes_i18n` WHERE `lang` = 'en' AND `content` = 'good morning' LIMIT 1 [0.004498s/0.073207s=6.14%]
5/43 . SELECT `translation` FROM `themes_i18n` WHERE `lang` = 'en' AND `content` = 'debug' LIMIT 1 [0.004279s/0.073207s=5.85%]
6/43 . SELECT `translation` FROM `themes_i18n` WHERE `lang` = 'en' AND `content` = 'hello,nice to meet you' LIMIT 1 [0.003996s/0.073207s=5.46%]
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 < 1775844415 and b.endtime > 1775844415 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.002177s/0.073207s=2.97%]
9/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 < 1775844415 and b.endtime > 1775844415 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.001613s/0.073207s=2.20%]
10/43 . SELECT `result`,`result2` FROM `content_transl` WHERE `uniq_key` = 'e8dbe75292e7635aaf448807e221ae72' LIMIT 1 [0.001572s/0.073207s=2.15%]
11/43 . SELECT `value` FROM `config` WHERE `name` = 'customer_login_config' LIMIT 1 [0.001569s/0.073207s=2.14%]
12/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 < 1775844415 and b.endtime > 1775844415 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.001464s/0.073207s=2.00%]
13/43 . SELECT `value` FROM `config` WHERE ( name = 'byIpSwitch' ) LIMIT 1 [0.001400s/0.073207s=1.91%]
14/43 . SELECT `result`,`result2` FROM `content_transl` WHERE `uniq_key` = '1debff1ee4a526ae4358aecd78d0ddf2' LIMIT 1 [0.001366s/0.073207s=1.87%]
15/43 . SELECT * FROM `payment` WHERE `status` = '1' ORDER BY `weigh` DESC,`id` ASC [0.001221s/0.073207s=1.67%]
16/43 . SELECT `value` FROM `config` WHERE `name` = 'klaviyo_config' LIMIT 1 [0.001180s/0.073207s=1.61%]
17/43 . SELECT `result`,`result2` FROM `content_transl` WHERE `uniq_key` = '20d84b16dd9f9623331a84fcd791ee56' LIMIT 1 [0.001166s/0.073207s=1.59%]
18/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.001133s/0.073207s=1.55%]
19/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.001129s/0.073207s=1.54%]
20/43 . SELECT `value` FROM `config` WHERE ( name = 'multiCurrencySwitch' ) LIMIT 1 [0.001117s/0.073207s=1.53%]
21/43 . SELECT * FROM `discuss` WHERE ( `status` = 'show' AND `product_id` IN (1) ) AND `discuss`.`deletetime` IS NULL [0.001101s/0.073207s=1.50%]
22/43 . SELECT `value` FROM `config` WHERE `name` = 'lang_auto_detect' LIMIT 1 [0.001095s/0.073207s=1.50%]
23/43 . SELECT COUNT(*) AS tp_count FROM `app_center` WHERE `name` = 'product_topic' AND `is_installed` = 1 LIMIT 1 [0.001091s/0.073207s=1.49%]
24/43 . SELECT COUNT(*) AS tp_count FROM `app_center` WHERE `name` = 'access_control' AND `is_installed` = 1 LIMIT 1 [0.001086s/0.073207s=1.48%]
25/43 . SELECT `result`,`result2` FROM `content_transl` WHERE `uniq_key` = '3308e0f61772da63f2a727abf57a6a92' LIMIT 1 [0.001056s/0.073207s=1.44%]
26/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.001035s/0.073207s=1.41%]
27/43 . SELECT `value` FROM `config` WHERE `name` = 'product_review' LIMIT 1 [0.001034s/0.073207s=1.41%]
28/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.001023s/0.073207s=1.40%]
29/43 . SELECT `result`,`result2` FROM `content_transl` WHERE `uniq_key` = '075d5818353c51f78884ef826485aded' LIMIT 1 [0.001016s/0.073207s=1.39%]
30/43 . SELECT * FROM `themes_menu_item` WHERE `themes_menu_item`.`deletetime` IS NULL [0.001014s/0.073207s=1.39%]
31/43 . set session sql_mode='STRICT_TRANS_TABLES,ERROR_FOR_DIVISION_BY_ZERO,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION' [0.001004s/0.073207s=1.37%]
33/43 . SELECT COUNT(*) AS tp_count FROM `app_center` WHERE `name` = 'salesmartly' AND `is_installed` = 1 LIMIT 1 [0.000977s/0.073207s=1.33%]
34/43 . SELECT `id` FROM `category` WHERE `path` = 'all' LIMIT 1 [0.000974s/0.073207s=1.33%]
35/43 . SELECT `result`,`result2` FROM `content_transl` WHERE `uniq_key` = '438e5b06e5f403f2cc0af0545382925a' LIMIT 1 [0.000970s/0.073207s=1.33%]
36/43 . SELECT `value` FROM `config` WHERE `name` = 'channel_google' LIMIT 1 [0.000957s/0.073207s=1.31%]
37/43 . set time_zone = '+08:00' [0.000957s/0.073207s=1.31%]
38/43 . SELECT `result`,`result2` FROM `content_transl` WHERE `uniq_key` = '830282edeeb70690716e91c4f7df2299' LIMIT 1 [0.000952s/0.073207s=1.30%]
39/43 . SELECT * FROM `activity` WHERE ( ( 1775844415 > starttime && 1775844415 < endtime ) ) AND `activity`.`deletetime` IS NULL ORDER BY `starttime` ASC LIMIT 30 [0.000951s/0.073207s=1.30%]
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.000929s/0.073207s=1.27%]
42/43 . set session sql_mode='STRICT_TRANS_TABLES,ERROR_FOR_DIVISION_BY_ZERO,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION' [0.000814s/0.073207s=1.11%]
43/43 . set session sql_mode='STRICT_TRANS_TABLES,ERROR_FOR_DIVISION_BY_ZERO,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION' [0.000732s/0.073207s=1.00%]
1/3. set session sql_mode='STRICT_TRANS_TABLES,ERROR_FOR_DIVISION_BY_ZERO,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION' [3 times, 0.00255s/0.073207s=3.48%]
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.002987s/0.073207s=4.08%]