[ SQL ] set session sql_mode='STRICT_TRANS_TABLES,ERROR_FOR_DIVISION_BY_ZERO,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION' [ RunTime:0.001832s ]
[ 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 < 1775835658 and b.endtime > 1775835658 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(2, category_ids) ) ) ) AND `p`.`deletetime` IS NULL ORDER BY weigh desc, id desc [ RunTime:0.006655s ]
[ 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,24,23,1) group by binary(p.name), binary(p1.name); [ RunTime:0.005118s ]
[ SQL ] set session sql_mode='STRICT_TRANS_TABLES,ERROR_FOR_DIVISION_BY_ZERO,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION' [ RunTime:0.001113s ]
[ 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 < 1775835658 and b.endtime > 1775835658 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(2, category_ids) ) ) ) AND `p`.`deletetime` IS NULL LIMIT 1 [ RunTime:0.001366s ]
[ 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 < 1775835658 and b.endtime > 1775835658 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(2, category_ids) ) ) ) AND `p`.`deletetime` IS NULL ORDER BY weigh desc,id desc LIMIT 0,12 [ RunTime:0.001816s ]
[ SQL ] SELECT * FROM `discuss` WHERE ( `status` = 'show' AND `product_id` IN (28,27,26,24,23,1) ) AND `discuss`.`deletetime` IS NULL [ RunTime:0.001034s ]
[ SQL ] SELECT * FROM `product_sku_price` WHERE ( `product_id` IN (28,27,26,24,23,1) ) AND `product_sku_price`.`deletetime` IS NULL ORDER BY `weigh` ASC,`id` ASC [ RunTime:0.001210s ]
[ SQL ] SELECT * FROM `activity` WHERE ( ( 1775835658 > starttime && 1775835658 < endtime ) ) AND `activity`.`deletetime` IS NULL ORDER BY `starttime` ASC LIMIT 30 [ RunTime:0.000991s ]
[ SQL ] set session sql_mode='STRICT_TRANS_TABLES,ERROR_FOR_DIVISION_BY_ZERO,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION' [ RunTime:0.000942s ]
[ SQL ] SELECT `value` FROM `config` WHERE `name` = 'product_review' LIMIT 1 [ RunTime:0.001186s ]
[ 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.000971s ]
[ SQL ] SELECT `result`,`result2` FROM `content_transl` WHERE `uniq_key` = 'c9e99e3656b0e6b445068cdcc894c76e' LIMIT 1 [ RunTime:0.001204s ]
[ SQL ] SELECT `id` FROM `category` WHERE `path` = 'default' LIMIT 1 [ RunTime:0.000945s ]
[ 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 = 2
and p.status = "up" and p.deletetime is null limit 40 [ RunTime:0.001068s ]
[ SQL ] SELECT `value` FROM `config` WHERE `name` = 'klaviyo_config' LIMIT 1 [ RunTime:0.001298s ]
[ SQL ] SELECT COUNT(*) AS tp_count FROM `app_center` WHERE `name` = 'salesmartly' AND `is_installed` = 1 LIMIT 1 [ RunTime:0.000960s ]
[ SQL ] SELECT * FROM `themes_menu_item` WHERE `themes_menu_item`.`deletetime` IS NULL [ RunTime:0.000977s ]
[ 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.000959s ]
[ SQL ] SELECT `result`,`result2` FROM `content_transl` WHERE `uniq_key` = '075d5818353c51f78884ef826485aded' LIMIT 1 [ RunTime:0.000969s ]
[ SQL ] SELECT `translation` FROM `themes_i18n` WHERE `lang` = 'en' AND `content` = 'debug' LIMIT 1 [ RunTime:0.004030s ]
[ SQL ] SELECT `result`,`result2` FROM `content_transl` WHERE `uniq_key` = '3308e0f61772da63f2a727abf57a6a92' LIMIT 1 [ RunTime:0.000995s ]
[ SQL ] SELECT `translation` FROM `themes_i18n` WHERE `lang` = 'en' AND `content` = 'hello,nice to meet you' LIMIT 1 [ RunTime:0.004242s ]
[ SQL ] SELECT `result`,`result2` FROM `content_transl` WHERE `uniq_key` = '438e5b06e5f403f2cc0af0545382925a' LIMIT 1 [ RunTime:0.000994s ]
[ SQL ] SELECT `translation` FROM `themes_i18n` WHERE `lang` = 'en' AND `content` = 'good morning' LIMIT 1 [ RunTime:0.004108s ]
[ SQL ] SELECT `result`,`result2` FROM `content_transl` WHERE `uniq_key` = '1debff1ee4a526ae4358aecd78d0ddf2' LIMIT 1 [ RunTime:0.001117s ]
[ SQL ] SELECT `translation` FROM `themes_i18n` WHERE `lang` = 'en' AND `content` = 'footer' LIMIT 1 [ RunTime:0.004223s ]
[ SQL ] SELECT `result`,`result2` FROM `content_transl` WHERE `uniq_key` = '20d84b16dd9f9623331a84fcd791ee56' LIMIT 1 [ RunTime:0.001088s ]
[ SQL ] SELECT `translation` FROM `themes_i18n` WHERE `lang` = 'en' AND `content` = 'you are welcome' LIMIT 1 [ RunTime:0.004316s ]
[ 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.001322s ]
[ SQL ] SELECT `result`,`result2` FROM `content_transl` WHERE `uniq_key` = '1d04300a88a59eb0c7ec82a1a6cf74a1' LIMIT 1 [ RunTime:0.000931s ]
[ SQL ] SELECT `result`,`result2` FROM `content_transl` WHERE `uniq_key` = 'e214ae5830fc52feecf8240c886d7217' LIMIT 1 [ RunTime:0.000933s ]
[ SQL ] SELECT `result`,`result2` FROM `content_transl` WHERE `uniq_key` = 'd83d2f55e5ed650f9b4ce2d5a779f994' LIMIT 1 [ RunTime:0.001041s ]
[ SQL ] SELECT `result`,`result2` FROM `content_transl` WHERE `uniq_key` = 'b37a8079401ff6eade2b9fb32d02b29e' LIMIT 1 [ RunTime:0.001031s ]
[ SQL ] SELECT `result`,`result2` FROM `content_transl` WHERE `uniq_key` = '37fa86156d5024e6e3311f86c8bde460' LIMIT 1 [ RunTime:0.000931s ]
[ SQL ] SELECT `result`,`result2` FROM `content_transl` WHERE `uniq_key` = 'a2236b647c90106244f4a8d128244eb1' LIMIT 1 [ RunTime:0.001041s ]
[ SQL ] SELECT `result`,`result2` FROM `content_transl` WHERE `uniq_key` = '830282edeeb70690716e91c4f7df2299' LIMIT 1 [ RunTime:0.000936s ]
1/49 . 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 < 1775835658 and b.endtime > 1775835658 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(2, category_ids) ) ) ) AND `p`.`deletetime` IS NULL ORDER BY weigh desc, id desc [0.006655s/0.081295s=8.19%]
2/49 . 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,24,23,1) group by binary(p.name), binary(p1.name); [0.005118s/0.081295s=6.30%]
3/49 . SELECT `translation` FROM `themes_i18n` WHERE `lang` = 'en' AND `content` = 'you are welcome' LIMIT 1 [0.004316s/0.081295s=5.31%]
4/49 . SELECT `translation` FROM `themes_i18n` WHERE `lang` = 'en' AND `content` = 'hello,nice to meet you' LIMIT 1 [0.004242s/0.081295s=5.22%]
5/49 . SELECT `translation` FROM `themes_i18n` WHERE `lang` = 'en' AND `content` = 'footer' LIMIT 1 [0.004223s/0.081295s=5.19%]
6/49 . SELECT `translation` FROM `themes_i18n` WHERE `lang` = 'en' AND `content` = 'good morning' LIMIT 1 [0.004108s/0.081295s=5.05%]
7/49 . SELECT `translation` FROM `themes_i18n` WHERE `lang` = 'en' AND `content` = 'debug' LIMIT 1 [0.004030s/0.081295s=4.96%]
10/49 . set session sql_mode='STRICT_TRANS_TABLES,ERROR_FOR_DIVISION_BY_ZERO,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION' [0.001832s/0.081295s=2.25%]
11/49 . 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 < 1775835658 and b.endtime > 1775835658 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(2, category_ids) ) ) ) AND `p`.`deletetime` IS NULL ORDER BY weigh desc,id desc LIMIT 0,12 [0.001816s/0.081295s=2.23%]
12/49 . 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 < 1775835658 and b.endtime > 1775835658 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(2, category_ids) ) ) ) AND `p`.`deletetime` IS NULL LIMIT 1 [0.001366s/0.081295s=1.68%]
13/49 . 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.001322s/0.081295s=1.63%]
14/49 . SELECT `value` FROM `config` WHERE `name` = 'klaviyo_config' LIMIT 1 [0.001298s/0.081295s=1.60%]
15/49 . SELECT * FROM `payment` WHERE `status` = '1' ORDER BY `weigh` DESC,`id` ASC [0.001223s/0.081295s=1.50%]
16/49 . SELECT * FROM `product_sku_price` WHERE ( `product_id` IN (28,27,26,24,23,1) ) AND `product_sku_price`.`deletetime` IS NULL ORDER BY `weigh` ASC,`id` ASC [0.001210s/0.081295s=1.49%]
17/49 . SELECT `result`,`result2` FROM `content_transl` WHERE `uniq_key` = 'c9e99e3656b0e6b445068cdcc894c76e' LIMIT 1 [0.001204s/0.081295s=1.48%]
18/49 . SELECT `value` FROM `config` WHERE `name` = 'product_review' LIMIT 1 [0.001186s/0.081295s=1.46%]
19/49 . SELECT `value` FROM `config` WHERE ( name = 'multiCurrencySwitch' ) LIMIT 1 [0.001182s/0.081295s=1.45%]
20/49 . SELECT `result`,`result2` FROM `content_transl` WHERE `uniq_key` = '1debff1ee4a526ae4358aecd78d0ddf2' LIMIT 1 [0.001117s/0.081295s=1.37%]
21/49 . set session sql_mode='STRICT_TRANS_TABLES,ERROR_FOR_DIVISION_BY_ZERO,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION' [0.001113s/0.081295s=1.37%]
22/49 . SELECT `value` FROM `config` WHERE `name` = 'customer_login_config' LIMIT 1 [0.001102s/0.081295s=1.36%]
23/49 . SELECT COUNT(*) AS tp_count FROM `app_center` WHERE `name` = 'access_control' AND `is_installed` = 1 LIMIT 1 [0.001102s/0.081295s=1.36%]
24/49 . SELECT `result`,`result2` FROM `content_transl` WHERE `uniq_key` = '20d84b16dd9f9623331a84fcd791ee56' LIMIT 1 [0.001088s/0.081295s=1.34%]
25/49 . SELECT `value` FROM `config` WHERE `name` = 'channel_google' LIMIT 1 [0.001088s/0.081295s=1.34%]
26/49 . 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 = 2
and p.status = "up" and p.deletetime is null limit 40 [0.001068s/0.081295s=1.31%]
27/49 . SELECT `value` FROM `config` WHERE `name` = 'lang_auto_detect' LIMIT 1 [0.001062s/0.081295s=1.31%]
28/49 . SELECT `result`,`result2` FROM `content_transl` WHERE `uniq_key` = 'd83d2f55e5ed650f9b4ce2d5a779f994' LIMIT 1 [0.001041s/0.081295s=1.28%]
29/49 . SELECT `result`,`result2` FROM `content_transl` WHERE `uniq_key` = 'a2236b647c90106244f4a8d128244eb1' LIMIT 1 [0.001041s/0.081295s=1.28%]
30/49 . SELECT * FROM `discuss` WHERE ( `status` = 'show' AND `product_id` IN (28,27,26,24,23,1) ) AND `discuss`.`deletetime` IS NULL [0.001034s/0.081295s=1.27%]
31/49 . SELECT `result`,`result2` FROM `content_transl` WHERE `uniq_key` = 'b37a8079401ff6eade2b9fb32d02b29e' LIMIT 1 [0.001031s/0.081295s=1.27%]
32/49 . SELECT COUNT(*) AS tp_count FROM `app_center` WHERE `name` = 'product_topic' AND `is_installed` = 1 LIMIT 1 [0.001019s/0.081295s=1.25%]
33/49 . SELECT `result`,`result2` FROM `content_transl` WHERE `uniq_key` = '3308e0f61772da63f2a727abf57a6a92' LIMIT 1 [0.000995s/0.081295s=1.22%]
34/49 . SELECT `result`,`result2` FROM `content_transl` WHERE `uniq_key` = '438e5b06e5f403f2cc0af0545382925a' LIMIT 1 [0.000994s/0.081295s=1.22%]
35/49 . SELECT * FROM `activity` WHERE ( ( 1775835658 > starttime && 1775835658 < endtime ) ) AND `activity`.`deletetime` IS NULL ORDER BY `starttime` ASC LIMIT 30 [0.000991s/0.081295s=1.22%]
36/49 . SELECT * FROM `themes_menu_item` WHERE `themes_menu_item`.`deletetime` IS NULL [0.000977s/0.081295s=1.20%]
37/49 . 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.000971s/0.081295s=1.19%]
38/49 . SELECT `result`,`result2` FROM `content_transl` WHERE `uniq_key` = '075d5818353c51f78884ef826485aded' LIMIT 1 [0.000969s/0.081295s=1.19%]
39/49 . SELECT COUNT(*) AS tp_count FROM `app_center` WHERE `name` = 'salesmartly' AND `is_installed` = 1 LIMIT 1 [0.000960s/0.081295s=1.18%]
40/49 . 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.000959s/0.081295s=1.18%]
41/49 . set time_zone = '+08:00' [0.000947s/0.081295s=1.16%]
42/49 . SELECT `id` FROM `category` WHERE `path` = 'default' LIMIT 1 [0.000945s/0.081295s=1.16%]
43/49 . set session sql_mode='STRICT_TRANS_TABLES,ERROR_FOR_DIVISION_BY_ZERO,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION' [0.000942s/0.081295s=1.16%]
44/49 . SELECT `value` FROM `config` WHERE ( name = 'byIpSwitch' ) LIMIT 1 [0.000940s/0.081295s=1.16%]
45/49 . SELECT `result`,`result2` FROM `content_transl` WHERE `uniq_key` = '830282edeeb70690716e91c4f7df2299' LIMIT 1 [0.000936s/0.081295s=1.15%]
46/49 . SELECT `result`,`result2` FROM `content_transl` WHERE `uniq_key` = 'e214ae5830fc52feecf8240c886d7217' LIMIT 1 [0.000933s/0.081295s=1.15%]
47/49 . SELECT `result`,`result2` FROM `content_transl` WHERE `uniq_key` = '37fa86156d5024e6e3311f86c8bde460' LIMIT 1 [0.000931s/0.081295s=1.15%]
48/49 . SELECT `result`,`result2` FROM `content_transl` WHERE `uniq_key` = '1d04300a88a59eb0c7ec82a1a6cf74a1' LIMIT 1 [0.000931s/0.081295s=1.15%]
1/3. set session sql_mode='STRICT_TRANS_TABLES,ERROR_FOR_DIVISION_BY_ZERO,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION' [3 times, 0.003887s/0.081295s=4.78%]
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.003252s/0.081295s=4.00%]