[ DB ] CONNECT:[ UseTime:0.003292s ] mysql:host=test.cqdeqicu2sp5.us-east-1.rds.amazonaws.com:3306;port=3306;dbname=shoppaas_1697783590162;charset=utf8mb4
[ SQL ] SELECT COUNT(*) AS tp_count FROM `app_center` WHERE `name` = 'access_control' AND `is_installed` = 1 LIMIT 1 [ RunTime:0.001663s ]
[ SQL ] SELECT `area_id` FROM `access_control_blacklist` [ RunTime:0.001078s ]
[ SQL ] SELECT COUNT(*) AS tp_count FROM `access_control_iplist` WHERE `type` = '2' AND `ip` = '216.73.216.183' LIMIT 1 [ RunTime:0.001172s ]
[ SQL ] SELECT `ip` FROM `access_control_iplist` WHERE `type` = '1' [ RunTime:0.000869s ]
[ SQL ] SELECT `code` FROM `area` WHERE `id` IN ('') [ RunTime:0.000820s ]
[ 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.001351s ]
[ SQL ] SELECT * FROM `payment` WHERE `status` = '1' ORDER BY `weigh` DESC,`id` ASC [ RunTime:0.001802s ]
[ SQL ] SELECT `value` FROM `config` WHERE `name` = 'channel_google' LIMIT 1 [ RunTime:0.001303s ]
[ SQL ] SELECT `value` FROM `config` WHERE `name` = 'lang_auto_detect' LIMIT 1 [ RunTime:0.001298s ]
[ SQL ] set time_zone = '+08:00' [ RunTime:0.001164s ]
[ SQL ] SELECT `value` FROM `config` WHERE ( name = 'multiCurrencySwitch' ) LIMIT 1 [ RunTime:0.000932s ]
[ SQL ] SELECT `value` FROM `config` WHERE ( name = 'byIpSwitch' ) LIMIT 1 [ RunTime:0.000970s ]
[ SQL ] SELECT `value` FROM `config` WHERE `name` = 'customer_login_config' LIMIT 1 [ RunTime:0.001301s ]
[ SQL ] SELECT * FROM `activity` WHERE ( `id` = 1 ) AND `activity`.`deletetime` IS NULL LIMIT 1 [ RunTime:0.001385s ]
[ SQL ] set session sql_mode='STRICT_TRANS_TABLES,ERROR_FOR_DIVISION_BY_ZERO,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION' [ RunTime:0.001128s ]
[ 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 < 1786217478 and b.endtime > 1786217478 WHERE `a`.`deletetime` IS NULL ) `t` group by `t`.`product_id`) `y` ON `y`.`product_id`=`p`.`id` WHERE ( `p`.`status` IN ('up') AND `id` IN (2) AND ( ( find_in_set(6, category_ids) ) OR ( find_in_set(5, category_ids) ) OR ( 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.001522s ]
[ 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 < 1786217478 and b.endtime > 1786217478 WHERE `a`.`deletetime` IS NULL ) `t` group by `t`.`product_id`) `y` ON `y`.`product_id`=`p`.`id` WHERE ( `p`.`status` IN ('up') AND `id` IN (2) AND ( ( find_in_set(6, category_ids) ) OR ( find_in_set(5, category_ids) ) OR ( 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 0,12 [ RunTime:0.001528s ]
[ SQL ] SELECT * FROM `discuss` WHERE ( `status` = 'show' AND `product_id` IN (2) ) AND `discuss`.`deletetime` IS NULL [ RunTime:0.001132s ]
[ 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.001232s ]
[ SQL ] SELECT * FROM `activity` WHERE ( ( 1786217478 > starttime && 1786217478 < endtime ) ) AND `activity`.`deletetime` IS NULL ORDER BY `starttime` ASC LIMIT 30 [ RunTime:0.001072s ]
[ SQL ] SELECT * FROM `activity_product_sku_price` WHERE ( `status` = 'up' AND `activity_id` IN (1) ) AND `activity_product_sku_price`.`deletetime` IS NULL [ RunTime:0.000858s ]
[ SQL ] SELECT `name` FROM `product_supplier` WHERE `id` = 1 LIMIT 1 [ RunTime:0.000900s ]
[ SQL ] set session sql_mode='STRICT_TRANS_TABLES,ERROR_FOR_DIVISION_BY_ZERO,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION' [ RunTime:0.000759s ]
[ 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.000970s ]
[ SQL ] SELECT `value` FROM `config` WHERE `name` = 'klaviyo_config' LIMIT 1 [ RunTime:0.001143s ]
[ SQL ] SELECT COUNT(*) AS tp_count FROM `app_center` WHERE `name` = 'salesmartly' AND `is_installed` = 1 LIMIT 1 [ RunTime:0.001061s ]
[ SQL ] SELECT * FROM `themes_menu_item` WHERE `themes_menu_item`.`deletetime` IS NULL [ RunTime:0.000905s ]
[ 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.001079s ]
[ 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.001286s ]
2/31 . SELECT * FROM `payment` WHERE `status` = '1' ORDER BY `weigh` DESC,`id` ASC [0.001802s/0.037881s=4.76%]
3/31 . SELECT COUNT(*) AS tp_count FROM `app_center` WHERE `name` = 'access_control' AND `is_installed` = 1 LIMIT 1 [0.001663s/0.037881s=4.39%]
4/31 . 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 < 1786217478 and b.endtime > 1786217478 WHERE `a`.`deletetime` IS NULL ) `t` group by `t`.`product_id`) `y` ON `y`.`product_id`=`p`.`id` WHERE ( `p`.`status` IN ('up') AND `id` IN (2) AND ( ( find_in_set(6, category_ids) ) OR ( find_in_set(5, category_ids) ) OR ( 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 0,12 [0.001528s/0.037881s=4.03%]
5/31 . 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 < 1786217478 and b.endtime > 1786217478 WHERE `a`.`deletetime` IS NULL ) `t` group by `t`.`product_id`) `y` ON `y`.`product_id`=`p`.`id` WHERE ( `p`.`status` IN ('up') AND `id` IN (2) AND ( ( find_in_set(6, category_ids) ) OR ( find_in_set(5, category_ids) ) OR ( 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.001522s/0.037881s=4.02%]
6/31 . SELECT * FROM `activity` WHERE ( `id` = 1 ) AND `activity`.`deletetime` IS NULL LIMIT 1 [0.001385s/0.037881s=3.66%]
7/31 . SELECT * FROM `themes_lang` WHERE ( is_enable = 1 AND is_publish=1 AND deletetime IS NULL ) ORDER BY `is_default` DESC,`sort` DESC [0.001351s/0.037881s=3.57%]
8/31 . SELECT `value` FROM `config` WHERE `name` = 'channel_google' LIMIT 1 [0.001303s/0.037881s=3.44%]
9/31 . SELECT `value` FROM `config` WHERE `name` = 'customer_login_config' LIMIT 1 [0.001301s/0.037881s=3.43%]
10/31 . SELECT `value` FROM `config` WHERE `name` = 'lang_auto_detect' LIMIT 1 [0.001298s/0.037881s=3.43%]
11/31 . 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.001286s/0.037881s=3.39%]
12/31 . SELECT * FROM `product_sku_price` WHERE ( `product_id` IN (2) ) AND `product_sku_price`.`deletetime` IS NULL ORDER BY `weigh` ASC,`id` ASC [0.001232s/0.037881s=3.25%]
13/31 . SELECT COUNT(*) AS tp_count FROM `access_control_iplist` WHERE `type` = '2' AND `ip` = '216.73.216.183' LIMIT 1 [0.001172s/0.037881s=3.09%]
14/31 . set time_zone = '+08:00' [0.001164s/0.037881s=3.07%]
15/31 . SELECT `value` FROM `config` WHERE `name` = 'klaviyo_config' LIMIT 1 [0.001143s/0.037881s=3.02%]
16/31 . SELECT * FROM `discuss` WHERE ( `status` = 'show' AND `product_id` IN (2) ) AND `discuss`.`deletetime` IS NULL [0.001132s/0.037881s=2.99%]
17/31 . set session sql_mode='STRICT_TRANS_TABLES,ERROR_FOR_DIVISION_BY_ZERO,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION' [0.001128s/0.037881s=2.98%]
18/31 . 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.001079s/0.037881s=2.85%]
19/31 . SELECT `area_id` FROM `access_control_blacklist` [0.001078s/0.037881s=2.85%]
20/31 . SELECT * FROM `activity` WHERE ( ( 1786217478 > starttime && 1786217478 < endtime ) ) AND `activity`.`deletetime` IS NULL ORDER BY `starttime` ASC LIMIT 30 [0.001072s/0.037881s=2.83%]
21/31 . SELECT COUNT(*) AS tp_count FROM `app_center` WHERE `name` = 'salesmartly' AND `is_installed` = 1 LIMIT 1 [0.001061s/0.037881s=2.80%]
22/31 . SELECT `value` FROM `config` WHERE ( name = 'byIpSwitch' ) LIMIT 1 [0.000970s/0.037881s=2.56%]
23/31 . 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.000970s/0.037881s=2.56%]
24/31 . SELECT `value` FROM `config` WHERE ( name = 'multiCurrencySwitch' ) LIMIT 1 [0.000932s/0.037881s=2.46%]
26/31 . SELECT * FROM `themes_menu_item` WHERE `themes_menu_item`.`deletetime` IS NULL [0.000905s/0.037881s=2.39%]
27/31 . SELECT `name` FROM `product_supplier` WHERE `id` = 1 LIMIT 1 [0.000900s/0.037881s=2.38%]
28/31 . SELECT `ip` FROM `access_control_iplist` WHERE `type` = '1' [0.000869s/0.037881s=2.29%]
29/31 . SELECT * FROM `activity_product_sku_price` WHERE ( `status` = 'up' AND `activity_id` IN (1) ) AND `activity_product_sku_price`.`deletetime` IS NULL [0.000858s/0.037881s=2.26%]
30/31 . SELECT `code` FROM `area` WHERE `id` IN ('') [0.000820s/0.037881s=2.16%]
31/31 . set session sql_mode='STRICT_TRANS_TABLES,ERROR_FOR_DIVISION_BY_ZERO,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION' [0.000759s/0.037881s=2.00%]
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 [3 times, 0.003335s/0.037881s=8.80%]
2/2. set session sql_mode='STRICT_TRANS_TABLES,ERROR_FOR_DIVISION_BY_ZERO,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION' [2 times, 0.001887s/0.037881s=4.98%]