基本
文件
流程
错误
SQL
调试
- 请求信息 : 2024-12-27 16:10:00 HTTP/1.1 GET : http://jnsansu.cn/post/27/6.html
- 运行时间 : 0.084525s [ 吞吐率:11.83req/s ] 内存消耗:3,334.14kb 文件加载: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' => '27',
'cid' => '6',
),
)
- [ HEADER ] array (
'content-type' => '',
'content-length' => '0',
'x-original-url' => '/post/27/6.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' => '27',
'cid' => '6',
)
- [ 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.000725s ] mysql:host=127.0.0.1;port=3306;dbname=jnsansucn;charset=utf8mb4
- [ SQL ] SHOW COLUMNS FROM `cmf_portal_post` [ RunTime:0.001641s ]
- [ 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` = '6' AND `relation`.`post_id` = '27' AND ( `post`.`published_time` < '1735287000' and `post`.`published_time` > '0' ) LIMIT 1 [ RunTime:0.003965s ]
- [ 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` = '6' AND `relation`.`post_id` < '27' AND ( `post`.`published_time` < '1735287000' and `post`.`published_time` > '0' ) ORDER BY `id` DESC LIMIT 1 [ RunTime:0.001812s ]
- [ 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' => 9,
'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` = '6' AND `relation`.`post_id` > '27' AND ( `post`.`published_time` < '1735287000' and `post`.`published_time` > '0' ) ORDER BY `id` ASC LIMIT 1 [ RunTime:0.004333s ]
- [ 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' => 9,
'filtered' => 33.32999801635742,
'extra' => 'Using index condition; Using where; Using temporary; Using filesort',
) ]
- [ SQL ] SHOW COLUMNS FROM `cmf_portal_category` [ RunTime:0.001325s ]
- [ SQL ] SELECT * FROM `cmf_portal_category` WHERE `id` = 6 AND `status` = 1 LIMIT 1 [ RunTime:0.000936s ]
- [ 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` = 27 [ RunTime:0.002446s ]
- [ SQL ] SHOW COLUMNS FROM `cmf_plugin` [ RunTime:0.001356s ]
- [ SQL ] SELECT `config` FROM `cmf_plugin` WHERE `name` = 'Smo' LIMIT 1 [ RunTime:0.001491s ]
- [ 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.090312s