基本
文件
流程
错误
SQL
调试
- 请求信息 : 2024-12-27 10:47:46 HTTP/1.1 GET : http://jnsansu.cn/post/48/7.html
- 运行时间 : 0.075518s [ 吞吐率:13.24req/s ] 内存消耗:3,334.15kb 文件加载:103
- 查询信息 : 8 queries 1 writes
- 缓存信息 : 8 reads,0 writes
- [ LANG ] E:\www\web\jnsansu.cn_5anTo7EUvsV6Ztbvgmj3\wwwroot/vendor\thinkphp\lang\zh-cn.php
- [ LANG ] E:\www\web\jnsansu.cn_5anTo7EUvsV6Ztbvgmj3\wwwroot\app\portal\\lang\zh-cn.php
- [ ROUTE ] array (
'rule' => 'post/<id>/<cid?>',
'route' => 'portal/Article/index',
'option' =>
array (
'merge_rule_regex' => false,
),
'var' =>
array (
'id' => '48',
'cid' => '7',
),
)
- [ HEADER ] array (
'content-type' => '',
'content-length' => '0',
'x-original-url' => '/post/48/7.html',
'user-agent' => 'Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)',
'host' => 'jnsansu.cn',
'accept-encoding' => 'gzip, br, zstd, deflate',
'accept' => '*/*',
)
- [ PARAM ] array (
'id' => '48',
'cid' => '7',
)
- [ LANG ] E:\www\web\jnsansu.cn_5anTo7EUvsV6Ztbvgmj3\wwwroot\vendor\thinkcmf\cmf\src\behavior/../lang\zh-cn.php
- [ LANG ] E:\www\web\jnsansu.cn_5anTo7EUvsV6Ztbvgmj3\wwwroot\vendor/thinkcmf/cmf-app/src/admin/lang/zh-cn.php
- [ LANG ] E:\www\web\jnsansu.cn_5anTo7EUvsV6Ztbvgmj3\wwwroot\vendor/thinkcmf/cmf-app/src/admin/lang/zh-cn/common.php
- [ LANG ] E:\www\web\jnsansu.cn_5anTo7EUvsV6Ztbvgmj3\wwwroot\vendor/thinkcmf/cmf-app/src/user/lang/zh-cn.php
- [ LANG ] E:\www\web\jnsansu.cn_5anTo7EUvsV6Ztbvgmj3\wwwroot/app/portal\lang\zh-cn\common.php
- [ LANG ] E:\www\web\jnsansu.cn_5anTo7EUvsV6Ztbvgmj3\wwwroot/app/portal\lang\zh-cn\home.php
- [ DB ] INIT mysql
- [ DB ] CONNECT:[ UseTime:0.000542s ] mysql:host=127.0.0.1;port=3306;dbname=jnsansucn;charset=utf8mb4
- [ SQL ] SHOW COLUMNS FROM `cmf_portal_post` [ RunTime:0.002336s ]
- [ SQL ] SELECT `post`.* FROM `cmf_portal_post` `post` INNER JOIN `cmf_portal_category_post` `relation` ON `post`.`id`=`relation`.`post_id` WHERE `post`.`post_type` = '1' AND `post`.`post_status` = '1' AND `post`.`delete_time` = '0' AND `relation`.`category_id` = '7' AND `relation`.`post_id` = '48' AND ( `post`.`published_time` < '1735267666' and `post`.`published_time` > '0' ) LIMIT 1 [ RunTime:0.004658s ]
- [ EXPLAIN : array (
'id' => 1,
'select_type' => 'SIMPLE',
'table' => 'post',
'partitions' => NULL,
'type' => 'const',
'possible_keys' => 'PRIMARY,type_status_date',
'key' => 'PRIMARY',
'key_len' => '8',
'ref' => 'const',
'rows' => 1,
'filtered' => 100.0,
'extra' => NULL,
) ]
- [ SQL ] SELECT `post`.* FROM `cmf_portal_post` `post` INNER JOIN `cmf_portal_category_post` `relation` ON `post`.`id`=`relation`.`post_id` WHERE `post`.`post_type` = '1' AND `post`.`post_status` = '1' AND `post`.`delete_time` = '0' AND `relation`.`category_id` = '7' AND `relation`.`post_id` < '48' AND ( `post`.`published_time` < '1735267666' and `post`.`published_time` > '0' ) ORDER BY `id` DESC LIMIT 1 [ RunTime:0.002431s ]
- [ EXPLAIN : array (
'id' => 1,
'select_type' => 'SIMPLE',
'table' => 'relation',
'partitions' => NULL,
'type' => 'ref',
'possible_keys' => 'term_taxonomy_id',
'key' => 'term_taxonomy_id',
'key_len' => '8',
'ref' => 'const',
'rows' => 24,
'filtered' => 33.32999801635742,
'extra' => 'Using index condition; Using where; Using temporary; Using filesort',
) ]
- [ SQL ] SELECT `post`.* FROM `cmf_portal_post` `post` INNER JOIN `cmf_portal_category_post` `relation` ON `post`.`id`=`relation`.`post_id` WHERE `post`.`post_type` = '1' AND `post`.`post_status` = '1' AND `post`.`delete_time` = '0' AND `relation`.`category_id` = '7' AND `relation`.`post_id` > '48' AND ( `post`.`published_time` < '1735267666' and `post`.`published_time` > '0' ) ORDER BY `id` ASC LIMIT 1 [ RunTime:0.003732s ]
- [ EXPLAIN : array (
'id' => 1,
'select_type' => 'SIMPLE',
'table' => 'relation',
'partitions' => NULL,
'type' => 'ref',
'possible_keys' => 'term_taxonomy_id',
'key' => 'term_taxonomy_id',
'key_len' => '8',
'ref' => 'const',
'rows' => 24,
'filtered' => 33.32999801635742,
'extra' => 'Using index condition; Using where; Using temporary; Using filesort',
) ]
- [ SQL ] SHOW COLUMNS FROM `cmf_portal_category` [ RunTime:0.001452s ]
- [ SQL ] SELECT * FROM `cmf_portal_category` WHERE `id` = 7 AND `status` = 1 LIMIT 1 [ RunTime:0.000980s ]
- [ EXPLAIN : array (
'id' => 1,
'select_type' => 'SIMPLE',
'table' => 'cmf_portal_category',
'partitions' => NULL,
'type' => 'const',
'possible_keys' => 'PRIMARY',
'key' => 'PRIMARY',
'key_len' => '8',
'ref' => 'const',
'rows' => 1,
'filtered' => 100.0,
'extra' => NULL,
) ]
- [ SQL ] UPDATE `cmf_portal_post` SET `post_hits` = `post_hits` + 1 WHERE `id` = 48 [ RunTime:0.002763s ]
- [ SQL ] SHOW COLUMNS FROM `cmf_plugin` [ RunTime:0.001502s ]
- [ SQL ] SELECT `config` FROM `cmf_plugin` WHERE `name` = 'Smo' LIMIT 1 [ RunTime:0.001056s ]
- [ EXPLAIN : array (
'id' => 1,
'select_type' => 'SIMPLE',
'table' => 'cmf_plugin',
'partitions' => NULL,
'type' => 'ALL',
'possible_keys' => NULL,
'key' => NULL,
'key_len' => NULL,
'ref' => NULL,
'rows' => 3,
'filtered' => 33.333335876464844,
'extra' => 'Using where',
) ]
0.081418s