基本
文件
流程
慢流程
错误
SQL
慢sql
重复sql
调试
- 请求信息 : 2026-06-07 03:44:47 HTTP/1.1 GET : pdtest22.saascdn.co/category/ceshi
- 运行时间 : 0.196795s [ 吞吐率:5.08req/s ] 内存消耗:3,935.47kb 文件加载:315
- 查询信息 : [耗时:0.042806s/0.196795 21.75% ] 30 queries ,4 writes
- 缓存信息 : 14 reads,1 writes
- 配置加载 : 84
- 会话信息 : SESSION_ID=gqrr9mc56f197pi7dpdgtpad19
- [ BEHAVIOR ] Run Closure @app_init [ RunTime:0.000013s ]
- [ CACHE ] INIT app\common\library\cache\driver\Redis
- [ BEHAVIOR ] Run \addons\aws\Aws @app_init [ RunTime:0.000406s ]
- [ BEHAVIOR ] Run \addons\listener\Listener @app_init [ RunTime:0.000060s ]
- [ BEHAVIOR ] Run Closure @app_init [ RunTime:0.000073s ]
- [ BEHAVIOR ] Run app\common\behavior\Common @app_dispatch [ RunTime:0.000086s ]
- [ ROUTE ] array (
'type' => 'module',
'module' =>
array (
0 => 'index',
1 => 'product',
2 => 'lists',
),
'convert' => false,
)
- [ HEADER ] array (
'x-forwarded-proto' => 'https',
'x-forwarded-host' => 'pdtest22.saascdn.co',
'x-forwarded-for' => '216.73.216.209',
'referer' => 'http://pdtest22.saascdn.co/category/ceshi',
'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' => 'pdtest22.saascdn.co',
'content-length' => '',
'content-type' => '',
)
- [ PARAM ] array (
'path' => 'ceshi',
)
- [ LANG ] /wwwroot/public/../application/index/lang/en-us.php
- [ BEHAVIOR ] Run app\common\behavior\Common @module_init [ RunTime:0.002603s ]
- [ BEHAVIOR ] Run \addons\aws\Aws @module_init [ RunTime:0.000033s ]
- [ DB ] INIT mysql
- [ BEHAVIOR ] Run \addons\aws\Aws @upload_config_init [ RunTime:0.000032s ]
- [ BEHAVIOR ] Run \addons\nkeditor\Nkeditor @config_init [ RunTime:0.000075s ]
- [ SESSION ] INIT array (
'id' => '',
'var_session_id' => '',
'session_name' => 'shoppaas_1698131405234:',
'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/testtheme/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.002152s ]
- [ 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.080004s ]
- [ BEHAVIOR ] Run addons\snapchatpixel\Hook @pixels [ RunTime:0.001157s ]
- [ BEHAVIOR ] Run addons\googlepixel\Hook @pixels [ RunTime:0.000720s ]
- [ VIEW ] /wwwroot/addons/tiktokpixel/view/tiktok_pixel.html [ array (
0 => 'tiktok_pixel_id',
) ]
- [ BEHAVIOR ] Run addons\tiktokpixel\Hook @pixels [ RunTime:0.000984s ]
- [ BEHAVIOR ] Run addons\mediago\Hook @pixels [ RunTime:0.000750s ]
- [ BEHAVIOR ] Run addons\taboolapixel\Hook @pixels [ RunTime:0.000721s ]
- [ BEHAVIOR ] Run addons\klaviyopixel\Hook @pixels [ RunTime:0.001420s ]
- [ BEHAVIOR ] Run addons\axonpixel\Hook @pixels [ RunTime:0.000832s ]
- [ BEHAVIOR ] Run addons\aiservices\Hook @pixels [ RunTime:0.001149s ]
- [ VIEW ] /wwwroot/template/testtheme/../testtheme/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.017518s ]
- [ BEHAVIOR ] Run addons\marketingnotify\Hook @global_footer [ RunTime:0.000710s ]
- [ BEHAVIOR ] Run addons\marketingcookie\Hook @global_footer [ RunTime:0.000678s ]
- [ BEHAVIOR ] Run addons\marketingpopup\Hook @global_footer [ RunTime:0.000568s ]
- 1/23 . [ BEHAVIOR ] Run addons\facebookpixel\Hook @pixels [ RunTime:0.080004s ] [0.080004s/0.112744s=70.96%]
- 2/23 . [ BEHAVIOR ] Run addons\featuredproduct\Hook @global_content_bottom [ RunTime:0.017518s ] [0.017518s/0.112744s=15.54%]
- 3/23 . [ BEHAVIOR ] Run app\common\behavior\Common @module_init [ RunTime:0.002603s ] [0.002603s/0.112744s=2.31%]
- 4/23 . [ BEHAVIOR ] Run addons\pixel\Hook @pixels [ RunTime:0.002152s ] [0.002152s/0.112744s=1.91%]
- 5/23 . [ BEHAVIOR ] Run addons\klaviyopixel\Hook @pixels [ RunTime:0.001420s ] [0.001420s/0.112744s=1.26%]
- 6/23 . [ BEHAVIOR ] Run addons\snapchatpixel\Hook @pixels [ RunTime:0.001157s ] [0.001157s/0.112744s=1.03%]
- 7/23 . [ BEHAVIOR ] Run addons\aiservices\Hook @pixels [ RunTime:0.001149s ] [0.001149s/0.112744s=1.02%]
- 8/23 . [ BEHAVIOR ] Run addons\tiktokpixel\Hook @pixels [ RunTime:0.000984s ] [0.000984s/0.112744s=0.87%]
- 9/23 . [ BEHAVIOR ] Run addons\axonpixel\Hook @pixels [ RunTime:0.000832s ] [0.000832s/0.112744s=0.74%]
- 10/23 . [ BEHAVIOR ] Run addons\mediago\Hook @pixels [ RunTime:0.000750s ] [0.000750s/0.112744s=0.67%]
- 11/23 . [ BEHAVIOR ] Run addons\taboolapixel\Hook @pixels [ RunTime:0.000721s ] [0.000721s/0.112744s=0.64%]
- 12/23 . [ BEHAVIOR ] Run addons\googlepixel\Hook @pixels [ RunTime:0.000720s ] [0.000720s/0.112744s=0.64%]
- 13/23 . [ BEHAVIOR ] Run addons\marketingnotify\Hook @global_footer [ RunTime:0.000710s ] [0.000710s/0.112744s=0.63%]
- 14/23 . [ BEHAVIOR ] Run addons\marketingcookie\Hook @global_footer [ RunTime:0.000678s ] [0.000678s/0.112744s=0.60%]
- 15/23 . [ BEHAVIOR ] Run addons\marketingpopup\Hook @global_footer [ RunTime:0.000568s ] [0.000568s/0.112744s=0.50%]
- 16/23 . [ BEHAVIOR ] Run \addons\aws\Aws @app_init [ RunTime:0.000406s ] [0.000406s/0.112744s=0.36%]
- 17/23 . [ BEHAVIOR ] Run app\common\behavior\Common @app_dispatch [ RunTime:0.000086s ] [0.000086s/0.112744s=0.08%]
- 18/23 . [ BEHAVIOR ] Run \addons\nkeditor\Nkeditor @config_init [ RunTime:0.000075s ] [0.000075s/0.112744s=0.07%]
- 19/23 . [ BEHAVIOR ] Run Closure @app_init [ RunTime:0.000073s ] [0.000073s/0.112744s=0.06%]
- 20/23 . [ BEHAVIOR ] Run \addons\listener\Listener @app_init [ RunTime:0.000060s ] [0.000060s/0.112744s=0.05%]
- 21/23 . [ BEHAVIOR ] Run \addons\aws\Aws @module_init [ RunTime:0.000033s ] [0.000033s/0.112744s=0.03%]
- 22/23 . [ BEHAVIOR ] Run \addons\aws\Aws @upload_config_init [ RunTime:0.000032s ] [0.000032s/0.112744s=0.03%]
- 23/23 . [ BEHAVIOR ] Run Closure @app_init [ RunTime:0.000013s ] [0.000013s/0.112744s=0.01%]
- [ DB ] CONNECT:[ UseTime:0.003056s ] mysql:host=test.cqdeqicu2sp5.us-east-1.rds.amazonaws.com:3306;port=3306;dbname=shoppaas_1698131405234;charset=utf8mb4
- [ SQL ] SELECT COUNT(*) AS tp_count FROM `app_center` WHERE `name` = 'product_topic' AND `is_installed` = 1 LIMIT 1 [ RunTime:0.001024s ]
- [ SQL ] SELECT COUNT(*) AS tp_count FROM `app_center` WHERE `name` = 'access_control' AND `is_installed` = 1 LIMIT 1 [ RunTime:0.001003s ]
- [ SQL ] SELECT * FROM `payment` WHERE `status` = '1' ORDER BY `weigh` DESC,`id` ASC [ RunTime:0.000964s ]
- [ SQL ] SELECT `value` FROM `config` WHERE `name` = 'channel_google' LIMIT 1 [ RunTime:0.000923s ]
- [ SQL ] SELECT `value` FROM `config` WHERE `name` = 'lang_auto_detect' LIMIT 1 [ RunTime:0.000996s ]
- [ SQL ] set time_zone = '+08:00' [ RunTime:0.000825s ]
- [ SQL ] SELECT `value` FROM `config` WHERE ( name = 'multiCurrencySwitch' ) LIMIT 1 [ RunTime:0.001087s ]
- [ SQL ] SELECT `value` FROM `config` WHERE ( name = 'byIpSwitch' ) LIMIT 1 [ RunTime:0.000814s ]
- [ SQL ] SELECT `value` FROM `config` WHERE `name` = 'customer_login_config' LIMIT 1 [ RunTime:0.000874s ]
- [ SQL ] SELECT @@session.sql_mode [ RunTime:0.000837s ]
- [ SQL ] set session sql_mode='STRICT_TRANS_TABLES,ERROR_FOR_DIVISION_BY_ZERO,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION' [ RunTime:0.000722s ]
- [ 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 < 1780775087 and b.endtime > 1780775087 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(4, category_ids) ) ) ) AND `p`.`deletetime` IS NULL ORDER BY weigh desc, id desc [ RunTime:0.001794s ]
- [ 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 (38,37,36,35,34,33,32,31,30,29) group by binary(p.name), binary(p1.name); [ RunTime:0.002801s ]
- [ SQL ] SELECT @@session.sql_mode [ RunTime:0.000768s ]
- [ SQL ] set session sql_mode='STRICT_TRANS_TABLES,ERROR_FOR_DIVISION_BY_ZERO,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION' [ RunTime:0.000761s ]
- [ 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=4 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 < 1780775087 and b.endtime > 1780775087 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(4, category_ids) ) ) ) AND `p`.`deletetime` IS NULL LIMIT 1 [ RunTime:0.001571s ]
- [ 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=4 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 < 1780775087 and b.endtime > 1780775087 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(4, category_ids) ) ) ) AND `p`.`deletetime` IS NULL ORDER BY sort_for_category desc,product_category_relation.id asc LIMIT 0,20 [ RunTime:0.002100s ]
- [ SQL ] SELECT * FROM `discuss` WHERE ( `status` = 'show' AND `product_id` IN (38,37,36,35,34,33,32,31,30,29) ) AND `discuss`.`deletetime` IS NULL [ RunTime:0.001048s ]
- [ SQL ] SELECT * FROM `product_sku_price` WHERE ( `product_id` IN (38,37,36,35,34,33,32,31,30,29) ) AND `product_sku_price`.`deletetime` IS NULL ORDER BY `weigh` ASC,`id` ASC [ RunTime:0.002136s ]
- [ SQL ] SELECT * FROM `activity` WHERE ( ( 1780775087 > starttime && 1780775087 < endtime ) ) AND `activity`.`deletetime` IS NULL ORDER BY `starttime` ASC LIMIT 30 [ RunTime:0.000977s ]
- [ SQL ] set session sql_mode='STRICT_TRANS_TABLES,ERROR_FOR_DIVISION_BY_ZERO,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION' [ RunTime:0.000768s ]
- [ SQL ] SELECT `value` FROM `config` WHERE `name` = 'product_review' LIMIT 1 [ RunTime:0.000852s ]
- [ SQL ] SELECT `id` FROM `category` WHERE `path` = 'ceshi' LIMIT 1 [ RunTime:0.000837s ]
- [ 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 = 4
and p.status = "up" and p.deletetime is null limit 40 [ RunTime:0.000954s ]
- [ SQL ] SELECT `value` FROM `config` WHERE `name` = 'klaviyo_config' LIMIT 1 [ RunTime:0.001213s ]
- [ SQL ] SELECT COUNT(*) AS tp_count FROM `app_center` WHERE `name` = 'salesmartly' AND `is_installed` = 1 LIMIT 1 [ RunTime:0.000958s ]
- [ 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.000879s ]
- [ SQL ] SELECT * FROM `themes_menu_item` WHERE `themes_menu_item`.`deletetime` IS NULL [ RunTime:0.000892s ]
- [ 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.000978s ]
- [ SQL ] SELECT COUNT(*) AS tp_count FROM `product` WHERE ( `status` = 'up' AND `deletetime` IS NULL AND `id` IN (10,6,5,3,2) ) AND `product`.`deletetime` IS NULL LIMIT 1 [ RunTime:0.001119s ]
- [ SQL ] SELECT * FROM `product` WHERE ( `status` = 'up' AND `deletetime` IS NULL AND `id` IN (10,6,5,3,2) ) AND `product`.`deletetime` IS NULL ORDER BY field(id,10,6,5,3,2) LIMIT 0,15 [ RunTime:0.001769s ]
- [ SQL ] SELECT * FROM `discuss` WHERE ( `status` = 'show' AND `product_id` IN (10,6,5,3,2) ) AND `discuss`.`deletetime` IS NULL [ RunTime:0.000886s ]
- [ SQL ] SELECT * FROM `product_sku_price` WHERE ( `product_id` IN (10,6,5,3,2) ) AND `product_sku_price`.`deletetime` IS NULL ORDER BY `weigh` ASC,`id` ASC [ RunTime:0.002434s ]
- [ 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.001186s ]
- 1/35 . CONNECT:[ UseTime:0.003056s ] mysql:host=test.cqdeqicu2sp5.us-east-1.rds.amazonaws.com:3306;port=3306;dbname=shoppaas_1698131405234;charset=utf8mb4 [0.003056s/0.042806s=7.14%]
- 2/35 . 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 (38,37,36,35,34,33,32,31,30,29) group by binary(p.name), binary(p1.name); [0.002801s/0.042806s=6.54%]
- 3/35 . SELECT * FROM `product_sku_price` WHERE ( `product_id` IN (10,6,5,3,2) ) AND `product_sku_price`.`deletetime` IS NULL ORDER BY `weigh` ASC,`id` ASC [0.002434s/0.042806s=5.69%]
- 4/35 . SELECT * FROM `product_sku_price` WHERE ( `product_id` IN (38,37,36,35,34,33,32,31,30,29) ) AND `product_sku_price`.`deletetime` IS NULL ORDER BY `weigh` ASC,`id` ASC [0.002136s/0.042806s=4.99%]
- 5/35 . 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=4 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 < 1780775087 and b.endtime > 1780775087 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(4, category_ids) ) ) ) AND `p`.`deletetime` IS NULL ORDER BY sort_for_category desc,product_category_relation.id asc LIMIT 0,20 [0.002100s/0.042806s=4.91%]
- 6/35 . 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 < 1780775087 and b.endtime > 1780775087 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(4, category_ids) ) ) ) AND `p`.`deletetime` IS NULL ORDER BY weigh desc, id desc [0.001794s/0.042806s=4.19%]
- 7/35 . SELECT * FROM `product` WHERE ( `status` = 'up' AND `deletetime` IS NULL AND `id` IN (10,6,5,3,2) ) AND `product`.`deletetime` IS NULL ORDER BY field(id,10,6,5,3,2) LIMIT 0,15 [0.001769s/0.042806s=4.13%]
- 8/35 . 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=4 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 < 1780775087 and b.endtime > 1780775087 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(4, category_ids) ) ) ) AND `p`.`deletetime` IS NULL LIMIT 1 [0.001571s/0.042806s=3.67%]
- 9/35 . SELECT `value` FROM `config` WHERE `name` = 'klaviyo_config' LIMIT 1 [0.001213s/0.042806s=2.83%]
- 10/35 . SELECT `id`,`name`,`template`,`version`,`type`,`remark`,`weigh`,`createtime`,`updatetime`,`deletetime` FROM `themes` WHERE ( `type` = 'release' ) AND `themes`.`deletetime` IS NULL LIMIT 1 [0.001186s/0.042806s=2.77%]
- 11/35 . SELECT COUNT(*) AS tp_count FROM `product` WHERE ( `status` = 'up' AND `deletetime` IS NULL AND `id` IN (10,6,5,3,2) ) AND `product`.`deletetime` IS NULL LIMIT 1 [0.001119s/0.042806s=2.61%]
- 12/35 . SELECT `value` FROM `config` WHERE ( name = 'multiCurrencySwitch' ) LIMIT 1 [0.001087s/0.042806s=2.54%]
- 13/35 . SELECT * FROM `discuss` WHERE ( `status` = 'show' AND `product_id` IN (38,37,36,35,34,33,32,31,30,29) ) AND `discuss`.`deletetime` IS NULL [0.001048s/0.042806s=2.45%]
- 14/35 . SELECT COUNT(*) AS tp_count FROM `app_center` WHERE `name` = 'product_topic' AND `is_installed` = 1 LIMIT 1 [0.001024s/0.042806s=2.39%]
- 15/35 . SELECT COUNT(*) AS tp_count FROM `app_center` WHERE `name` = 'access_control' AND `is_installed` = 1 LIMIT 1 [0.001003s/0.042806s=2.34%]
- 16/35 . SELECT `value` FROM `config` WHERE `name` = 'lang_auto_detect' LIMIT 1 [0.000996s/0.042806s=2.33%]
- 17/35 . 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.000978s/0.042806s=2.28%]
- 18/35 . SELECT * FROM `activity` WHERE ( ( 1780775087 > starttime && 1780775087 < endtime ) ) AND `activity`.`deletetime` IS NULL ORDER BY `starttime` ASC LIMIT 30 [0.000977s/0.042806s=2.28%]
- 19/35 . SELECT * FROM `payment` WHERE `status` = '1' ORDER BY `weigh` DESC,`id` ASC [0.000964s/0.042806s=2.25%]
- 20/35 . SELECT COUNT(*) AS tp_count FROM `app_center` WHERE `name` = 'salesmartly' AND `is_installed` = 1 LIMIT 1 [0.000958s/0.042806s=2.24%]
- 21/35 . 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 = 4
and p.status = "up" and p.deletetime is null limit 40 [0.000954s/0.042806s=2.23%]
- 22/35 . SELECT `value` FROM `config` WHERE `name` = 'channel_google' LIMIT 1 [0.000923s/0.042806s=2.16%]
- 23/35 . SELECT * FROM `themes_menu_item` WHERE `themes_menu_item`.`deletetime` IS NULL [0.000892s/0.042806s=2.08%]
- 24/35 . SELECT * FROM `discuss` WHERE ( `status` = 'show' AND `product_id` IN (10,6,5,3,2) ) AND `discuss`.`deletetime` IS NULL [0.000886s/0.042806s=2.07%]
- 25/35 . 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.000879s/0.042806s=2.05%]
- 26/35 . SELECT `value` FROM `config` WHERE `name` = 'customer_login_config' LIMIT 1 [0.000874s/0.042806s=2.04%]
- 27/35 . SELECT `value` FROM `config` WHERE `name` = 'product_review' LIMIT 1 [0.000852s/0.042806s=1.99%]
- 28/35 . SELECT @@session.sql_mode [0.000837s/0.042806s=1.96%]
- 29/35 . SELECT `id` FROM `category` WHERE `path` = 'ceshi' LIMIT 1 [0.000837s/0.042806s=1.96%]
- 30/35 . set time_zone = '+08:00' [0.000825s/0.042806s=1.93%]
- 31/35 . SELECT `value` FROM `config` WHERE ( name = 'byIpSwitch' ) LIMIT 1 [0.000814s/0.042806s=1.90%]
- 32/35 . SELECT @@session.sql_mode [0.000768s/0.042806s=1.79%]
- 33/35 . set session sql_mode='STRICT_TRANS_TABLES,ERROR_FOR_DIVISION_BY_ZERO,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION' [0.000768s/0.042806s=1.79%]
- 34/35 . set session sql_mode='STRICT_TRANS_TABLES,ERROR_FOR_DIVISION_BY_ZERO,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION' [0.000761s/0.042806s=1.78%]
- 35/35 . set session sql_mode='STRICT_TRANS_TABLES,ERROR_FOR_DIVISION_BY_ZERO,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION' [0.000722s/0.042806s=1.69%]
- 1/3. set session sql_mode='STRICT_TRANS_TABLES,ERROR_FOR_DIVISION_BY_ZERO,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION' [3 times, 0.002251s/0.042806s=5.26%]
- 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 [2 times, 0.001857s/0.042806s=4.34%]
- 3/3. SELECT @@session.sql_mode [2 times, 0.001605s/0.042806s=3.75%]
- Facebook track: Use:7.4862957000732ms