基本
文件
流程
慢流程
错误
SQL
慢sql
重复sql
调试
- 请求信息 : 2025-12-06 20:14:17 HTTP/1.1 GET : zxcdn02.saascdn.co/category/Food%20and%20Beverage
- 运行时间 : 0.529710s [ 吞吐率:1.89req/s ] 内存消耗:3,196.71kb 文件加载:339
- 查询信息 : [耗时:0.108432s/0.529710 20.47% ] 64 queries ,7 writes
- 缓存信息 : 21 reads,1 writes
- 配置加载 : 83
- 会话信息 : SESSION_ID=obph536262u1q3c9v05a26ntls
- [ BEHAVIOR ] Run Closure @app_init [ RunTime:0.000016s ]
- [ CACHE ] INIT app\common\library\cache\driver\Redis
- [ BEHAVIOR ] Run \addons\aws\Aws @app_init [ RunTime:0.000374s ]
- [ BEHAVIOR ] Run \addons\listener\Listener @app_init [ RunTime:0.000067s ]
- [ BEHAVIOR ] Run Closure @app_init [ RunTime:0.000080s ]
- [ BEHAVIOR ] Run app\common\behavior\Common @app_dispatch [ RunTime:0.000096s ]
- [ ROUTE ] array (
'type' => 'module',
'module' =>
array (
0 => 'index',
1 => 'product',
2 => 'lists',
),
'convert' => false,
)
- [ HEADER ] array (
'x-forwarded-proto' => 'https',
'x-forwarded-host' => 'zxcdn02.saascdn.co',
'x-forwarded-for' => '216.73.216.159',
'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' => 'zxcdn02.saascdn.co',
'content-length' => '',
'content-type' => '',
)
- [ PARAM ] array (
'path' => 'Food and Beverage',
)
- [ LANG ] /wwwroot/public/../application/index/lang/en-us.php
- [ BEHAVIOR ] Run app\common\behavior\Common @module_init [ RunTime:0.006017s ]
- [ BEHAVIOR ] Run \addons\aws\Aws @module_init [ RunTime:0.000033s ]
- [ DB ] INIT mysql
- [ BEHAVIOR ] Run \addons\aws\Aws @upload_config_init [ RunTime:0.000031s ]
- [ BEHAVIOR ] Run \addons\nkeditor\Nkeditor @config_init [ RunTime:0.000097s ]
- [ SESSION ] INIT array (
'id' => '',
'var_session_id' => '',
'session_name' => 'shoppaas_1722842121525:',
'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/arise/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.013075s ]
- [ VIEW ] /wwwroot/addons/facebookpixel/view/global_footer.html [ array (
0 => 'facebook_pixel_id',
1 => 'facebook_pixel_pii',
2 => 'facebook_pixel_event_params',
) ]
- [ BEHAVIOR ] Run addons\facebookpixel\Hook @pixels [ RunTime:0.095648s ]
- [ VIEW ] /wwwroot/addons/snapchatpixel/view/snapchat_pixel.html [ array (
0 => 'snapchat_pixel_id',
) ]
- [ BEHAVIOR ] Run addons\snapchatpixel\Hook @pixels [ RunTime:0.004402s ]
- [ VIEW ] /wwwroot/addons/googlepixel/view/google_pixel.html [ array (
0 => 'first_pixel_id',
1 => 'google_pixel_ids',
2 => 'googleAds',
) ]
- [ BEHAVIOR ] Run addons\googlepixel\Hook @pixels [ RunTime:0.004123s ]
- [ VIEW ] /wwwroot/addons/tiktokpixel/view/tiktok_pixel.html [ array (
0 => 'tiktok_pixel_id',
) ]
- [ BEHAVIOR ] Run addons\tiktokpixel\Hook @pixels [ RunTime:0.002920s ]
- [ BEHAVIOR ] Run addons\mediago\Hook @pixels [ RunTime:0.001724s ]
- [ BEHAVIOR ] Run addons\taboolapixel\Hook @pixels [ RunTime:0.001661s ]
- [ BEHAVIOR ] Run addons\klaviyopixel\Hook @pixels [ RunTime:0.001461s ]
- [ VIEW ] /wwwroot/template/arise/../arise/template/product_featured.html [ array (
0 => 'empty',
1 => 'section_id',
2 => 'section_title',
3 => 'section_limit_num',
4 => 'productList',
5 => 'template_data',
6 => 'theme_config',
7 => 'currency',
8 => 'page_type',
9 => 'theme_key',
10 => 'theme_id',
11 => 'config_sell_color_scheme_class',
12 => 'config_sell_out_color_scheme_class',
) ]
- [ BEHAVIOR ] Run addons\featuredproduct\Hook @global_content_bottom [ RunTime:0.158356s ]
- [ VIEW ] /wwwroot/addons/marketingnotify/view/global_footer.html [ array (
0 => 'data',
1 => 'is_mobile',
2 => 'theme_key',
3 => 'theme_id',
) ]
- [ BEHAVIOR ] Run addons\marketingnotify\Hook @global_footer [ RunTime:0.037405s ]
- [ BEHAVIOR ] Run addons\marketingcookie\Hook @global_footer [ RunTime:0.001697s ]
- [ BEHAVIOR ] Run addons\marketingpopup\Hook @global_footer [ RunTime:0.000924s ]
- 1/21 . [ BEHAVIOR ] Run addons\featuredproduct\Hook @global_content_bottom [ RunTime:0.158356s ] [0.158356s/0.330207s=47.96%]
- 2/21 . [ BEHAVIOR ] Run addons\facebookpixel\Hook @pixels [ RunTime:0.095648s ] [0.095648s/0.330207s=28.97%]
- 3/21 . [ BEHAVIOR ] Run addons\marketingnotify\Hook @global_footer [ RunTime:0.037405s ] [0.037405s/0.330207s=11.33%]
- 4/21 . [ BEHAVIOR ] Run addons\pixel\Hook @pixels [ RunTime:0.013075s ] [0.013075s/0.330207s=3.96%]
- 5/21 . [ BEHAVIOR ] Run app\common\behavior\Common @module_init [ RunTime:0.006017s ] [0.006017s/0.330207s=1.82%]
- 6/21 . [ BEHAVIOR ] Run addons\snapchatpixel\Hook @pixels [ RunTime:0.004402s ] [0.004402s/0.330207s=1.33%]
- 7/21 . [ BEHAVIOR ] Run addons\googlepixel\Hook @pixels [ RunTime:0.004123s ] [0.004123s/0.330207s=1.25%]
- 8/21 . [ BEHAVIOR ] Run addons\tiktokpixel\Hook @pixels [ RunTime:0.002920s ] [0.002920s/0.330207s=0.88%]
- 9/21 . [ BEHAVIOR ] Run addons\mediago\Hook @pixels [ RunTime:0.001724s ] [0.001724s/0.330207s=0.52%]
- 10/21 . [ BEHAVIOR ] Run addons\marketingcookie\Hook @global_footer [ RunTime:0.001697s ] [0.001697s/0.330207s=0.51%]
- 11/21 . [ BEHAVIOR ] Run addons\taboolapixel\Hook @pixels [ RunTime:0.001661s ] [0.001661s/0.330207s=0.50%]
- 12/21 . [ BEHAVIOR ] Run addons\klaviyopixel\Hook @pixels [ RunTime:0.001461s ] [0.001461s/0.330207s=0.44%]
- 13/21 . [ BEHAVIOR ] Run addons\marketingpopup\Hook @global_footer [ RunTime:0.000924s ] [0.000924s/0.330207s=0.28%]
- 14/21 . [ BEHAVIOR ] Run \addons\aws\Aws @app_init [ RunTime:0.000374s ] [0.000374s/0.330207s=0.11%]
- 15/21 . [ BEHAVIOR ] Run \addons\nkeditor\Nkeditor @config_init [ RunTime:0.000097s ] [0.000097s/0.330207s=0.03%]
- 16/21 . [ BEHAVIOR ] Run app\common\behavior\Common @app_dispatch [ RunTime:0.000096s ] [0.000096s/0.330207s=0.03%]
- 17/21 . [ BEHAVIOR ] Run Closure @app_init [ RunTime:0.000080s ] [0.000080s/0.330207s=0.02%]
- 18/21 . [ BEHAVIOR ] Run \addons\listener\Listener @app_init [ RunTime:0.000067s ] [0.000067s/0.330207s=0.02%]
- 19/21 . [ BEHAVIOR ] Run \addons\aws\Aws @module_init [ RunTime:0.000033s ] [0.000033s/0.330207s=0.01%]
- 20/21 . [ BEHAVIOR ] Run \addons\aws\Aws @upload_config_init [ RunTime:0.000031s ] [0.000031s/0.330207s=0.01%]
- 21/21 . [ BEHAVIOR ] Run Closure @app_init [ RunTime:0.000016s ] [0.000016s/0.330207s=0.00%]
- [ DB ] CONNECT:[ UseTime:0.003198s ] mysql:host=database-test2.cb81pdkxodkj.us-east-1.rds.amazonaws.com:3306;port=3306;dbname=shoppaas_1722842121525;charset=utf8mb4
- [ SQL ] SELECT COUNT(*) AS tp_count FROM `app_center` WHERE `name` = 'product_topic' AND `is_installed` = 1 LIMIT 1 [ RunTime:0.001112s ]
- [ SQL ] SELECT * FROM `payment` WHERE `status` = '1' ORDER BY `weigh` DESC,`id` ASC [ RunTime:0.001224s ]
- [ SQL ] SELECT `value` FROM `config` WHERE `name` = 'channel_google' LIMIT 1 [ RunTime:0.001631s ]
- [ SQL ] SELECT `value` FROM `config` WHERE `name` = 'lang_auto_detect' LIMIT 1 [ RunTime:0.002260s ]
- [ SQL ] set time_zone = '+08:00' [ RunTime:0.001037s ]
- [ SQL ] SELECT `value` FROM `config` WHERE ( name = 'multiCurrencySwitch' ) LIMIT 1 [ RunTime:0.000733s ]
- [ SQL ] SELECT `value` FROM `config` WHERE ( name = 'byIpSwitch' ) LIMIT 1 [ RunTime:0.001510s ]
- [ SQL ] UPDATE `cart` SET `deletetime`=1765023257 WHERE ( NOT EXISTS ( SELECT * FROM `product` WHERE ( product.id=cart.product_id ) ) AND `user_id` = 0 AND `session_id` = 'obph536262u1q3c9v05a26ntls' AND `createtime` > 1764764057 ) AND `cart`.`deletetime` IS NULL [ RunTime:0.001696s ]
- [ SQL ] SELECT @@session.sql_mode [ RunTime:0.000676s ]
- [ SQL ] set session sql_mode='STRICT_TRANS_TABLES,ERROR_FOR_DIVISION_BY_ZERO,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION' [ RunTime:0.000827s ]
- [ 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` = 'obph536262u1q3c9v05a26ntls' AND `store_id` = 0 ) AND `cart`.`deletetime` IS NULL GROUP BY `id` ORDER BY `createtime` DESC,`id` ASC [ RunTime:0.001584s ]
- [ SQL ] set session sql_mode='STRICT_TRANS_TABLES,ERROR_FOR_DIVISION_BY_ZERO,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION' [ RunTime:0.000697s ]
- [ SQL ] SELECT `value` FROM `config` WHERE `name` = 'customer_login_config' LIMIT 1 [ RunTime:0.000854s ]
- [ SQL ] SELECT COUNT(*) AS tp_count FROM `app_center` WHERE `name` = 'access_control' AND `is_installed` = 1 LIMIT 1 [ RunTime:0.002409s ]
- [ SQL ] SELECT @@session.sql_mode [ RunTime:0.001121s ]
- [ SQL ] set session sql_mode='STRICT_TRANS_TABLES,ERROR_FOR_DIVISION_BY_ZERO,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION' [ RunTime:0.000928s ]
- [ 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 < 1765023257 and b.endtime > 1765023257 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(14, category_ids) ) ) ) AND `p`.`deletetime` IS NULL ORDER BY weigh desc, id desc [ RunTime:0.002631s ]
- [ 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 (183) group by binary(p.name), binary(p1.name); [ RunTime:0.001304s ]
- [ SQL ] SELECT @@session.sql_mode [ RunTime:0.000886s ]
- [ SQL ] set session sql_mode='STRICT_TRANS_TABLES,ERROR_FOR_DIVISION_BY_ZERO,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION' [ RunTime:0.000742s ]
- [ SQL ] SELECT COUNT(*) AS tp_count FROM `product` `p` LEFT JOIN `product_category_relation` ON `product_category_relation`.`product_id`=p.id and product_category_relation.category_id=14 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 < 1765023257 and b.endtime > 1765023257 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(14, category_ids) ) ) ) AND `p`.`deletetime` IS NULL LIMIT 1 [ RunTime:0.001402s ]
- [ 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 `product_category_relation` ON `product_category_relation`.`product_id`=p.id and product_category_relation.category_id=14 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 < 1765023257 and b.endtime > 1765023257 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(14, category_ids) ) ) ) AND `p`.`deletetime` IS NULL ORDER BY sort_for_category desc,product_category_relation.id asc LIMIT 0,12 [ RunTime:0.003407s ]
- [ SQL ] SELECT * FROM `discuss` WHERE ( `status` = 'show' AND `product_id` IN (183) ) AND `discuss`.`deletetime` IS NULL [ RunTime:0.000912s ]
- [ SQL ] SELECT * FROM `product_sku_price` WHERE ( `product_id` IN (183) ) AND `product_sku_price`.`deletetime` IS NULL ORDER BY `weigh` ASC,`id` ASC [ RunTime:0.000926s ]
- [ SQL ] SELECT * FROM `activity` WHERE ( ( 1765023257 > starttime && 1765023257 < endtime ) ) AND `activity`.`deletetime` IS NULL ORDER BY `starttime` ASC LIMIT 30 [ RunTime:0.001518s ]
- [ SQL ] SELECT * FROM `activity_product_sku_price` WHERE ( `status` = 'up' AND `activity_id` IN (19) ) AND `activity_product_sku_price`.`deletetime` IS NULL [ RunTime:0.001168s ]
- [ SQL ] set session sql_mode='STRICT_TRANS_TABLES,ERROR_FOR_DIVISION_BY_ZERO,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION' [ RunTime:0.001147s ]
- [ SQL ] SELECT `value` FROM `config` WHERE `name` = 'product_review' LIMIT 1 [ RunTime:0.001320s ]
- [ SQL ] SELECT `id` FROM `category` WHERE `path` = 'Food and Beverage' LIMIT 1 [ RunTime:0.001875s ]
- [ 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 = 14
and p.status = "up" and p.deletetime is null limit 40 [ RunTime:0.003095s ]
- [ SQL ] SELECT `value` FROM `config` WHERE `name` = 'klaviyo_config' LIMIT 1 [ RunTime:0.001134s ]
- [ SQL ] SELECT * FROM `themes_menu_item` WHERE `themes_menu_item`.`deletetime` IS NULL [ RunTime:0.001455s ]
- [ 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.001181s ]
- [ 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.001213s ]
- [ SQL ] SELECT * FROM `custom_activity_relation` WHERE `product_id` = 183 LIMIT 1 [ RunTime:0.003630s ]
- [ SQL ] SELECT `id` FROM `custom_activity` WHERE `id` = 139 AND `status` = '1' LIMIT 1 [ RunTime:0.001478s ]
- [ 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.001309s ]
- [ SQL ] SELECT COUNT(*) AS tp_count FROM `product` WHERE ( `status` = 'up' AND `deletetime` IS NULL AND `id` IN (19,12,81,73,55,48,66,80,94,92) ) AND `product`.`deletetime` IS NULL LIMIT 1 [ RunTime:0.001471s ]
- [ SQL ] SELECT * FROM `product` WHERE ( `status` = 'up' AND `deletetime` IS NULL AND `id` IN (19,12,81,73,55,48,66,80,94,92) ) AND `product`.`deletetime` IS NULL ORDER BY field(id,19,12,81,73,55,48,66,80,94,92) LIMIT 0,15 [ RunTime:0.002102s ]
- [ SQL ] SELECT * FROM `discuss` WHERE ( `status` = 'show' AND `product_id` IN (19,12,81,73,55,48,66,80,94,92) ) AND `discuss`.`deletetime` IS NULL [ RunTime:0.002032s ]
- [ SQL ] SELECT * FROM `product_sku_price` WHERE ( `product_id` IN (19,12,81,73,55,48,66,80,94,92) ) AND `product_sku_price`.`deletetime` IS NULL ORDER BY `weigh` ASC,`id` ASC [ RunTime:0.013219s ]
- [ SQL ] SELECT `id`,`name`,`template`,`version`,`type`,`remark`,`weigh`,`createtime`,`updatetime`,`deletetime` FROM `themes` WHERE ( `type` = 'release' ) AND `themes`.`deletetime` IS NULL LIMIT 1 [ RunTime:0.001488s ]
- [ SQL ] SELECT * FROM `custom_activity_relation` WHERE `product_id` = 19 LIMIT 1 [ RunTime:0.001106s ]
- [ SQL ] SELECT `id` FROM `custom_activity` WHERE `id` = 96 AND `status` = '1' LIMIT 1 [ RunTime:0.001077s ]
- [ SQL ] SELECT `imageheight`,`imagewidth` FROM `attachment` WHERE `url` = '/uploads/d4911422b454a850/1724737794540.webp' LIMIT 1 [ RunTime:0.000960s ]
- [ SQL ] SELECT * FROM `custom_activity_relation` WHERE `product_id` = 19 LIMIT 1 [ RunTime:0.000955s ]
- [ SQL ] SELECT `id` FROM `custom_activity` WHERE `id` = 96 AND `status` = '1' LIMIT 1 [ RunTime:0.001388s ]
- [ SQL ] SELECT * FROM `custom_activity_relation` WHERE `product_id` = 19 LIMIT 1 [ RunTime:0.000839s ]
- [ SQL ] SELECT `id` FROM `custom_activity` WHERE `id` = 96 AND `status` = '1' LIMIT 1 [ RunTime:0.000909s ]
- [ SQL ] SELECT * FROM `custom_activity_relation` WHERE `product_id` = 19 LIMIT 1 [ RunTime:0.000935s ]
- [ SQL ] SELECT `id` FROM `custom_activity` WHERE `id` = 96 AND `status` = '1' LIMIT 1 [ RunTime:0.000890s ]
- [ SQL ] SELECT * FROM `custom_activity_relation` WHERE `product_id` = 81 LIMIT 1 [ RunTime:0.000917s ]
- [ SQL ] SELECT `id` FROM `custom_activity` WHERE `id` = 130 AND `status` = '1' LIMIT 1 [ RunTime:0.000921s ]
- [ SQL ] SELECT * FROM `custom_activity_relation` WHERE `product_id` = 81 LIMIT 1 [ RunTime:0.001049s ]
- [ SQL ] SELECT `id` FROM `custom_activity` WHERE `id` = 130 AND `status` = '1' LIMIT 1 [ RunTime:0.000965s ]
- [ SQL ] SELECT * FROM `custom_activity_relation` WHERE `product_id` = 81 LIMIT 1 [ RunTime:0.001211s ]
- [ SQL ] SELECT `id` FROM `custom_activity` WHERE `id` = 130 AND `status` = '1' LIMIT 1 [ RunTime:0.000791s ]
- [ SQL ] SELECT * FROM `custom_activity_relation` WHERE `product_id` = 81 LIMIT 1 [ RunTime:0.002497s ]
- [ SQL ] SELECT `id` FROM `custom_activity` WHERE `id` = 130 AND `status` = '1' LIMIT 1 [ RunTime:0.001056s ]
- [ SQL ] SELECT * FROM `custom_activity_relation` WHERE `product_id` = 66 LIMIT 1 [ RunTime:0.000995s ]
- [ SQL ] SELECT `id` FROM `custom_activity` WHERE `id` = 130 AND `status` = '1' LIMIT 1 [ RunTime:0.001068s ]
- [ SQL ] SELECT * FROM `custom_activity_relation` WHERE `product_id` = 66 LIMIT 1 [ RunTime:0.000954s ]
- [ SQL ] SELECT `id` FROM `custom_activity` WHERE `id` = 130 AND `status` = '1' LIMIT 1 [ RunTime:0.000900s ]
- [ SQL ] SELECT * FROM `custom_activity_relation` WHERE `product_id` = 66 LIMIT 1 [ RunTime:0.001031s ]
- [ SQL ] SELECT `id` FROM `custom_activity` WHERE `id` = 130 AND `status` = '1' LIMIT 1 [ RunTime:0.001022s ]
- [ SQL ] SELECT * FROM `custom_activity_relation` WHERE `product_id` = 66 LIMIT 1 [ RunTime:0.000930s ]
- [ SQL ] SELECT `id` FROM `custom_activity` WHERE `id` = 130 AND `status` = '1' LIMIT 1 [ RunTime:0.000742s ]
- [ SQL ] SELECT * FROM `order` WHERE ( `createtime` >= 1756310400 ) AND `order`.`deletetime` IS NULL ORDER BY `id` DESC LIMIT 10 [ RunTime:0.001541s ]
- [ SQL ] SELECT * FROM `order_item` WHERE ( `order_id` IN (3306,3305,3304,3303,3302,3301,3300,3299,3298,3297) ) AND `order_item`.`deletetime` IS NULL [ RunTime:0.001350s ]
- [ SQL ] SELECT * FROM `product` WHERE ( `id` IN (187) ) AND `product`.`deletetime` IS NULL [ RunTime:0.001050s ]
- [ 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.000841s ]
- 1/72 . SELECT * FROM `product_sku_price` WHERE ( `product_id` IN (19,12,81,73,55,48,66,80,94,92) ) AND `product_sku_price`.`deletetime` IS NULL ORDER BY `weigh` ASC,`id` ASC [0.013219s/0.108432s=12.19%]
- 2/72 . SELECT * FROM `custom_activity_relation` WHERE `product_id` = 183 LIMIT 1 [0.003630s/0.108432s=3.35%]
- 3/72 . 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 `product_category_relation` ON `product_category_relation`.`product_id`=p.id and product_category_relation.category_id=14 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 < 1765023257 and b.endtime > 1765023257 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(14, category_ids) ) ) ) AND `p`.`deletetime` IS NULL ORDER BY sort_for_category desc,product_category_relation.id asc LIMIT 0,12 [0.003407s/0.108432s=3.14%]
- 4/72 . CONNECT:[ UseTime:0.003198s ] mysql:host=database-test2.cb81pdkxodkj.us-east-1.rds.amazonaws.com:3306;port=3306;dbname=shoppaas_1722842121525;charset=utf8mb4 [0.003198s/0.108432s=2.95%]
- 5/72 . 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 = 14
and p.status = "up" and p.deletetime is null limit 40 [0.003095s/0.108432s=2.85%]
- 6/72 . 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 < 1765023257 and b.endtime > 1765023257 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(14, category_ids) ) ) ) AND `p`.`deletetime` IS NULL ORDER BY weigh desc, id desc [0.002631s/0.108432s=2.43%]
- 7/72 . SELECT * FROM `custom_activity_relation` WHERE `product_id` = 81 LIMIT 1 [0.002497s/0.108432s=2.30%]
- 8/72 . SELECT COUNT(*) AS tp_count FROM `app_center` WHERE `name` = 'access_control' AND `is_installed` = 1 LIMIT 1 [0.002409s/0.108432s=2.22%]
- 9/72 . SELECT `value` FROM `config` WHERE `name` = 'lang_auto_detect' LIMIT 1 [0.002260s/0.108432s=2.08%]
- 10/72 . SELECT * FROM `product` WHERE ( `status` = 'up' AND `deletetime` IS NULL AND `id` IN (19,12,81,73,55,48,66,80,94,92) ) AND `product`.`deletetime` IS NULL ORDER BY field(id,19,12,81,73,55,48,66,80,94,92) LIMIT 0,15 [0.002102s/0.108432s=1.94%]
- 11/72 . SELECT * FROM `discuss` WHERE ( `status` = 'show' AND `product_id` IN (19,12,81,73,55,48,66,80,94,92) ) AND `discuss`.`deletetime` IS NULL [0.002032s/0.108432s=1.87%]
- 12/72 . SELECT `id` FROM `category` WHERE `path` = 'Food and Beverage' LIMIT 1 [0.001875s/0.108432s=1.73%]
- 13/72 . UPDATE `cart` SET `deletetime`=1765023257 WHERE ( NOT EXISTS ( SELECT * FROM `product` WHERE ( product.id=cart.product_id ) ) AND `user_id` = 0 AND `session_id` = 'obph536262u1q3c9v05a26ntls' AND `createtime` > 1764764057 ) AND `cart`.`deletetime` IS NULL [0.001696s/0.108432s=1.56%]
- 14/72 . SELECT `value` FROM `config` WHERE `name` = 'channel_google' LIMIT 1 [0.001631s/0.108432s=1.50%]
- 15/72 . 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` = 'obph536262u1q3c9v05a26ntls' AND `store_id` = 0 ) AND `cart`.`deletetime` IS NULL GROUP BY `id` ORDER BY `createtime` DESC,`id` ASC [0.001584s/0.108432s=1.46%]
- 16/72 . SELECT * FROM `order` WHERE ( `createtime` >= 1756310400 ) AND `order`.`deletetime` IS NULL ORDER BY `id` DESC LIMIT 10 [0.001541s/0.108432s=1.42%]
- 17/72 . SELECT * FROM `activity` WHERE ( ( 1765023257 > starttime && 1765023257 < endtime ) ) AND `activity`.`deletetime` IS NULL ORDER BY `starttime` ASC LIMIT 30 [0.001518s/0.108432s=1.40%]
- 18/72 . SELECT `value` FROM `config` WHERE ( name = 'byIpSwitch' ) LIMIT 1 [0.001510s/0.108432s=1.39%]
- 19/72 . SELECT `id`,`name`,`template`,`version`,`type`,`remark`,`weigh`,`createtime`,`updatetime`,`deletetime` FROM `themes` WHERE ( `type` = 'release' ) AND `themes`.`deletetime` IS NULL LIMIT 1 [0.001488s/0.108432s=1.37%]
- 20/72 . SELECT `id` FROM `custom_activity` WHERE `id` = 139 AND `status` = '1' LIMIT 1 [0.001478s/0.108432s=1.36%]
- 21/72 . SELECT COUNT(*) AS tp_count FROM `product` WHERE ( `status` = 'up' AND `deletetime` IS NULL AND `id` IN (19,12,81,73,55,48,66,80,94,92) ) AND `product`.`deletetime` IS NULL LIMIT 1 [0.001471s/0.108432s=1.36%]
- 22/72 . SELECT * FROM `themes_menu_item` WHERE `themes_menu_item`.`deletetime` IS NULL [0.001455s/0.108432s=1.34%]
- 23/72 . SELECT COUNT(*) AS tp_count FROM `product` `p` LEFT JOIN `product_category_relation` ON `product_category_relation`.`product_id`=p.id and product_category_relation.category_id=14 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 < 1765023257 and b.endtime > 1765023257 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(14, category_ids) ) ) ) AND `p`.`deletetime` IS NULL LIMIT 1 [0.001402s/0.108432s=1.29%]
- 24/72 . SELECT `id` FROM `custom_activity` WHERE `id` = 96 AND `status` = '1' LIMIT 1 [0.001388s/0.108432s=1.28%]
- 25/72 . SELECT * FROM `order_item` WHERE ( `order_id` IN (3306,3305,3304,3303,3302,3301,3300,3299,3298,3297) ) AND `order_item`.`deletetime` IS NULL [0.001350s/0.108432s=1.25%]
- 26/72 . SELECT `value` FROM `config` WHERE `name` = 'product_review' LIMIT 1 [0.001320s/0.108432s=1.22%]
- 27/72 . 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.001309s/0.108432s=1.21%]
- 28/72 . 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 (183) group by binary(p.name), binary(p1.name); [0.001304s/0.108432s=1.20%]
- 29/72 . SELECT * FROM `payment` WHERE `status` = '1' ORDER BY `weigh` DESC,`id` ASC [0.001224s/0.108432s=1.13%]
- 30/72 . 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.001213s/0.108432s=1.12%]
- 31/72 . SELECT * FROM `custom_activity_relation` WHERE `product_id` = 81 LIMIT 1 [0.001211s/0.108432s=1.12%]
- 32/72 . 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.001181s/0.108432s=1.09%]
- 33/72 . SELECT * FROM `activity_product_sku_price` WHERE ( `status` = 'up' AND `activity_id` IN (19) ) AND `activity_product_sku_price`.`deletetime` IS NULL [0.001168s/0.108432s=1.08%]
- 34/72 . set session sql_mode='STRICT_TRANS_TABLES,ERROR_FOR_DIVISION_BY_ZERO,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION' [0.001147s/0.108432s=1.06%]
- 35/72 . SELECT `value` FROM `config` WHERE `name` = 'klaviyo_config' LIMIT 1 [0.001134s/0.108432s=1.05%]
- 36/72 . SELECT @@session.sql_mode [0.001121s/0.108432s=1.03%]
- 37/72 . SELECT COUNT(*) AS tp_count FROM `app_center` WHERE `name` = 'product_topic' AND `is_installed` = 1 LIMIT 1 [0.001112s/0.108432s=1.03%]
- 38/72 . SELECT * FROM `custom_activity_relation` WHERE `product_id` = 19 LIMIT 1 [0.001106s/0.108432s=1.02%]
- 39/72 . SELECT `id` FROM `custom_activity` WHERE `id` = 96 AND `status` = '1' LIMIT 1 [0.001077s/0.108432s=0.99%]
- 40/72 . SELECT `id` FROM `custom_activity` WHERE `id` = 130 AND `status` = '1' LIMIT 1 [0.001068s/0.108432s=0.98%]
- 41/72 . SELECT `id` FROM `custom_activity` WHERE `id` = 130 AND `status` = '1' LIMIT 1 [0.001056s/0.108432s=0.97%]
- 42/72 . SELECT * FROM `product` WHERE ( `id` IN (187) ) AND `product`.`deletetime` IS NULL [0.001050s/0.108432s=0.97%]
- 43/72 . SELECT * FROM `custom_activity_relation` WHERE `product_id` = 81 LIMIT 1 [0.001049s/0.108432s=0.97%]
- 44/72 . set time_zone = '+08:00' [0.001037s/0.108432s=0.96%]
- 45/72 . SELECT * FROM `custom_activity_relation` WHERE `product_id` = 66 LIMIT 1 [0.001031s/0.108432s=0.95%]
- 46/72 . SELECT `id` FROM `custom_activity` WHERE `id` = 130 AND `status` = '1' LIMIT 1 [0.001022s/0.108432s=0.94%]
- 47/72 . SELECT * FROM `custom_activity_relation` WHERE `product_id` = 66 LIMIT 1 [0.000995s/0.108432s=0.92%]
- 48/72 . SELECT `id` FROM `custom_activity` WHERE `id` = 130 AND `status` = '1' LIMIT 1 [0.000965s/0.108432s=0.89%]
- 49/72 . SELECT `imageheight`,`imagewidth` FROM `attachment` WHERE `url` = '/uploads/d4911422b454a850/1724737794540.webp' LIMIT 1 [0.000960s/0.108432s=0.89%]
- 50/72 . SELECT * FROM `custom_activity_relation` WHERE `product_id` = 19 LIMIT 1 [0.000955s/0.108432s=0.88%]
- 51/72 . SELECT * FROM `custom_activity_relation` WHERE `product_id` = 66 LIMIT 1 [0.000954s/0.108432s=0.88%]
- 52/72 . SELECT * FROM `custom_activity_relation` WHERE `product_id` = 19 LIMIT 1 [0.000935s/0.108432s=0.86%]
- 53/72 . SELECT * FROM `custom_activity_relation` WHERE `product_id` = 66 LIMIT 1 [0.000930s/0.108432s=0.86%]
- 54/72 . set session sql_mode='STRICT_TRANS_TABLES,ERROR_FOR_DIVISION_BY_ZERO,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION' [0.000928s/0.108432s=0.86%]
- 55/72 . SELECT * FROM `product_sku_price` WHERE ( `product_id` IN (183) ) AND `product_sku_price`.`deletetime` IS NULL ORDER BY `weigh` ASC,`id` ASC [0.000926s/0.108432s=0.85%]
- 56/72 . SELECT `id` FROM `custom_activity` WHERE `id` = 130 AND `status` = '1' LIMIT 1 [0.000921s/0.108432s=0.85%]
- 57/72 . SELECT * FROM `custom_activity_relation` WHERE `product_id` = 81 LIMIT 1 [0.000917s/0.108432s=0.85%]
- 58/72 . SELECT * FROM `discuss` WHERE ( `status` = 'show' AND `product_id` IN (183) ) AND `discuss`.`deletetime` IS NULL [0.000912s/0.108432s=0.84%]
- 59/72 . SELECT `id` FROM `custom_activity` WHERE `id` = 96 AND `status` = '1' LIMIT 1 [0.000909s/0.108432s=0.84%]
- 60/72 . SELECT `id` FROM `custom_activity` WHERE `id` = 130 AND `status` = '1' LIMIT 1 [0.000900s/0.108432s=0.83%]
- 61/72 . SELECT `id` FROM `custom_activity` WHERE `id` = 96 AND `status` = '1' LIMIT 1 [0.000890s/0.108432s=0.82%]
- 62/72 . SELECT @@session.sql_mode [0.000886s/0.108432s=0.82%]
- 63/72 . SELECT `value` FROM `config` WHERE `name` = 'customer_login_config' LIMIT 1 [0.000854s/0.108432s=0.79%]
- 64/72 . 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.000841s/0.108432s=0.78%]
- 65/72 . SELECT * FROM `custom_activity_relation` WHERE `product_id` = 19 LIMIT 1 [0.000839s/0.108432s=0.77%]
- 66/72 . set session sql_mode='STRICT_TRANS_TABLES,ERROR_FOR_DIVISION_BY_ZERO,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION' [0.000827s/0.108432s=0.76%]
- 67/72 . SELECT `id` FROM `custom_activity` WHERE `id` = 130 AND `status` = '1' LIMIT 1 [0.000791s/0.108432s=0.73%]
- 68/72 . set session sql_mode='STRICT_TRANS_TABLES,ERROR_FOR_DIVISION_BY_ZERO,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION' [0.000742s/0.108432s=0.68%]
- 69/72 . SELECT `id` FROM `custom_activity` WHERE `id` = 130 AND `status` = '1' LIMIT 1 [0.000742s/0.108432s=0.68%]
- 70/72 . SELECT `value` FROM `config` WHERE ( name = 'multiCurrencySwitch' ) LIMIT 1 [0.000733s/0.108432s=0.68%]
- 71/72 . set session sql_mode='STRICT_TRANS_TABLES,ERROR_FOR_DIVISION_BY_ZERO,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION' [0.000697s/0.108432s=0.64%]
- 72/72 . SELECT @@session.sql_mode [0.000676s/0.108432s=0.62%]
- 1/8. SELECT `id` FROM `custom_activity` WHERE `id` = 130 AND `status` = '1' LIMIT 1 [8 times, 0.007465s/0.108432s=6.88%]
- 2/8. set session sql_mode='STRICT_TRANS_TABLES,ERROR_FOR_DIVISION_BY_ZERO,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION' [5 times, 0.004341s/0.108432s=4.00%]
- 3/8. SELECT * FROM `custom_activity_relation` WHERE `product_id` = 66 LIMIT 1 [4 times, 0.00391s/0.108432s=3.61%]
- 4/8. SELECT * FROM `custom_activity_relation` WHERE `product_id` = 81 LIMIT 1 [4 times, 0.005674s/0.108432s=5.23%]
- 5/8. SELECT `id` FROM `custom_activity` WHERE `id` = 96 AND `status` = '1' LIMIT 1 [4 times, 0.004264s/0.108432s=3.93%]
- 6/8. SELECT * FROM `custom_activity_relation` WHERE `product_id` = 19 LIMIT 1 [4 times, 0.003835s/0.108432s=3.54%]
- 7/8. 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 [4 times, 0.004544s/0.108432s=4.19%]
- 8/8. SELECT @@session.sql_mode [3 times, 0.002683s/0.108432s=2.47%]
- Facebook track: Use:8.2513093948364ms