基本
文件
流程
慢流程
错误
SQL
慢sql
重复sql
调试
- 请求信息 : 2025-12-12 04:14:02 HTTP/1.1 GET : fuyifanyi001.test3.shoppaas.co/category/all
- 运行时间 : 0.319629s [ 吞吐率:3.13req/s ] 内存消耗:2,667.48kb 文件加载:269
- 查询信息 : [耗时:0.143906s/0.319629 45.02% ] 35 queries ,7 writes
- 缓存信息 : 13 reads,5 writes
- 配置加载 : 83
- 会话信息 : SESSION_ID=hvbic3o3uqdrk89jh976m4ddci
- [ BEHAVIOR ] Run Closure @app_init [ RunTime:0.000011s ]
- [ CACHE ] INIT app\common\library\cache\driver\Redis
- [ BEHAVIOR ] Run \addons\aws\Aws @app_init [ RunTime:0.000261s ]
- [ BEHAVIOR ] Run \addons\listener\Listener @app_init [ RunTime:0.000065s ]
- [ BEHAVIOR ] Run Closure @app_init [ RunTime:0.000078s ]
- [ BEHAVIOR ] Run app\common\behavior\Common @app_dispatch [ RunTime:0.000056s ]
- [ ROUTE ] array (
'type' => 'module',
'module' =>
array (
0 => 'index',
1 => 'product',
2 => 'lists',
),
'convert' => false,
)
- [ HEADER ] array (
'x-forwarded-proto' => 'https',
'x-forwarded-host' => 'fuyifanyi001.test3.shoppaas.co',
'x-forwarded-for' => '216.73.216.169',
'referer' => 'http://fuyifanyi001.test3.shoppaas.co/category/all',
'accept-encoding' => 'gzip, br, zstd, deflate',
'accept' => '*/*',
'user-agent' => 'Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)',
'host' => 'fuyifanyi001.test3.shoppaas.co',
'content-length' => '',
'content-type' => '',
)
- [ PARAM ] array (
'path' => 'all',
)
- [ LANG ] /wwwroot/public/../application/index/lang/en-us.php
- [ BEHAVIOR ] Run app\common\behavior\Common @module_init [ RunTime:0.004445s ]
- [ BEHAVIOR ] Run \addons\aws\Aws @module_init [ RunTime:0.000076s ]
- [ DB ] INIT mysql
- [ BEHAVIOR ] Run \addons\aws\Aws @upload_config_init [ RunTime:0.000045s ]
- [ BEHAVIOR ] Run \addons\nkeditor\Nkeditor @config_init [ RunTime:0.000112s ]
- [ SESSION ] INIT array (
'id' => '',
'var_session_id' => '',
'session_name' => 'shoppaas_1694137411127:',
'type' => 'redis',
'host' => 'master.redis-test8.evt7pw.use1.cache.amazonaws.com',
'port' => '6379',
'password' => '',
'select' => 6,
'auto_start' => true,
)
- [ RUN ] app\index\controller\Product->lists[ /wwwroot/application/index/controller/Product.php ]
- [ VIEW ] /wwwroot/template/brooklyn-playful/template/product_lists.html [ array (
0 => 'controller_name',
1 => 'action_name',
2 => 'lang_count',
3 => 'lang_array',
4 => 'theme_key',
5 => 'theme_id',
6 => 'theme_name',
7 => 'hook_rute',
8 => 'theme_arr',
9 => 'template_name',
10 => 'payment_icons',
11 => 'payment',
12 => 'theme',
13 => 'theme_diy_mode',
14 => 'theme_config',
15 => 'icon_image',
16 => 'head_code',
17 => 'end_code',
18 => 'controllername',
19 => 'actionname',
20 => 'user',
21 => 'language',
22 => 'lang',
23 => 'is_rtl_lang',
24 => 'site',
25 => 'config',
26 => 'currency_switch',
27 => 'currency_list',
28 => 'currency_site',
29 => 'currency',
30 => 'cart',
31 => 'subscribing',
32 => 'login',
33 => 'policies',
34 => 'is_mobile',
35 => 'not_show_login',
36 => 'customer_login_status',
37 => 'config_site_version',
38 => 'category',
39 => 'filters',
40 => 'price',
41 => 'oldprice',
42 => 'oldsku',
43 => 'oldsupplier',
44 => 'productList',
45 => 'appends',
46 => 'product_review',
47 => 'empty',
48 => 'view',
49 => 'order',
50 => 'limit',
51 => 'seotitle',
52 => 'seokeywords',
53 => 'seodescription',
54 => 'page_type',
) ]
- [ BEHAVIOR ] Run addons\pixel\Hook @pixels [ RunTime:0.011874s ]
- [ BEHAVIOR ] Run addons\facebookpixel\Hook @pixels [ RunTime:0.001915s ]
- [ BEHAVIOR ] Run addons\snapchatpixel\Hook @pixels [ RunTime:0.001758s ]
- [ BEHAVIOR ] Run addons\googlepixel\Hook @pixels [ RunTime:0.001756s ]
- [ BEHAVIOR ] Run addons\tiktokpixel\Hook @pixels [ RunTime:0.001667s ]
- [ BEHAVIOR ] Run addons\mediago\Hook @pixels [ RunTime:0.001669s ]
- [ BEHAVIOR ] Run addons\taboolapixel\Hook @pixels [ RunTime:0.001634s ]
- [ BEHAVIOR ] Run addons\klaviyopixel\Hook @pixels [ RunTime:0.001201s ]
- [ BEHAVIOR ] Run addons\featuredproduct\Hook @global_content_bottom [ RunTime:0.000981s ]
- [ BEHAVIOR ] Run addons\marketingnotify\Hook @global_footer [ RunTime:0.001711s ]
- [ BEHAVIOR ] Run addons\marketingcookie\Hook @global_footer [ RunTime:0.001727s ]
- [ BEHAVIOR ] Run addons\marketingpopup\Hook @global_footer [ RunTime:0.000996s ]
- 1/21 . [ BEHAVIOR ] Run addons\pixel\Hook @pixels [ RunTime:0.011874s ] [0.011874s/0.034038s=34.88%]
- 2/21 . [ BEHAVIOR ] Run app\common\behavior\Common @module_init [ RunTime:0.004445s ] [0.004445s/0.034038s=13.06%]
- 3/21 . [ BEHAVIOR ] Run addons\facebookpixel\Hook @pixels [ RunTime:0.001915s ] [0.001915s/0.034038s=5.63%]
- 4/21 . [ BEHAVIOR ] Run addons\snapchatpixel\Hook @pixels [ RunTime:0.001758s ] [0.001758s/0.034038s=5.16%]
- 5/21 . [ BEHAVIOR ] Run addons\googlepixel\Hook @pixels [ RunTime:0.001756s ] [0.001756s/0.034038s=5.16%]
- 6/21 . [ BEHAVIOR ] Run addons\marketingcookie\Hook @global_footer [ RunTime:0.001727s ] [0.001727s/0.034038s=5.07%]
- 7/21 . [ BEHAVIOR ] Run addons\marketingnotify\Hook @global_footer [ RunTime:0.001711s ] [0.001711s/0.034038s=5.03%]
- 8/21 . [ BEHAVIOR ] Run addons\mediago\Hook @pixels [ RunTime:0.001669s ] [0.001669s/0.034038s=4.90%]
- 9/21 . [ BEHAVIOR ] Run addons\tiktokpixel\Hook @pixels [ RunTime:0.001667s ] [0.001667s/0.034038s=4.90%]
- 10/21 . [ BEHAVIOR ] Run addons\taboolapixel\Hook @pixels [ RunTime:0.001634s ] [0.001634s/0.034038s=4.80%]
- 11/21 . [ BEHAVIOR ] Run addons\klaviyopixel\Hook @pixels [ RunTime:0.001201s ] [0.001201s/0.034038s=3.53%]
- 12/21 . [ BEHAVIOR ] Run addons\marketingpopup\Hook @global_footer [ RunTime:0.000996s ] [0.000996s/0.034038s=2.93%]
- 13/21 . [ BEHAVIOR ] Run addons\featuredproduct\Hook @global_content_bottom [ RunTime:0.000981s ] [0.000981s/0.034038s=2.88%]
- 14/21 . [ BEHAVIOR ] Run \addons\aws\Aws @app_init [ RunTime:0.000261s ] [0.000261s/0.034038s=0.77%]
- 15/21 . [ BEHAVIOR ] Run \addons\nkeditor\Nkeditor @config_init [ RunTime:0.000112s ] [0.000112s/0.034038s=0.33%]
- 16/21 . [ BEHAVIOR ] Run Closure @app_init [ RunTime:0.000078s ] [0.000078s/0.034038s=0.23%]
- 17/21 . [ BEHAVIOR ] Run \addons\aws\Aws @module_init [ RunTime:0.000076s ] [0.000076s/0.034038s=0.22%]
- 18/21 . [ BEHAVIOR ] Run \addons\listener\Listener @app_init [ RunTime:0.000065s ] [0.000065s/0.034038s=0.19%]
- 19/21 . [ BEHAVIOR ] Run app\common\behavior\Common @app_dispatch [ RunTime:0.000056s ] [0.000056s/0.034038s=0.16%]
- 20/21 . [ BEHAVIOR ] Run \addons\aws\Aws @upload_config_init [ RunTime:0.000045s ] [0.000045s/0.034038s=0.13%]
- 21/21 . [ BEHAVIOR ] Run Closure @app_init [ RunTime:0.000011s ] [0.000011s/0.034038s=0.03%]
- [ DB ] CONNECT:[ UseTime:0.004000s ] mysql:host=database-test2.cb81pdkxodkj.us-east-1.rds.amazonaws.com:3306;port=3306;dbname=shoppaas_1694137411127;charset=utf8mb4
- [ SQL ] SELECT COUNT(*) AS tp_count FROM `app_center` WHERE `name` = 'product_topic' AND `is_installed` = 1 LIMIT 1 [ RunTime:0.001529s ]
- [ SQL ] SELECT * FROM `payment` WHERE `status` = '1' ORDER BY `weigh` DESC,`id` ASC [ RunTime:0.001171s ]
- [ SQL ] SELECT `value` FROM `config` WHERE `name` = 'channel_google' LIMIT 1 [ RunTime:0.001152s ]
- [ SQL ] SELECT `value` FROM `config` WHERE `name` = 'lang_auto_detect' LIMIT 1 [ RunTime:0.001202s ]
- [ SQL ] set time_zone = '+08:00' [ RunTime:0.000903s ]
- [ SQL ] SELECT `value` FROM `config` WHERE ( name = 'multiCurrencySwitch' ) LIMIT 1 [ RunTime:0.001125s ]
- [ SQL ] SELECT `value` FROM `config` WHERE ( name = 'byIpSwitch' ) LIMIT 1 [ RunTime:0.001116s ]
- [ SQL ] UPDATE `cart` SET `deletetime`=1765484042 WHERE ( NOT EXISTS ( SELECT * FROM `product` WHERE ( product.id=cart.product_id ) ) AND `user_id` = 0 AND `session_id` = 'hvbic3o3uqdrk89jh976m4ddci' AND `createtime` > 1765224842 ) AND `cart`.`deletetime` IS NULL [ RunTime:0.001580s ]
- [ SQL ] SELECT @@session.sql_mode [ RunTime:0.001283s ]
- [ SQL ] set session sql_mode='STRICT_TRANS_TABLES,ERROR_FOR_DIVISION_BY_ZERO,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION' [ RunTime:0.000721s ]
- [ 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` = 'hvbic3o3uqdrk89jh976m4ddci' AND `store_id` = 0 ) AND `cart`.`deletetime` IS NULL GROUP BY `id` ORDER BY `createtime` DESC,`id` ASC [ RunTime:0.002331s ]
- [ SQL ] set session sql_mode='STRICT_TRANS_TABLES,ERROR_FOR_DIVISION_BY_ZERO,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION' [ RunTime:0.000716s ]
- [ SQL ] SELECT `value` FROM `config` WHERE `name` = 'customer_login_config' LIMIT 1 [ RunTime:0.001098s ]
- [ SQL ] SELECT COUNT(*) AS tp_count FROM `app_center` WHERE `name` = 'access_control' AND `is_installed` = 1 LIMIT 1 [ RunTime:0.002359s ]
- [ SQL ] SELECT * FROM `category` ORDER BY `weigh` DESC,`id` DESC [ RunTime:0.001120s ]
- [ SQL ] SELECT @@session.sql_mode [ RunTime:0.001214s ]
- [ SQL ] set session sql_mode='STRICT_TRANS_TABLES,ERROR_FOR_DIVISION_BY_ZERO,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION' [ RunTime:0.000716s ]
- [ 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 < 1765484042 and b.endtime > 1765484042 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) ) OR ( find_in_set(1, category_ids) ) ) ) AND `p`.`deletetime` IS NULL ORDER BY weigh desc, id desc [ RunTime:0.012922s ]
- [ SQL ] SELECT * FROM `currency` WHERE `code` = 'USD' LIMIT 1 [ RunTime:0.001292s ]
- [ 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 (3,1) group by binary(p.name), binary(p1.name); [ RunTime:0.018400s ]
- [ SQL ] SELECT @@session.sql_mode [ RunTime:0.002587s ]
- [ SQL ] set session sql_mode='STRICT_TRANS_TABLES,ERROR_FOR_DIVISION_BY_ZERO,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION' [ RunTime:0.001345s ]
- [ 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 < 1765484042 and b.endtime > 1765484042 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) ) OR ( find_in_set(1, category_ids) ) ) ) AND `p`.`deletetime` IS NULL LIMIT 1 [ RunTime:0.001390s ]
- [ 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 < 1765484042 and b.endtime > 1765484042 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) ) OR ( find_in_set(1, category_ids) ) ) ) AND `p`.`deletetime` IS NULL ORDER BY weigh desc,id desc LIMIT 0,12 [ RunTime:0.002262s ]
- [ SQL ] SELECT * FROM `discuss` WHERE ( `status` = 'show' AND `product_id` IN (3,1) ) AND `discuss`.`deletetime` IS NULL [ RunTime:0.011018s ]
- [ SQL ] SELECT * FROM `product_sku_price` WHERE ( `product_id` IN (3,1) ) AND `product_sku_price`.`deletetime` IS NULL ORDER BY `weigh` ASC,`id` ASC [ RunTime:0.011007s ]
- [ SQL ] SELECT * FROM `activity` WHERE ( ( 1765484042 > starttime && 1765484042 < endtime ) ) AND `activity`.`deletetime` IS NULL ORDER BY `starttime` ASC LIMIT 30 [ RunTime:0.001518s ]
- [ SQL ] SELECT * FROM `marketing_discount_gift_reduced` WHERE `marketing_discount_gift_reduced`.`deletetime` IS NULL [ RunTime:0.009770s ]
- [ SQL ] SELECT `name` FROM `product_supplier` WHERE `id` = 1 LIMIT 1 [ RunTime:0.007125s ]
- [ SQL ] set session sql_mode='STRICT_TRANS_TABLES,ERROR_FOR_DIVISION_BY_ZERO,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION' [ RunTime:0.002831s ]
- [ SQL ] SELECT `value` FROM `config` WHERE `name` = 'product_review' LIMIT 1 [ RunTime:0.004967s ]
- [ 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.001044s ]
- [ SQL ] SELECT `id` FROM `category` WHERE `path` = 'all' LIMIT 1 [ RunTime:0.002929s ]
- [ 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 = 1
and p.status = "up" and p.deletetime is null limit 40 [ RunTime:0.008595s ]
- [ SQL ] SELECT `value` FROM `config` WHERE `name` = 'klaviyo_config' LIMIT 1 [ RunTime:0.001034s ]
- [ SQL ] SELECT * FROM `themes_menu_item` WHERE `themes_menu_item`.`deletetime` IS NULL [ RunTime:0.000841s ]
- [ SQL ] SELECT * FROM `category` WHERE `pid` = 1 AND `status` = 'normal' ORDER BY `weigh` DESC,`id` ASC [ RunTime:0.003272s ]
- [ SQL ] SELECT * FROM `category` WHERE `status` = 'normal' AND `pid` IN (2) ORDER BY `weigh` DESC,`id` ASC [ RunTime:0.000955s ]
- [ SQL ] SELECT `imageheight`,`imagewidth` FROM `attachment` WHERE `url` = '/uploads/b16ef4100a49205f/2338473c81210b14cb6dda21589a782c.jpg' LIMIT 1 [ RunTime:0.008707s ]
- [ 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.000937s ]
- [ SQL ] SELECT `imageheight`,`imagewidth` FROM `attachment` WHERE `url` = '/uploads/b16ef4100a49205f/078c65fdd798c1242f2f73887b6d5d53.png' LIMIT 1 [ RunTime:0.000845s ]
- [ 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.000977s ]
- 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 (3,1) group by binary(p.name), binary(p1.name); [0.018400s/0.143906s=12.79%]
- 2/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 < 1765484042 and b.endtime > 1765484042 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) ) OR ( find_in_set(1, category_ids) ) ) ) AND `p`.`deletetime` IS NULL ORDER BY weigh desc, id desc [0.012922s/0.143906s=8.98%]
- 3/43 . SELECT * FROM `discuss` WHERE ( `status` = 'show' AND `product_id` IN (3,1) ) AND `discuss`.`deletetime` IS NULL [0.011018s/0.143906s=7.66%]
- 4/43 . SELECT * FROM `product_sku_price` WHERE ( `product_id` IN (3,1) ) AND `product_sku_price`.`deletetime` IS NULL ORDER BY `weigh` ASC,`id` ASC [0.011007s/0.143906s=7.65%]
- 5/43 . SELECT * FROM `marketing_discount_gift_reduced` WHERE `marketing_discount_gift_reduced`.`deletetime` IS NULL [0.009770s/0.143906s=6.79%]
- 6/43 . SELECT `imageheight`,`imagewidth` FROM `attachment` WHERE `url` = '/uploads/b16ef4100a49205f/2338473c81210b14cb6dda21589a782c.jpg' LIMIT 1 [0.008707s/0.143906s=6.05%]
- 7/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 = 1
and p.status = "up" and p.deletetime is null limit 40 [0.008595s/0.143906s=5.97%]
- 8/43 . SELECT `name` FROM `product_supplier` WHERE `id` = 1 LIMIT 1 [0.007125s/0.143906s=4.95%]
- 9/43 . SELECT `value` FROM `config` WHERE `name` = 'product_review' LIMIT 1 [0.004967s/0.143906s=3.45%]
- 10/43 . CONNECT:[ UseTime:0.004000s ] mysql:host=database-test2.cb81pdkxodkj.us-east-1.rds.amazonaws.com:3306;port=3306;dbname=shoppaas_1694137411127;charset=utf8mb4 [0.004000s/0.143906s=2.78%]
- 11/43 . SELECT * FROM `category` WHERE `pid` = 1 AND `status` = 'normal' ORDER BY `weigh` DESC,`id` ASC [0.003272s/0.143906s=2.27%]
- 12/43 . SELECT `id` FROM `category` WHERE `path` = 'all' LIMIT 1 [0.002929s/0.143906s=2.04%]
- 13/43 . set session sql_mode='STRICT_TRANS_TABLES,ERROR_FOR_DIVISION_BY_ZERO,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION' [0.002831s/0.143906s=1.97%]
- 14/43 . SELECT @@session.sql_mode [0.002587s/0.143906s=1.80%]
- 15/43 . SELECT COUNT(*) AS tp_count FROM `app_center` WHERE `name` = 'access_control' AND `is_installed` = 1 LIMIT 1 [0.002359s/0.143906s=1.64%]
- 16/43 . 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` = 'hvbic3o3uqdrk89jh976m4ddci' AND `store_id` = 0 ) AND `cart`.`deletetime` IS NULL GROUP BY `id` ORDER BY `createtime` DESC,`id` ASC [0.002331s/0.143906s=1.62%]
- 17/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 < 1765484042 and b.endtime > 1765484042 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) ) OR ( find_in_set(1, category_ids) ) ) ) AND `p`.`deletetime` IS NULL ORDER BY weigh desc,id desc LIMIT 0,12 [0.002262s/0.143906s=1.57%]
- 18/43 . UPDATE `cart` SET `deletetime`=1765484042 WHERE ( NOT EXISTS ( SELECT * FROM `product` WHERE ( product.id=cart.product_id ) ) AND `user_id` = 0 AND `session_id` = 'hvbic3o3uqdrk89jh976m4ddci' AND `createtime` > 1765224842 ) AND `cart`.`deletetime` IS NULL [0.001580s/0.143906s=1.10%]
- 19/43 . SELECT COUNT(*) AS tp_count FROM `app_center` WHERE `name` = 'product_topic' AND `is_installed` = 1 LIMIT 1 [0.001529s/0.143906s=1.06%]
- 20/43 . SELECT * FROM `activity` WHERE ( ( 1765484042 > starttime && 1765484042 < endtime ) ) AND `activity`.`deletetime` IS NULL ORDER BY `starttime` ASC LIMIT 30 [0.001518s/0.143906s=1.05%]
- 21/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 < 1765484042 and b.endtime > 1765484042 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) ) OR ( find_in_set(1, category_ids) ) ) ) AND `p`.`deletetime` IS NULL LIMIT 1 [0.001390s/0.143906s=0.97%]
- 22/43 . set session sql_mode='STRICT_TRANS_TABLES,ERROR_FOR_DIVISION_BY_ZERO,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION' [0.001345s/0.143906s=0.93%]
- 23/43 . SELECT * FROM `currency` WHERE `code` = 'USD' LIMIT 1 [0.001292s/0.143906s=0.90%]
- 24/43 . SELECT @@session.sql_mode [0.001283s/0.143906s=0.89%]
- 25/43 . SELECT @@session.sql_mode [0.001214s/0.143906s=0.84%]
- 26/43 . SELECT `value` FROM `config` WHERE `name` = 'lang_auto_detect' LIMIT 1 [0.001202s/0.143906s=0.84%]
- 27/43 . SELECT * FROM `payment` WHERE `status` = '1' ORDER BY `weigh` DESC,`id` ASC [0.001171s/0.143906s=0.81%]
- 28/43 . SELECT `value` FROM `config` WHERE `name` = 'channel_google' LIMIT 1 [0.001152s/0.143906s=0.80%]
- 29/43 . SELECT `value` FROM `config` WHERE ( name = 'multiCurrencySwitch' ) LIMIT 1 [0.001125s/0.143906s=0.78%]
- 30/43 . SELECT * FROM `category` ORDER BY `weigh` DESC,`id` DESC [0.001120s/0.143906s=0.78%]
- 31/43 . SELECT `value` FROM `config` WHERE ( name = 'byIpSwitch' ) LIMIT 1 [0.001116s/0.143906s=0.78%]
- 32/43 . SELECT `value` FROM `config` WHERE `name` = 'customer_login_config' LIMIT 1 [0.001098s/0.143906s=0.76%]
- 33/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.001044s/0.143906s=0.73%]
- 34/43 . SELECT `value` FROM `config` WHERE `name` = 'klaviyo_config' LIMIT 1 [0.001034s/0.143906s=0.72%]
- 35/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.000977s/0.143906s=0.68%]
- 36/43 . SELECT * FROM `category` WHERE `status` = 'normal' AND `pid` IN (2) ORDER BY `weigh` DESC,`id` ASC [0.000955s/0.143906s=0.66%]
- 37/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.000937s/0.143906s=0.65%]
- 38/43 . set time_zone = '+08:00' [0.000903s/0.143906s=0.63%]
- 39/43 . SELECT `imageheight`,`imagewidth` FROM `attachment` WHERE `url` = '/uploads/b16ef4100a49205f/078c65fdd798c1242f2f73887b6d5d53.png' LIMIT 1 [0.000845s/0.143906s=0.59%]
- 40/43 . SELECT * FROM `themes_menu_item` WHERE `themes_menu_item`.`deletetime` IS NULL [0.000841s/0.143906s=0.58%]
- 41/43 . set session sql_mode='STRICT_TRANS_TABLES,ERROR_FOR_DIVISION_BY_ZERO,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION' [0.000721s/0.143906s=0.50%]
- 42/43 . set session sql_mode='STRICT_TRANS_TABLES,ERROR_FOR_DIVISION_BY_ZERO,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION' [0.000716s/0.143906s=0.50%]
- 43/43 . set session sql_mode='STRICT_TRANS_TABLES,ERROR_FOR_DIVISION_BY_ZERO,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION' [0.000716s/0.143906s=0.50%]
- 1/3. set session sql_mode='STRICT_TRANS_TABLES,ERROR_FOR_DIVISION_BY_ZERO,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION' [5 times, 0.006329s/0.143906s=4.40%]
- 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.002958s/0.143906s=2.06%]
- 3/3. SELECT @@session.sql_mode [3 times, 0.005084s/0.143906s=3.53%]