[ DB ] CONNECT:[ UseTime:0.000606s ] mysql:host=172.31.96.182;port=3306;dbname=shoppaas_1721902879172;charset=utf8mb4
[ SQL ] SHOW COLUMNS FROM `themes_onepage_store` [ RunTime:0.005372s ]
[ SQL ] SELECT `id` FROM `themes_onepage_store` WHERE `mode` = 1 AND `status` = 1 LIMIT 1 [ RunTime:0.000489s ]
[ SQL ] SHOW COLUMNS FROM `themes_lang` [ RunTime:0.002464s ]
[ SQL ] SELECT * FROM `themes_lang` WHERE ( is_enable = 1 AND is_publish=1 AND deletetime IS NULL ) ORDER BY `is_default` DESC,`sort` DESC [ RunTime:0.000521s ]
[ SQL ] SHOW COLUMNS FROM `payment` [ RunTime:0.002566s ]
[ SQL ] SELECT * FROM `payment` WHERE `status` = '1' ORDER BY `weigh` DESC,`id` ASC [ RunTime:0.000488s ]
[ SQL ] SHOW COLUMNS FROM `config` [ RunTime:0.002281s ]
[ SQL ] SELECT `value` FROM `config` WHERE `name` = 'lang_auto_detect' LIMIT 1 [ RunTime:0.000370s ]
[ SQL ] set time_zone = '+08:00' [ RunTime:0.000264s ]
[ SQL ] SELECT `value` FROM `config` WHERE ( name = 'multiCurrencySwitch' ) LIMIT 1 [ RunTime:0.000312s ]
[ SQL ] SELECT `value` FROM `config` WHERE ( name = 'byIpSwitch' ) LIMIT 1 [ RunTime:0.000289s ]
[ SQL ] SHOW COLUMNS FROM `cart` [ RunTime:0.001878s ]
[ SQL ] SHOW COLUMNS FROM `product` [ RunTime:0.002587s ]
[ SQL ] UPDATE `cart` SET `deletetime`=1743731179 WHERE ( NOT EXISTS ( SELECT * FROM `product` WHERE ( product.id=cart.product_id ) ) AND `user_id` = 0 AND `session_id` = 'sdlbntlmu6nbt4d0pq2k0lak7q' AND `createtime` > 1743471979 ) AND `cart`.`deletetime` IS NULL [ RunTime:0.000579s ]
[ SQL ] SHOW COLUMNS FROM `activity` [ RunTime:0.001714s ]
[ SQL ] set session sql_mode='STRICT_TRANS_TABLES,ERROR_FOR_DIVISION_BY_ZERO,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION' [ RunTime:0.000223s ]
[ 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` = 'sdlbntlmu6nbt4d0pq2k0lak7q' AND `store_id` = 0 ) AND `cart`.`deletetime` IS NULL GROUP BY `id` ORDER BY `createtime` DESC [ RunTime:0.000838s ]
[ SQL ] set session sql_mode='STRICT_TRANS_TABLES,ERROR_FOR_DIVISION_BY_ZERO,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION' [ RunTime:0.000299s ]
[ SQL ] SELECT `value` FROM `config` WHERE `name` = 'customer_login_config' LIMIT 1 [ RunTime:0.000341s ]
[ SQL ] SHOW COLUMNS FROM `visit_user` [ RunTime:0.002655s ]
[ SQL ] SELECT * FROM `visit_user` WHERE `visit_code` = '17e7b35d17a667a12a66e390180645e9' LIMIT 1 [ RunTime:0.001774s ]
[ SQL ] SHOW COLUMNS FROM `visit_log` [ RunTime:0.002636s ]
[ SQL ] SELECT * FROM `visit_log` WHERE ( `visit_session` = '5f8543c37ceae7e1f97407b8fdfbaf42' ) AND `visit_log`.`deletetime` IS NULL LIMIT 1 [ RunTime:0.001998s ]
[ SQL ] SHOW COLUMNS FROM `app_center` [ RunTime:0.001677s ]
[ SQL ] SELECT COUNT(*) AS tp_count FROM `app_center` WHERE `name` = 'access_control' AND `is_installed` = 1 LIMIT 1 [ RunTime:0.000474s ]
[ SQL ] SHOW COLUMNS FROM `themes_menu_item` [ RunTime:0.001659s ]
[ SQL ] SELECT * FROM `themes_menu_item` WHERE `themes_menu_item`.`deletetime` IS NULL [ RunTime:0.000458s ]
[ 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.000413s ]
[ SQL ] SELECT COUNT(*) AS tp_count FROM `product` WHERE ( `status` = 'up' AND `deletetime` IS NULL AND `id` IN (6,8,9,11,14,18,21,25) ) AND `product`.`deletetime` IS NULL LIMIT 1 [ RunTime:0.000489s ]
[ SQL ] SELECT * FROM `product` WHERE ( `status` = 'up' AND `deletetime` IS NULL AND `id` IN (6,8,9,11,14,18,21,25) ) AND `product`.`deletetime` IS NULL ORDER BY field(id,6,8,9,11,14,18,21,25) LIMIT 0,24 [ RunTime:0.000700s ]
[ SQL ] SHOW COLUMNS FROM `discuss` [ RunTime:0.001714s ]
[ SQL ] SELECT * FROM `discuss` WHERE ( `status` = 'show' AND `product_id` IN (6,8,9,11,14,18,21,25) ) AND `discuss`.`deletetime` IS NULL [ RunTime:0.000489s ]
[ SQL ] SHOW COLUMNS FROM `product_sku_price` [ RunTime:0.001705s ]
[ SQL ] SELECT * FROM `product_sku_price` WHERE ( `product_id` IN (6,8,9,11,14,18,21,25) ) AND `product_sku_price`.`deletetime` IS NULL ORDER BY `weigh` ASC,`id` ASC [ RunTime:0.000595s ]
[ SQL ] SELECT * FROM `activity` WHERE ( ( 1743731179 > starttime && 1743731179 < endtime ) ) AND `activity`.`deletetime` IS NULL ORDER BY `starttime` ASC LIMIT 30 [ RunTime:0.000446s ]
[ SQL ] SHOW COLUMNS FROM `currency` [ RunTime:0.001832s ]
[ 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.000442s ]
1/39 . SHOW COLUMNS FROM `themes_onepage_store` [0.005372s/0.04689s=11.46%]
2/39 . SHOW COLUMNS FROM `visit_user` [0.002655s/0.04689s=5.66%]
3/39 . SHOW COLUMNS FROM `visit_log` [0.002636s/0.04689s=5.62%]
4/39 . SHOW COLUMNS FROM `product` [0.002587s/0.04689s=5.52%]
5/39 . SHOW COLUMNS FROM `payment` [0.002566s/0.04689s=5.47%]
6/39 . SHOW COLUMNS FROM `themes_lang` [0.002464s/0.04689s=5.25%]
7/39 . SHOW COLUMNS FROM `config` [0.002281s/0.04689s=4.86%]
8/39 . SELECT * FROM `visit_log` WHERE ( `visit_session` = '5f8543c37ceae7e1f97407b8fdfbaf42' ) AND `visit_log`.`deletetime` IS NULL LIMIT 1 [0.001998s/0.04689s=4.26%]
9/39 . SHOW COLUMNS FROM `cart` [0.001878s/0.04689s=4.01%]
10/39 . SHOW COLUMNS FROM `currency` [0.001832s/0.04689s=3.91%]
11/39 . SELECT * FROM `visit_user` WHERE `visit_code` = '17e7b35d17a667a12a66e390180645e9' LIMIT 1 [0.001774s/0.04689s=3.78%]
12/39 . SHOW COLUMNS FROM `discuss` [0.001714s/0.04689s=3.66%]
13/39 . SHOW COLUMNS FROM `activity` [0.001714s/0.04689s=3.66%]
14/39 . SHOW COLUMNS FROM `product_sku_price` [0.001705s/0.04689s=3.64%]
15/39 . SHOW COLUMNS FROM `app_center` [0.001677s/0.04689s=3.58%]
16/39 . SHOW COLUMNS FROM `themes_menu_item` [0.001659s/0.04689s=3.54%]
17/39 . 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` = 'sdlbntlmu6nbt4d0pq2k0lak7q' AND `store_id` = 0 ) AND `cart`.`deletetime` IS NULL GROUP BY `id` ORDER BY `createtime` DESC [0.000838s/0.04689s=1.79%]
18/39 . SELECT * FROM `product` WHERE ( `status` = 'up' AND `deletetime` IS NULL AND `id` IN (6,8,9,11,14,18,21,25) ) AND `product`.`deletetime` IS NULL ORDER BY field(id,6,8,9,11,14,18,21,25) LIMIT 0,24 [0.000700s/0.04689s=1.49%]
20/39 . SELECT * FROM `product_sku_price` WHERE ( `product_id` IN (6,8,9,11,14,18,21,25) ) AND `product_sku_price`.`deletetime` IS NULL ORDER BY `weigh` ASC,`id` ASC [0.000595s/0.04689s=1.27%]
21/39 . UPDATE `cart` SET `deletetime`=1743731179 WHERE ( NOT EXISTS ( SELECT * FROM `product` WHERE ( product.id=cart.product_id ) ) AND `user_id` = 0 AND `session_id` = 'sdlbntlmu6nbt4d0pq2k0lak7q' AND `createtime` > 1743471979 ) AND `cart`.`deletetime` IS NULL [0.000579s/0.04689s=1.23%]
22/39 . SELECT * FROM `themes_lang` WHERE ( is_enable = 1 AND is_publish=1 AND deletetime IS NULL ) ORDER BY `is_default` DESC,`sort` DESC [0.000521s/0.04689s=1.11%]
23/39 . SELECT `id` FROM `themes_onepage_store` WHERE `mode` = 1 AND `status` = 1 LIMIT 1 [0.000489s/0.04689s=1.04%]
24/39 . SELECT COUNT(*) AS tp_count FROM `product` WHERE ( `status` = 'up' AND `deletetime` IS NULL AND `id` IN (6,8,9,11,14,18,21,25) ) AND `product`.`deletetime` IS NULL LIMIT 1 [0.000489s/0.04689s=1.04%]
25/39 . SELECT * FROM `discuss` WHERE ( `status` = 'show' AND `product_id` IN (6,8,9,11,14,18,21,25) ) AND `discuss`.`deletetime` IS NULL [0.000489s/0.04689s=1.04%]
26/39 . SELECT * FROM `payment` WHERE `status` = '1' ORDER BY `weigh` DESC,`id` ASC [0.000488s/0.04689s=1.04%]
27/39 . SELECT COUNT(*) AS tp_count FROM `app_center` WHERE `name` = 'access_control' AND `is_installed` = 1 LIMIT 1 [0.000474s/0.04689s=1.01%]
28/39 . SELECT * FROM `themes_menu_item` WHERE `themes_menu_item`.`deletetime` IS NULL [0.000458s/0.04689s=0.98%]
29/39 . SELECT * FROM `activity` WHERE ( ( 1743731179 > starttime && 1743731179 < endtime ) ) AND `activity`.`deletetime` IS NULL ORDER BY `starttime` ASC LIMIT 30 [0.000446s/0.04689s=0.95%]
30/39 . 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.000442s/0.04689s=0.94%]
31/39 . 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.000413s/0.04689s=0.88%]
32/39 . SELECT `value` FROM `config` WHERE `name` = 'lang_auto_detect' LIMIT 1 [0.000370s/0.04689s=0.79%]
33/39 . SELECT `value` FROM `config` WHERE `name` = 'customer_login_config' LIMIT 1 [0.000341s/0.04689s=0.73%]
34/39 . SELECT `value` FROM `config` WHERE ( name = 'multiCurrencySwitch' ) LIMIT 1 [0.000312s/0.04689s=0.67%]
35/39 . set session sql_mode='STRICT_TRANS_TABLES,ERROR_FOR_DIVISION_BY_ZERO,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION' [0.000299s/0.04689s=0.64%]
36/39 . SELECT `value` FROM `config` WHERE ( name = 'byIpSwitch' ) LIMIT 1 [0.000289s/0.04689s=0.62%]
37/39 . set time_zone = '+08:00' [0.000264s/0.04689s=0.56%]
39/39 . set session sql_mode='STRICT_TRANS_TABLES,ERROR_FOR_DIVISION_BY_ZERO,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION' [0.000223s/0.04689s=0.48%]
1/2. 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 [2 times, 0.000855s/0.04689s=1.82%]
2/2. set session sql_mode='STRICT_TRANS_TABLES,ERROR_FOR_DIVISION_BY_ZERO,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION' [2 times, 0.000522s/0.04689s=1.11%]