[ SQL ] set session sql_mode='STRICT_TRANS_TABLES,ERROR_FOR_DIVISION_BY_ZERO,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION' [ RunTime:0.000851s ]
[ 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 < 1775840637 and b.endtime > 1775840637 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.002257s ]
[ 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 (21,13,12,11,10,9,8,7,6,5,4,3,2) group by binary(p.name), binary(p1.name); [ RunTime:0.006923s ]
[ SQL ] set session sql_mode='STRICT_TRANS_TABLES,ERROR_FOR_DIVISION_BY_ZERO,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION' [ RunTime:0.000684s ]
[ 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 < 1775840637 and b.endtime > 1775840637 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.001416s ]
[ 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 < 1775840637 and b.endtime > 1775840637 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 12,12 [ RunTime:0.001756s ]
[ SQL ] SELECT * FROM `discuss` WHERE ( `status` = 'show' AND `product_id` IN (2) ) AND `discuss`.`deletetime` IS NULL [ RunTime:0.000943s ]
[ SQL ] SELECT * FROM `product_sku_price` WHERE ( `product_id` IN (2) ) AND `product_sku_price`.`deletetime` IS NULL ORDER BY `weigh` ASC,`id` ASC [ RunTime:0.001542s ]
[ SQL ] SELECT * FROM `activity` WHERE ( ( 1775840637 > starttime && 1775840637 < endtime ) ) AND `activity`.`deletetime` IS NULL ORDER BY `starttime` ASC LIMIT 30 [ RunTime:0.000928s ]
[ SQL ] set session sql_mode='STRICT_TRANS_TABLES,ERROR_FOR_DIVISION_BY_ZERO,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION' [ RunTime:0.000812s ]
[ SQL ] SELECT `value` FROM `config` WHERE `name` = 'product_review' LIMIT 1 [ RunTime:0.000884s ]
[ SQL ] SELECT `id` FROM `category` WHERE `path` = 'Automotive' 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 = 3
and p.status = "up" and p.deletetime is null limit 40 [ RunTime:0.001093s ]
[ SQL ] SELECT `value` FROM `config` WHERE `name` = 'klaviyo_config' LIMIT 1 [ RunTime:0.001094s ]
[ SQL ] SELECT COUNT(*) AS tp_count FROM `app_center` WHERE `name` = 'salesmartly' AND `is_installed` = 1 LIMIT 1 [ RunTime:0.001188s ]
[ SQL ] SELECT * FROM `themes_menu_item` WHERE `themes_menu_item`.`deletetime` IS NULL [ RunTime:0.001012s ]
[ 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.001032s ]
[ SQL ] SELECT `result`,`result2` FROM `content_transl` WHERE `uniq_key` = '075d5818353c51f78884ef826485aded' LIMIT 1 [ RunTime:0.001004s ]
[ SQL ] SELECT `translation` FROM `themes_i18n` WHERE `lang` = 'en' AND `content` = 'debug' LIMIT 1 [ RunTime:0.004332s ]
[ SQL ] SELECT `result`,`result2` FROM `content_transl` WHERE `uniq_key` = '3308e0f61772da63f2a727abf57a6a92' LIMIT 1 [ RunTime:0.000931s ]
[ SQL ] SELECT `translation` FROM `themes_i18n` WHERE `lang` = 'en' AND `content` = 'hello,nice to meet you' LIMIT 1 [ RunTime:0.004292s ]
[ SQL ] SELECT `result`,`result2` FROM `content_transl` WHERE `uniq_key` = '438e5b06e5f403f2cc0af0545382925a' LIMIT 1 [ RunTime:0.000928s ]
[ SQL ] SELECT `translation` FROM `themes_i18n` WHERE `lang` = 'en' AND `content` = 'good morning' LIMIT 1 [ RunTime:0.004664s ]
[ SQL ] SELECT `result`,`result2` FROM `content_transl` WHERE `uniq_key` = '1debff1ee4a526ae4358aecd78d0ddf2' LIMIT 1 [ RunTime:0.001359s ]
[ SQL ] SELECT `translation` FROM `themes_i18n` WHERE `lang` = 'en' AND `content` = 'footer' LIMIT 1 [ RunTime:0.004317s ]
[ SQL ] SELECT `result`,`result2` FROM `content_transl` WHERE `uniq_key` = '20d84b16dd9f9623331a84fcd791ee56' LIMIT 1 [ RunTime:0.001162s ]
[ SQL ] SELECT `translation` FROM `themes_i18n` WHERE `lang` = 'en' AND `content` = 'you are welcome' LIMIT 1 [ RunTime:0.004108s ]
[ 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.000948s ]
[ SQL ] SELECT `result`,`result2` FROM `content_transl` WHERE `uniq_key` = '53cd969e678cb6d90c8217d0e7723ae2' LIMIT 1 [ RunTime:0.000891s ]
[ 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.000961s ]
[ SQL ] SELECT `result`,`result2` FROM `content_transl` WHERE `uniq_key` = 'd3624c2bcdfc44dd537917756ea0b84a' LIMIT 1 [ RunTime:0.001362s ]
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 (21,13,12,11,10,9,8,7,6,5,4,3,2) group by binary(p.name), binary(p1.name); [0.006923s/0.087508s=7.91%]
2/43 . SELECT COUNT(*) AS tp_count FROM `app_center` WHERE `name` = 'access_control' AND `is_installed` = 1 LIMIT 1 [0.006467s/0.087508s=7.39%]
5/43 . SELECT `translation` FROM `themes_i18n` WHERE `lang` = 'en' AND `content` = 'good morning' LIMIT 1 [0.004664s/0.087508s=5.33%]
6/43 . SELECT `translation` FROM `themes_i18n` WHERE `lang` = 'en' AND `content` = 'debug' LIMIT 1 [0.004332s/0.087508s=4.95%]
7/43 . SELECT `translation` FROM `themes_i18n` WHERE `lang` = 'en' AND `content` = 'footer' LIMIT 1 [0.004317s/0.087508s=4.93%]
8/43 . SELECT `translation` FROM `themes_i18n` WHERE `lang` = 'en' AND `content` = 'hello,nice to meet you' LIMIT 1 [0.004292s/0.087508s=4.90%]
9/43 . SELECT `translation` FROM `themes_i18n` WHERE `lang` = 'en' AND `content` = 'you are welcome' LIMIT 1 [0.004108s/0.087508s=4.69%]
10/43 . SELECT COUNT(*) AS tp_count FROM `app_center` WHERE `name` = 'product_topic' AND `is_installed` = 1 LIMIT 1 [0.002605s/0.087508s=2.98%]
11/43 . SELECT * FROM `payment` WHERE `status` = '1' ORDER BY `weigh` DESC,`id` ASC [0.002271s/0.087508s=2.60%]
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 < 1775840637 and b.endtime > 1775840637 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.002257s/0.087508s=2.58%]
13/43 . SELECT `value` FROM `config` WHERE `name` = 'channel_google' LIMIT 1 [0.001824s/0.087508s=2.08%]
14/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 < 1775840637 and b.endtime > 1775840637 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 12,12 [0.001756s/0.087508s=2.01%]
15/43 . SELECT `value` FROM `config` WHERE ( name = 'byIpSwitch' ) LIMIT 1 [0.001630s/0.087508s=1.86%]
16/43 . SELECT * FROM `product_sku_price` WHERE ( `product_id` IN (2) ) AND `product_sku_price`.`deletetime` IS NULL ORDER BY `weigh` ASC,`id` ASC [0.001542s/0.087508s=1.76%]
17/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 < 1775840637 and b.endtime > 1775840637 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.001416s/0.087508s=1.62%]
18/43 . SELECT `result`,`result2` FROM `content_transl` WHERE `uniq_key` = 'd3624c2bcdfc44dd537917756ea0b84a' LIMIT 1 [0.001362s/0.087508s=1.56%]
19/43 . SELECT `result`,`result2` FROM `content_transl` WHERE `uniq_key` = '1debff1ee4a526ae4358aecd78d0ddf2' LIMIT 1 [0.001359s/0.087508s=1.55%]
20/43 . SELECT `value` FROM `config` WHERE `name` = 'lang_auto_detect' LIMIT 1 [0.001349s/0.087508s=1.54%]
21/43 . SELECT `value` FROM `config` WHERE `name` = 'customer_login_config' LIMIT 1 [0.001314s/0.087508s=1.50%]
22/43 . SELECT COUNT(*) AS tp_count FROM `app_center` WHERE `name` = 'salesmartly' AND `is_installed` = 1 LIMIT 1 [0.001188s/0.087508s=1.36%]
23/43 . SELECT `result`,`result2` FROM `content_transl` WHERE `uniq_key` = '20d84b16dd9f9623331a84fcd791ee56' LIMIT 1 [0.001162s/0.087508s=1.33%]
24/43 . SELECT `value` FROM `config` WHERE `name` = 'klaviyo_config' LIMIT 1 [0.001094s/0.087508s=1.25%]
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 = 3
and p.status = "up" and p.deletetime is null limit 40 [0.001093s/0.087508s=1.25%]
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.001032s/0.087508s=1.18%]
27/43 . SELECT * FROM `themes_menu_item` WHERE `themes_menu_item`.`deletetime` IS NULL [0.001012s/0.087508s=1.16%]
28/43 . SELECT `result`,`result2` FROM `content_transl` WHERE `uniq_key` = '075d5818353c51f78884ef826485aded' LIMIT 1 [0.001004s/0.087508s=1.15%]
29/43 . SELECT `id` FROM `category` WHERE `path` = 'Automotive' LIMIT 1 [0.000974s/0.087508s=1.11%]
30/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.000961s/0.087508s=1.10%]
31/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.000948s/0.087508s=1.08%]
32/43 . SELECT * FROM `discuss` WHERE ( `status` = 'show' AND `product_id` IN (2) ) AND `discuss`.`deletetime` IS NULL [0.000943s/0.087508s=1.08%]
33/43 . SELECT `result`,`result2` FROM `content_transl` WHERE `uniq_key` = '3308e0f61772da63f2a727abf57a6a92' LIMIT 1 [0.000931s/0.087508s=1.06%]
34/43 . SELECT * FROM `activity` WHERE ( ( 1775840637 > starttime && 1775840637 < endtime ) ) AND `activity`.`deletetime` IS NULL ORDER BY `starttime` ASC LIMIT 30 [0.000928s/0.087508s=1.06%]
35/43 . SELECT `result`,`result2` FROM `content_transl` WHERE `uniq_key` = '438e5b06e5f403f2cc0af0545382925a' LIMIT 1 [0.000928s/0.087508s=1.06%]
36/43 . SELECT `result`,`result2` FROM `content_transl` WHERE `uniq_key` = '53cd969e678cb6d90c8217d0e7723ae2' LIMIT 1 [0.000891s/0.087508s=1.02%]
37/43 . SELECT `value` FROM `config` WHERE ( name = 'multiCurrencySwitch' ) LIMIT 1 [0.000884s/0.087508s=1.01%]
38/43 . SELECT `value` FROM `config` WHERE `name` = 'product_review' LIMIT 1 [0.000884s/0.087508s=1.01%]
39/43 . set session sql_mode='STRICT_TRANS_TABLES,ERROR_FOR_DIVISION_BY_ZERO,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION' [0.000851s/0.087508s=0.97%]
40/43 . set time_zone = '+08:00' [0.000848s/0.087508s=0.97%]
41/43 . set session sql_mode='STRICT_TRANS_TABLES,ERROR_FOR_DIVISION_BY_ZERO,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION' [0.000812s/0.087508s=0.93%]
43/43 . set session sql_mode='STRICT_TRANS_TABLES,ERROR_FOR_DIVISION_BY_ZERO,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION' [0.000684s/0.087508s=0.78%]
1/3. set session sql_mode='STRICT_TRANS_TABLES,ERROR_FOR_DIVISION_BY_ZERO,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION' [3 times, 0.002347s/0.087508s=2.68%]
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.002941s/0.087508s=3.36%]