[ DB ] CONNECT:[ UseTime:0.000648s ] mysql:host=172.31.96.182;port=3306;dbname=shoppaas_1692932722845;charset=utf8mb4
[ SQL ] SHOW COLUMNS FROM `app_center` [ RunTime:0.002458s ]
[ SQL ] SELECT COUNT(*) AS tp_count FROM `app_center` WHERE `name` = 'product_topic' AND `is_installed` = 1 LIMIT 1 [ RunTime:0.000500s ]
[ SQL ] SHOW COLUMNS FROM `payment` [ RunTime:0.002693s ]
[ SQL ] SELECT * FROM `payment` WHERE `status` = '1' ORDER BY `weigh` DESC,`id` ASC [ RunTime:0.000618s ]
[ SQL ] SHOW COLUMNS FROM `config` [ RunTime:0.001934s ]
[ SQL ] SELECT `value` FROM `config` WHERE `name` = 'lang_auto_detect' LIMIT 1 [ RunTime:0.000544s ]
[ SQL ] set time_zone = '+08:00' [ RunTime:0.000374s ]
[ SQL ] SELECT `value` FROM `config` WHERE ( name = 'multiCurrencySwitch' ) LIMIT 1 [ RunTime:0.000348s ]
[ SQL ] SELECT `value` FROM `config` WHERE ( name = 'byIpSwitch' ) LIMIT 1 [ RunTime:0.000428s ]
[ SQL ] SHOW COLUMNS FROM `cart` [ RunTime:0.002423s ]
[ SQL ] SHOW COLUMNS FROM `product` [ RunTime:0.002651s ]
[ SQL ] UPDATE `cart` SET `deletetime`=1743673779 WHERE ( NOT EXISTS ( SELECT * FROM `product` WHERE ( product.id=cart.product_id ) ) AND `user_id` = 0 AND `session_id` = 't5qamunbsqhbr0rt1dil6h2fga' AND `createtime` > 1743414579 ) AND `cart`.`deletetime` IS NULL [ RunTime:0.000734s ]
[ SQL ] SHOW COLUMNS FROM `activity` [ RunTime:0.001679s ]
[ SQL ] set session sql_mode='STRICT_TRANS_TABLES,ERROR_FOR_DIVISION_BY_ZERO,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION' [ RunTime:0.000525s ]
[ SQL ] SELECT * FROM `cart` LEFT JOIN ( SELECT type as activity_type,id as activity_id,`product_ids` FROM `activity` WHERE ( `type` IN ('seckill') ) AND `activity`.`deletetime` IS NULL ) `act` ON find_in_set(cart.product_id, product_ids) WHERE ( `user_id` = 0 AND `session_id` = 't5qamunbsqhbr0rt1dil6h2fga' AND `store_id` = 0 ) AND `cart`.`deletetime` IS NULL GROUP BY `id` ORDER BY `createtime` DESC [ RunTime:0.001003s ]
[ SQL ] set session sql_mode='STRICT_TRANS_TABLES,ERROR_FOR_DIVISION_BY_ZERO,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION' [ RunTime:0.000534s ]
[ SQL ] SELECT `value` FROM `config` WHERE `name` = 'customer_login_config' LIMIT 1 [ RunTime:0.000529s ]
[ SQL ] SHOW COLUMNS FROM `visit_user` [ RunTime:0.003026s ]
[ SQL ] SELECT * FROM `visit_user` WHERE `visit_code` = '321ab9df8d6a4a056d89cbc4950dc94d' LIMIT 1 [ RunTime:0.002426s ]
[ SQL ] SHOW COLUMNS FROM `visit_log` [ RunTime:0.003829s ]
[ SQL ] SELECT * FROM `visit_log` WHERE ( `visit_session` = '53646bcd75e67cd6c9bb273afc108889' ) AND `visit_log`.`deletetime` IS NULL LIMIT 1 [ RunTime:0.002296s ]
[ SQL ] SELECT COUNT(*) AS tp_count FROM `app_center` WHERE `name` = 'access_control' AND `is_installed` = 1 LIMIT 1 [ RunTime:0.000612s ]
[ SQL ] set session sql_mode='STRICT_TRANS_TABLES,ERROR_FOR_DIVISION_BY_ZERO,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION' [ RunTime:0.000529s ]
[ SQL ] SHOW COLUMNS FROM `activity_product_sku_price` [ RunTime:0.002075s ]
[ 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.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 < 1743673779 and b.endtime > 1743673779 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.001485s ]
[ SQL ] SHOW COLUMNS FROM `currency` [ RunTime:0.004335s ]
[ 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 (49,48,47,46,45,44,43,42,41,40,39,38,37,36,35,34,33,32,31,30,29,28,27,26,25,24) group by binary(p.name), binary(p1.name); [ RunTime:0.002487s ]
[ SQL ] set session sql_mode='STRICT_TRANS_TABLES,ERROR_FOR_DIVISION_BY_ZERO,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION' [ RunTime:0.000427s ]
[ 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 < 1743673779 and b.endtime > 1743673779 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.000782s ]
[ 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.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 < 1743673779 and b.endtime > 1743673779 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 24,12 [ RunTime:0.001107s ]
[ SQL ] SHOW COLUMNS FROM `discuss` [ RunTime:0.002917s ]
[ SQL ] SELECT * FROM `discuss` WHERE ( `status` = 'show' AND `product_id` IN (25,24) ) AND `discuss`.`deletetime` IS NULL [ RunTime:0.000764s ]
[ SQL ] SHOW COLUMNS FROM `product_sku_price` [ RunTime:0.001989s ]
[ SQL ] SELECT * FROM `product_sku_price` WHERE ( `product_id` IN (25,24) ) AND `product_sku_price`.`deletetime` IS NULL ORDER BY `weigh` ASC,`id` ASC [ RunTime:0.001167s ]
[ SQL ] SELECT * FROM `activity` WHERE ( ( 1743673779 > starttime && 1743673779 < endtime ) ) AND `activity`.`deletetime` IS NULL ORDER BY `starttime` ASC LIMIT 30 [ RunTime:0.000791s ]
[ SQL ] set session sql_mode='STRICT_TRANS_TABLES,ERROR_FOR_DIVISION_BY_ZERO,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION' [ RunTime:0.003969s ]
[ SQL ] SELECT `value` FROM `config` WHERE `name` = 'product_review' LIMIT 1 [ RunTime:0.002910s ]
[ SQL ] SHOW COLUMNS FROM `themes_menu_item` [ RunTime:0.002185s ]
[ SQL ] SELECT * FROM `themes_menu_item` WHERE `themes_menu_item`.`deletetime` IS NULL [ RunTime:0.001095s ]
[ SQL ] SHOW COLUMNS FROM `themes_lang` [ RunTime:0.002454s ]
[ 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.000451s ]
[ 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.000390s ]
[ 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.000399s ]
[ SQL ] SELECT `id` FROM `product` WHERE ( ( `id` <> 0 AND `id` IN (4,3,2,1) ) AND `status` = 'up' ) AND `product`.`deletetime` IS NULL ORDER BY field(id,4,3,2,1) LIMIT 999 [ RunTime:0.001043s ]
1/48 . SHOW COLUMNS FROM `currency` [0.004335s/0.070369s=6.16%]
2/48 . set session sql_mode='STRICT_TRANS_TABLES,ERROR_FOR_DIVISION_BY_ZERO,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION' [0.003969s/0.070369s=5.64%]
3/48 . SHOW COLUMNS FROM `visit_log` [0.003829s/0.070369s=5.44%]
4/48 . SHOW COLUMNS FROM `visit_user` [0.003026s/0.070369s=4.30%]
5/48 . SHOW COLUMNS FROM `discuss` [0.002917s/0.070369s=4.15%]
6/48 . SELECT `value` FROM `config` WHERE `name` = 'product_review' LIMIT 1 [0.002910s/0.070369s=4.14%]
7/48 . SHOW COLUMNS FROM `payment` [0.002693s/0.070369s=3.83%]
8/48 . SHOW COLUMNS FROM `product` [0.002651s/0.070369s=3.77%]
9/48 . 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 (49,48,47,46,45,44,43,42,41,40,39,38,37,36,35,34,33,32,31,30,29,28,27,26,25,24) group by binary(p.name), binary(p1.name); [0.002487s/0.070369s=3.53%]
10/48 . SHOW COLUMNS FROM `app_center` [0.002458s/0.070369s=3.49%]
11/48 . SHOW COLUMNS FROM `themes_lang` [0.002454s/0.070369s=3.49%]
12/48 . SELECT * FROM `visit_user` WHERE `visit_code` = '321ab9df8d6a4a056d89cbc4950dc94d' LIMIT 1 [0.002426s/0.070369s=3.45%]
13/48 . SHOW COLUMNS FROM `cart` [0.002423s/0.070369s=3.44%]
14/48 . SELECT * FROM `visit_log` WHERE ( `visit_session` = '53646bcd75e67cd6c9bb273afc108889' ) AND `visit_log`.`deletetime` IS NULL LIMIT 1 [0.002296s/0.070369s=3.26%]
15/48 . SHOW COLUMNS FROM `themes_menu_item` [0.002185s/0.070369s=3.11%]
16/48 . SHOW COLUMNS FROM `activity_product_sku_price` [0.002075s/0.070369s=2.95%]
17/48 . SHOW COLUMNS FROM `product_sku_price` [0.001989s/0.070369s=2.83%]
18/48 . SHOW COLUMNS FROM `config` [0.001934s/0.070369s=2.75%]
19/48 . SHOW COLUMNS FROM `activity` [0.001679s/0.070369s=2.39%]
20/48 . 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.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 < 1743673779 and b.endtime > 1743673779 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.001485s/0.070369s=2.11%]
21/48 . SELECT * FROM `product_sku_price` WHERE ( `product_id` IN (25,24) ) AND `product_sku_price`.`deletetime` IS NULL ORDER BY `weigh` ASC,`id` ASC [0.001167s/0.070369s=1.66%]
22/48 . 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.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 < 1743673779 and b.endtime > 1743673779 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 24,12 [0.001107s/0.070369s=1.57%]
23/48 . SELECT * FROM `themes_menu_item` WHERE `themes_menu_item`.`deletetime` IS NULL [0.001095s/0.070369s=1.56%]
24/48 . SELECT `id` FROM `product` WHERE ( ( `id` <> 0 AND `id` IN (4,3,2,1) ) AND `status` = 'up' ) AND `product`.`deletetime` IS NULL ORDER BY field(id,4,3,2,1) LIMIT 999 [0.001043s/0.070369s=1.48%]
25/48 . SELECT * FROM `cart` LEFT JOIN ( SELECT type as activity_type,id as activity_id,`product_ids` FROM `activity` WHERE ( `type` IN ('seckill') ) AND `activity`.`deletetime` IS NULL ) `act` ON find_in_set(cart.product_id, product_ids) WHERE ( `user_id` = 0 AND `session_id` = 't5qamunbsqhbr0rt1dil6h2fga' AND `store_id` = 0 ) AND `cart`.`deletetime` IS NULL GROUP BY `id` ORDER BY `createtime` DESC [0.001003s/0.070369s=1.43%]
27/48 . SELECT * FROM `activity` WHERE ( ( 1743673779 > starttime && 1743673779 < endtime ) ) AND `activity`.`deletetime` IS NULL ORDER BY `starttime` ASC LIMIT 30 [0.000791s/0.070369s=1.12%]
28/48 . 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 < 1743673779 and b.endtime > 1743673779 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.000782s/0.070369s=1.11%]
29/48 . SELECT * FROM `discuss` WHERE ( `status` = 'show' AND `product_id` IN (25,24) ) AND `discuss`.`deletetime` IS NULL [0.000764s/0.070369s=1.09%]
30/48 . UPDATE `cart` SET `deletetime`=1743673779 WHERE ( NOT EXISTS ( SELECT * FROM `product` WHERE ( product.id=cart.product_id ) ) AND `user_id` = 0 AND `session_id` = 't5qamunbsqhbr0rt1dil6h2fga' AND `createtime` > 1743414579 ) AND `cart`.`deletetime` IS NULL [0.000734s/0.070369s=1.04%]
33/48 . SELECT * FROM `payment` WHERE `status` = '1' ORDER BY `weigh` DESC,`id` ASC [0.000618s/0.070369s=0.88%]
34/48 . SELECT COUNT(*) AS tp_count FROM `app_center` WHERE `name` = 'access_control' AND `is_installed` = 1 LIMIT 1 [0.000612s/0.070369s=0.87%]
35/48 . SELECT `value` FROM `config` WHERE `name` = 'lang_auto_detect' LIMIT 1 [0.000544s/0.070369s=0.77%]
36/48 . set session sql_mode='STRICT_TRANS_TABLES,ERROR_FOR_DIVISION_BY_ZERO,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION' [0.000534s/0.070369s=0.76%]
37/48 . SELECT `value` FROM `config` WHERE `name` = 'customer_login_config' LIMIT 1 [0.000529s/0.070369s=0.75%]
38/48 . set session sql_mode='STRICT_TRANS_TABLES,ERROR_FOR_DIVISION_BY_ZERO,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION' [0.000529s/0.070369s=0.75%]
39/48 . set session sql_mode='STRICT_TRANS_TABLES,ERROR_FOR_DIVISION_BY_ZERO,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION' [0.000525s/0.070369s=0.75%]
40/48 . SELECT COUNT(*) AS tp_count FROM `app_center` WHERE `name` = 'product_topic' AND `is_installed` = 1 LIMIT 1 [0.000500s/0.070369s=0.71%]
41/48 . 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.000451s/0.070369s=0.64%]
42/48 . SELECT `value` FROM `config` WHERE ( name = 'byIpSwitch' ) LIMIT 1 [0.000428s/0.070369s=0.61%]
43/48 . set session sql_mode='STRICT_TRANS_TABLES,ERROR_FOR_DIVISION_BY_ZERO,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION' [0.000427s/0.070369s=0.61%]
44/48 . 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.000399s/0.070369s=0.57%]
45/48 . 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.000390s/0.070369s=0.55%]
47/48 . set time_zone = '+08:00' [0.000374s/0.070369s=0.53%]
48/48 . SELECT `value` FROM `config` WHERE ( name = 'multiCurrencySwitch' ) LIMIT 1 [0.000348s/0.070369s=0.49%]
1/3. set session sql_mode='STRICT_TRANS_TABLES,ERROR_FOR_DIVISION_BY_ZERO,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION' [5 times, 0.005984s/0.070369s=8.50%]
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.00124s/0.070369s=1.76%]