基本
文件
流程
慢流程
错误
SQL
慢sql
重复sql
调试
- 请求信息 : 2026-10-07 05:05:23 HTTP/1.1 GET : pengdong18881.pdtest.saascdn.co/category/default.html?page=2
- 运行时间 : 0.122692s [ 吞吐率:8.15req/s ] 内存消耗:2,740.38kb 文件加载:274
- 查询信息 : [耗时:0.057653s/0.122692 46.99% ] 43 queries ,4 writes
- 缓存信息 : 16 reads,2 writes
- 配置加载 : 84
- 会话信息 : SESSION_ID=u70sb6ceb85ecdu3a92q8vffll
- [ BEHAVIOR ] Run Closure @app_init [ RunTime:0.000012s ]
- [ CACHE ] INIT app\common\library\cache\driver\Redis
- [ BEHAVIOR ] Run \addons\aws\Aws @app_init [ RunTime:0.000271s ]
- [ BEHAVIOR ] Run \addons\listener\Listener @app_init [ RunTime:0.000039s ]
- [ BEHAVIOR ] Run Closure @app_init [ RunTime:0.000048s ]
- [ BEHAVIOR ] Run app\common\behavior\Common @app_dispatch [ RunTime:0.000064s ]
- [ ROUTE ] array (
'type' => 'module',
'module' =>
array (
0 => 'index',
1 => 'product',
2 => 'lists',
),
'convert' => false,
)
- [ HEADER ] array (
'x-forwarded-proto' => 'https',
'x-forwarded-host' => 'pengdong18881.pdtest.saascdn.co',
'x-forwarded-for' => '216.73.216.223',
'via' => '2.0 Caddy',
'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' => 'pengdong18881.pdtest.saascdn.co',
'content-length' => '',
'content-type' => '',
)
- [ PARAM ] array (
'page' => '2',
'path' => 'default',
)
- [ LANG ] /wwwroot/public/../application/index/lang/en-us.php
- [ BEHAVIOR ] Run app\common\behavior\Common @module_init [ RunTime:0.002447s ]
- [ BEHAVIOR ] Run \addons\aws\Aws @module_init [ RunTime:0.000027s ]
- [ DB ] INIT mysql
- [ BEHAVIOR ] Run \addons\aws\Aws @upload_config_init [ RunTime:0.000031s ]
- [ BEHAVIOR ] Run \addons\nkeditor\Nkeditor @config_init [ RunTime:0.000062s ]
- [ SESSION ] INIT array (
'id' => '',
'var_session_id' => '',
'session_name' => 'shoppaas_1704420534302:',
'type' => 'redis',
'host' => 'test-redis-7.rj9kwp.ng.0001.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.002820s ]
- [ BEHAVIOR ] Run addons\facebookpixel\Hook @pixels [ RunTime:0.001195s ]
- [ BEHAVIOR ] Run addons\snapchatpixel\Hook @pixels [ RunTime:0.000844s ]
- [ BEHAVIOR ] Run addons\googlepixel\Hook @pixels [ RunTime:0.000810s ]
- [ BEHAVIOR ] Run addons\tiktokpixel\Hook @pixels [ RunTime:0.000761s ]
- [ BEHAVIOR ] Run addons\mediago\Hook @pixels [ RunTime:0.001038s ]
- [ BEHAVIOR ] Run addons\taboolapixel\Hook @pixels [ RunTime:0.000819s ]
- [ BEHAVIOR ] Run addons\klaviyopixel\Hook @pixels [ RunTime:0.001172s ]
- [ BEHAVIOR ] Run addons\axonpixel\Hook @pixels [ RunTime:0.000901s ]
- [ BEHAVIOR ] Run addons\aiservices\Hook @pixels [ RunTime:0.001112s ]
- [ 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',
) ]
- [ VIEW ] /wwwroot/addons/productrating/view/product_rating.html [ array (
0 => 'config_site_version',
1 => 'data',
2 => 'data_json',
) ]
- [ BEHAVIOR ] Run addons\productrating\Hook @product_rating [ RunTime:0.001323s ]
- [ BEHAVIOR ] Run addons\featuredproduct\Hook @global_content_bottom [ RunTime:0.011886s ]
- [ VIEW ] /wwwroot/addons/paymentshow/view/payment_show.html [ array (
0 => 'payment',
1 => 'align',
2 => 'merchantCard',
3 => 'merchantCardPayssion',
4 => 'paymentIcons',
5 => 'templateName',
) ]
- [ BEHAVIOR ] Run addons\paymentshow\Hook @payment_show [ RunTime:0.000350s ]
- [ BEHAVIOR ] Run addons\marketingnotify\Hook @global_footer [ RunTime:0.000912s ]
- [ BEHAVIOR ] Run addons\marketingcookie\Hook @global_footer [ RunTime:0.000805s ]
- [ BEHAVIOR ] Run addons\marketingpopup\Hook @global_footer [ RunTime:0.000666s ]
- 1/25 . [ BEHAVIOR ] Run addons\featuredproduct\Hook @global_content_bottom [ RunTime:0.011886s ] [0.011886s/0.030415s=39.08%]
- 2/25 . [ BEHAVIOR ] Run addons\pixel\Hook @pixels [ RunTime:0.002820s ] [0.002820s/0.030415s=9.27%]
- 3/25 . [ BEHAVIOR ] Run app\common\behavior\Common @module_init [ RunTime:0.002447s ] [0.002447s/0.030415s=8.05%]
- 4/25 . [ BEHAVIOR ] Run addons\productrating\Hook @product_rating [ RunTime:0.001323s ] [0.001323s/0.030415s=4.35%]
- 5/25 . [ BEHAVIOR ] Run addons\facebookpixel\Hook @pixels [ RunTime:0.001195s ] [0.001195s/0.030415s=3.93%]
- 6/25 . [ BEHAVIOR ] Run addons\klaviyopixel\Hook @pixels [ RunTime:0.001172s ] [0.001172s/0.030415s=3.85%]
- 7/25 . [ BEHAVIOR ] Run addons\aiservices\Hook @pixels [ RunTime:0.001112s ] [0.001112s/0.030415s=3.66%]
- 8/25 . [ BEHAVIOR ] Run addons\mediago\Hook @pixels [ RunTime:0.001038s ] [0.001038s/0.030415s=3.41%]
- 9/25 . [ BEHAVIOR ] Run addons\marketingnotify\Hook @global_footer [ RunTime:0.000912s ] [0.000912s/0.030415s=3.00%]
- 10/25 . [ BEHAVIOR ] Run addons\axonpixel\Hook @pixels [ RunTime:0.000901s ] [0.000901s/0.030415s=2.96%]
- 11/25 . [ BEHAVIOR ] Run addons\snapchatpixel\Hook @pixels [ RunTime:0.000844s ] [0.000844s/0.030415s=2.77%]
- 12/25 . [ BEHAVIOR ] Run addons\taboolapixel\Hook @pixels [ RunTime:0.000819s ] [0.000819s/0.030415s=2.69%]
- 13/25 . [ BEHAVIOR ] Run addons\googlepixel\Hook @pixels [ RunTime:0.000810s ] [0.000810s/0.030415s=2.66%]
- 14/25 . [ BEHAVIOR ] Run addons\marketingcookie\Hook @global_footer [ RunTime:0.000805s ] [0.000805s/0.030415s=2.65%]
- 15/25 . [ BEHAVIOR ] Run addons\tiktokpixel\Hook @pixels [ RunTime:0.000761s ] [0.000761s/0.030415s=2.50%]
- 16/25 . [ BEHAVIOR ] Run addons\marketingpopup\Hook @global_footer [ RunTime:0.000666s ] [0.000666s/0.030415s=2.19%]
- 17/25 . [ BEHAVIOR ] Run addons\paymentshow\Hook @payment_show [ RunTime:0.000350s ] [0.000350s/0.030415s=1.15%]
- 18/25 . [ BEHAVIOR ] Run \addons\aws\Aws @app_init [ RunTime:0.000271s ] [0.000271s/0.030415s=0.89%]
- 19/25 . [ BEHAVIOR ] Run app\common\behavior\Common @app_dispatch [ RunTime:0.000064s ] [0.000064s/0.030415s=0.21%]
- 20/25 . [ BEHAVIOR ] Run \addons\nkeditor\Nkeditor @config_init [ RunTime:0.000062s ] [0.000062s/0.030415s=0.20%]
- 21/25 . [ BEHAVIOR ] Run Closure @app_init [ RunTime:0.000048s ] [0.000048s/0.030415s=0.16%]
- 22/25 . [ BEHAVIOR ] Run \addons\listener\Listener @app_init [ RunTime:0.000039s ] [0.000039s/0.030415s=0.13%]
- 23/25 . [ BEHAVIOR ] Run \addons\aws\Aws @upload_config_init [ RunTime:0.000031s ] [0.000031s/0.030415s=0.10%]
- 24/25 . [ BEHAVIOR ] Run \addons\aws\Aws @module_init [ RunTime:0.000027s ] [0.000027s/0.030415s=0.09%]
- 25/25 . [ BEHAVIOR ] Run Closure @app_init [ RunTime:0.000012s ] [0.000012s/0.030415s=0.04%]
- [ DB ] CONNECT:[ UseTime:0.003368s ] mysql:host=test.cqdeqicu2sp5.us-east-1.rds.amazonaws.com:3306;port=3306;dbname=shoppaas_1704420534302;charset=utf8mb4
- [ SQL ] SELECT COUNT(*) AS tp_count FROM `app_center` WHERE `name` = 'product_topic' AND `is_installed` = 1 LIMIT 1 [ RunTime:0.000895s ]
- [ SQL ] SELECT COUNT(*) AS tp_count FROM `app_center` WHERE `name` = 'access_control' AND `is_installed` = 1 LIMIT 1 [ RunTime:0.001159s ]
- [ 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.001078s ]
- [ SQL ] SELECT * FROM `payment` WHERE `status` = '1' ORDER BY `weigh` DESC,`id` ASC [ RunTime:0.001052s ]
- [ SQL ] SELECT `value` FROM `config` WHERE `name` = 'channel_google' LIMIT 1 [ RunTime:0.000864s ]
- [ SQL ] SELECT `store_config` FROM `themes_onepage_store` WHERE `status` = 1 ORDER BY `id` DESC LIMIT 1 [ RunTime:0.001153s ]
- [ SQL ] SELECT `value` FROM `config` WHERE `name` = 'lang_auto_detect' LIMIT 1 [ RunTime:0.000873s ]
- [ SQL ] set time_zone = '+08:00' [ RunTime:0.000786s ]
- [ SQL ] SELECT `value` FROM `config` WHERE ( name = 'multiCurrencySwitch' ) LIMIT 1 [ RunTime:0.000876s ]
- [ SQL ] SELECT `value` FROM `config` WHERE ( name = 'byIpSwitch' ) LIMIT 1 [ RunTime:0.001006s ]
- [ SQL ] SELECT `value` FROM `config` WHERE `name` = 'customer_login_config' LIMIT 1 [ RunTime:0.000972s ]
- [ SQL ] SELECT @@session.sql_mode [ RunTime:0.000913s ]
- [ SQL ] set session sql_mode='STRICT_TRANS_TABLES,ERROR_FOR_DIVISION_BY_ZERO,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION' [ RunTime:0.000746s ]
- [ 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 < 1791320723 and b.endtime > 1791320723 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.002207s ]
- [ 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 (450,448,447,446,445,444,443,442,441,440,60,3,2) group by binary(p.name), binary(p1.name); [ RunTime:0.002079s ]
- [ SQL ] SELECT @@session.sql_mode [ RunTime:0.000709s ]
- [ SQL ] set session sql_mode='STRICT_TRANS_TABLES,ERROR_FOR_DIVISION_BY_ZERO,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION' [ RunTime:0.000860s ]
- [ 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=2 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 < 1791320723 and b.endtime > 1791320723 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.001801s ]
- [ 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=2 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 < 1791320723 and b.endtime > 1791320723 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 sort_for_category desc,product_category_relation.id asc LIMIT 12,12 [ RunTime:0.003196s ]
- [ SQL ] SELECT * FROM `discuss` WHERE ( `status` = 'show' AND `product_id` IN (2) ) AND `discuss`.`deletetime` IS NULL [ RunTime:0.001240s ]
- [ 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.001459s ]
- [ SQL ] SELECT * FROM `activity` WHERE ( ( 1791320723 > starttime && 1791320723 < endtime ) ) AND `activity`.`deletetime` IS NULL ORDER BY `starttime` ASC LIMIT 30 [ RunTime:0.001234s ]
- [ SQL ] set session sql_mode='STRICT_TRANS_TABLES,ERROR_FOR_DIVISION_BY_ZERO,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION' [ RunTime:0.000695s ]
- [ SQL ] SELECT `value` FROM `config` WHERE `name` = 'product_review' LIMIT 1 [ RunTime:0.001246s ]
- [ 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.000873s ]
- [ SQL ] SELECT `id` FROM `category` WHERE `path` = 'default' LIMIT 1 [ RunTime:0.000922s ]
- [ 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 = 2
and p.status = "up" and p.deletetime is null limit 40 [ RunTime:0.001599s ]
- [ SQL ] SELECT `value` FROM `config` WHERE `name` = 'klaviyo_config' LIMIT 1 [ RunTime:0.001055s ]
- [ SQL ] SELECT COUNT(*) AS tp_count FROM `app_center` WHERE `name` = 'salesmartly' AND `is_installed` = 1 LIMIT 1 [ RunTime:0.000998s ]
- [ SQL ] SELECT * FROM `themes_menu_item` WHERE `themes_menu_item`.`deletetime` IS NULL [ RunTime:0.000954s ]
- [ 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.001020s ]
- [ 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.001106s ]
- [ SQL ] SELECT `id` FROM `product` WHERE ( `id` <> 0 AND `status` = 'up' ) AND `product`.`deletetime` IS NULL ORDER BY `sales` DESC LIMIT 5 [ RunTime:0.001519s ]
- [ SQL ] SELECT COUNT(*) AS tp_count FROM `product` WHERE ( `status` = 'up' AND `deletetime` IS NULL AND `id` IN (3,450,60,440,441) ) AND `product`.`deletetime` IS NULL LIMIT 1 [ RunTime:0.001313s ]
- [ SQL ] SELECT * FROM `product` WHERE ( `status` = 'up' AND `deletetime` IS NULL AND `id` IN (3,450,60,440,441) ) AND `product`.`deletetime` IS NULL ORDER BY field(id,3,450,60,440,441) LIMIT 0,15 [ RunTime:0.001458s ]
- [ SQL ] SELECT * FROM `discuss` WHERE ( `status` = 'show' AND `product_id` IN (3,450,60,440,441) ) AND `discuss`.`deletetime` IS NULL [ RunTime:0.001373s ]
- [ SQL ] SELECT * FROM `product_sku_price` WHERE ( `product_id` IN (3,450,60,440,441) ) AND `product_sku_price`.`deletetime` IS NULL ORDER BY `weigh` ASC,`id` ASC [ RunTime:0.001656s ]
- [ SQL ] SELECT `name` FROM `product_supplier` WHERE `id` = 1 LIMIT 1 [ RunTime:0.001088s ]
- [ 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.001006s ]
- [ SQL ] SELECT * FROM `custom_activity_relation` WHERE `product_id` = 60 LIMIT 1 [ RunTime:0.000962s ]
- [ SQL ] SELECT `id` FROM `custom_activity` WHERE `id` = 1 AND `status` = '1' LIMIT 1 [ RunTime:0.000924s ]
- [ SQL ] SELECT * FROM `custom_activity_relation` WHERE `product_id` = 60 LIMIT 1 [ RunTime:0.000929s ]
- [ SQL ] SELECT `id` FROM `custom_activity` WHERE `id` = 1 AND `status` = '1' LIMIT 1 [ RunTime:0.000866s ]
- [ SQL ] SELECT * FROM `custom_activity_relation` WHERE `product_id` = 60 LIMIT 1 [ RunTime:0.000875s ]
- [ SQL ] SELECT `id` FROM `custom_activity` WHERE `id` = 1 AND `status` = '1' LIMIT 1 [ RunTime:0.000782s ]
- [ SQL ] SELECT * FROM `custom_activity_relation` WHERE `product_id` = 60 LIMIT 1 [ RunTime:0.001147s ]
- [ SQL ] SELECT `id` FROM `custom_activity` WHERE `id` = 1 AND `status` = '1' LIMIT 1 [ RunTime:0.000761s ]
- 1/48 . CONNECT:[ UseTime:0.003368s ] mysql:host=test.cqdeqicu2sp5.us-east-1.rds.amazonaws.com:3306;port=3306;dbname=shoppaas_1704420534302;charset=utf8mb4 [0.003368s/0.057653s=5.84%]
- 2/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.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=2 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 < 1791320723 and b.endtime > 1791320723 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 sort_for_category desc,product_category_relation.id asc LIMIT 12,12 [0.003196s/0.057653s=5.54%]
- 3/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.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 < 1791320723 and b.endtime > 1791320723 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.002207s/0.057653s=3.83%]
- 4/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 (450,448,447,446,445,444,443,442,441,440,60,3,2) group by binary(p.name), binary(p1.name); [0.002079s/0.057653s=3.61%]
- 5/48 . 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=2 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 < 1791320723 and b.endtime > 1791320723 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.001801s/0.057653s=3.12%]
- 6/48 . SELECT * FROM `product_sku_price` WHERE ( `product_id` IN (3,450,60,440,441) ) AND `product_sku_price`.`deletetime` IS NULL ORDER BY `weigh` ASC,`id` ASC [0.001656s/0.057653s=2.87%]
- 7/48 . 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 = 2
and p.status = "up" and p.deletetime is null limit 40 [0.001599s/0.057653s=2.77%]
- 8/48 . SELECT `id` FROM `product` WHERE ( `id` <> 0 AND `status` = 'up' ) AND `product`.`deletetime` IS NULL ORDER BY `sales` DESC LIMIT 5 [0.001519s/0.057653s=2.63%]
- 9/48 . SELECT * FROM `product_sku_price` WHERE ( `product_id` IN (2) ) AND `product_sku_price`.`deletetime` IS NULL ORDER BY `weigh` ASC,`id` ASC [0.001459s/0.057653s=2.53%]
- 10/48 . SELECT * FROM `product` WHERE ( `status` = 'up' AND `deletetime` IS NULL AND `id` IN (3,450,60,440,441) ) AND `product`.`deletetime` IS NULL ORDER BY field(id,3,450,60,440,441) LIMIT 0,15 [0.001458s/0.057653s=2.53%]
- 11/48 . SELECT * FROM `discuss` WHERE ( `status` = 'show' AND `product_id` IN (3,450,60,440,441) ) AND `discuss`.`deletetime` IS NULL [0.001373s/0.057653s=2.38%]
- 12/48 . SELECT COUNT(*) AS tp_count FROM `product` WHERE ( `status` = 'up' AND `deletetime` IS NULL AND `id` IN (3,450,60,440,441) ) AND `product`.`deletetime` IS NULL LIMIT 1 [0.001313s/0.057653s=2.28%]
- 13/48 . SELECT `value` FROM `config` WHERE `name` = 'product_review' LIMIT 1 [0.001246s/0.057653s=2.16%]
- 14/48 . SELECT * FROM `discuss` WHERE ( `status` = 'show' AND `product_id` IN (2) ) AND `discuss`.`deletetime` IS NULL [0.001240s/0.057653s=2.15%]
- 15/48 . SELECT * FROM `activity` WHERE ( ( 1791320723 > starttime && 1791320723 < endtime ) ) AND `activity`.`deletetime` IS NULL ORDER BY `starttime` ASC LIMIT 30 [0.001234s/0.057653s=2.14%]
- 16/48 . SELECT COUNT(*) AS tp_count FROM `app_center` WHERE `name` = 'access_control' AND `is_installed` = 1 LIMIT 1 [0.001159s/0.057653s=2.01%]
- 17/48 . SELECT `store_config` FROM `themes_onepage_store` WHERE `status` = 1 ORDER BY `id` DESC LIMIT 1 [0.001153s/0.057653s=2.00%]
- 18/48 . SELECT * FROM `custom_activity_relation` WHERE `product_id` = 60 LIMIT 1 [0.001147s/0.057653s=1.99%]
- 19/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.001106s/0.057653s=1.92%]
- 20/48 . SELECT `name` FROM `product_supplier` WHERE `id` = 1 LIMIT 1 [0.001088s/0.057653s=1.89%]
- 21/48 . SELECT * FROM `themes_lang` WHERE ( is_enable = 1 AND is_publish=1 AND deletetime IS NULL ) ORDER BY `is_default` DESC,`sort` DESC [0.001078s/0.057653s=1.87%]
- 22/48 . SELECT `value` FROM `config` WHERE `name` = 'klaviyo_config' LIMIT 1 [0.001055s/0.057653s=1.83%]
- 23/48 . SELECT * FROM `payment` WHERE `status` = '1' ORDER BY `weigh` DESC,`id` ASC [0.001052s/0.057653s=1.82%]
- 24/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.001020s/0.057653s=1.77%]
- 25/48 . SELECT `id`,`name`,`template`,`version`,`type`,`remark`,`weigh`,`createtime`,`updatetime`,`deletetime` FROM `themes` WHERE ( `type` = 'release' ) AND `themes`.`deletetime` IS NULL LIMIT 1 [0.001006s/0.057653s=1.74%]
- 26/48 . SELECT `value` FROM `config` WHERE ( name = 'byIpSwitch' ) LIMIT 1 [0.001006s/0.057653s=1.74%]
- 27/48 . SELECT COUNT(*) AS tp_count FROM `app_center` WHERE `name` = 'salesmartly' AND `is_installed` = 1 LIMIT 1 [0.000998s/0.057653s=1.73%]
- 28/48 . SELECT `value` FROM `config` WHERE `name` = 'customer_login_config' LIMIT 1 [0.000972s/0.057653s=1.69%]
- 29/48 . SELECT * FROM `custom_activity_relation` WHERE `product_id` = 60 LIMIT 1 [0.000962s/0.057653s=1.67%]
- 30/48 . SELECT * FROM `themes_menu_item` WHERE `themes_menu_item`.`deletetime` IS NULL [0.000954s/0.057653s=1.65%]
- 31/48 . SELECT * FROM `custom_activity_relation` WHERE `product_id` = 60 LIMIT 1 [0.000929s/0.057653s=1.61%]
- 32/48 . SELECT `id` FROM `custom_activity` WHERE `id` = 1 AND `status` = '1' LIMIT 1 [0.000924s/0.057653s=1.60%]
- 33/48 . SELECT `id` FROM `category` WHERE `path` = 'default' LIMIT 1 [0.000922s/0.057653s=1.60%]
- 34/48 . SELECT @@session.sql_mode [0.000913s/0.057653s=1.58%]
- 35/48 . SELECT COUNT(*) AS tp_count FROM `app_center` WHERE `name` = 'product_topic' AND `is_installed` = 1 LIMIT 1 [0.000895s/0.057653s=1.55%]
- 36/48 . SELECT `value` FROM `config` WHERE ( name = 'multiCurrencySwitch' ) LIMIT 1 [0.000876s/0.057653s=1.52%]
- 37/48 . SELECT * FROM `custom_activity_relation` WHERE `product_id` = 60 LIMIT 1 [0.000875s/0.057653s=1.52%]
- 38/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.000873s/0.057653s=1.51%]
- 39/48 . SELECT `value` FROM `config` WHERE `name` = 'lang_auto_detect' LIMIT 1 [0.000873s/0.057653s=1.51%]
- 40/48 . SELECT `id` FROM `custom_activity` WHERE `id` = 1 AND `status` = '1' LIMIT 1 [0.000866s/0.057653s=1.50%]
- 41/48 . SELECT `value` FROM `config` WHERE `name` = 'channel_google' LIMIT 1 [0.000864s/0.057653s=1.50%]
- 42/48 . set session sql_mode='STRICT_TRANS_TABLES,ERROR_FOR_DIVISION_BY_ZERO,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION' [0.000860s/0.057653s=1.49%]
- 43/48 . set time_zone = '+08:00' [0.000786s/0.057653s=1.36%]
- 44/48 . SELECT `id` FROM `custom_activity` WHERE `id` = 1 AND `status` = '1' LIMIT 1 [0.000782s/0.057653s=1.36%]
- 45/48 . SELECT `id` FROM `custom_activity` WHERE `id` = 1 AND `status` = '1' LIMIT 1 [0.000761s/0.057653s=1.32%]
- 46/48 . set session sql_mode='STRICT_TRANS_TABLES,ERROR_FOR_DIVISION_BY_ZERO,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION' [0.000746s/0.057653s=1.29%]
- 47/48 . SELECT @@session.sql_mode [0.000709s/0.057653s=1.23%]
- 48/48 . set session sql_mode='STRICT_TRANS_TABLES,ERROR_FOR_DIVISION_BY_ZERO,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION' [0.000695s/0.057653s=1.21%]
- 1/5. SELECT `id` FROM `custom_activity` WHERE `id` = 1 AND `status` = '1' LIMIT 1 [4 times, 0.003333s/0.057653s=5.78%]
- 2/5. SELECT * FROM `custom_activity_relation` WHERE `product_id` = 60 LIMIT 1 [4 times, 0.003913s/0.057653s=6.79%]
- 3/5. set session sql_mode='STRICT_TRANS_TABLES,ERROR_FOR_DIVISION_BY_ZERO,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION' [3 times, 0.002301s/0.057653s=3.99%]
- 4/5. 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.002999s/0.057653s=5.20%]
- 5/5. SELECT @@session.sql_mode [2 times, 0.001622s/0.057653s=2.81%]