基本
文件
流程
错误
SQL
调试
- 请求信息 : 2024-11-22 17:01:45 HTTP/1.1 GET : http://beilile.com/zixun/word/4228.html
- 运行时间 : 0.141318s [ 吞吐率:7.08req/s ] 内存消耗:3,992.09kb 文件加载:101
- 查询信息 : 14 queries 0 writes
- 缓存信息 : 5 reads,0 writes
- [ LANG ] /www/wwwroot/beilile/zixun/vendor/thinkphp/lang/zh-cn.php
- [ LANG ] /www/wwwroot/beilile/zixun/app/portal//lang/zh-cn.php
- [ ROUTE ] array (
'rule' => 'word/<id>',
'route' => 'portal/index/word',
'option' =>
array (
'merge_rule_regex' => false,
),
'var' =>
array (
'id' => '4228',
),
)
- [ HEADER ] array (
'host' => 'beilile.com',
'accept-encoding' => 'gzip, br, zstd, deflate',
'user-agent' => 'Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)',
'accept' => '*/*',
'content-type' => '',
'content-length' => '',
)
- [ PARAM ] array (
'id' => '4228',
)
- [ LANG ] /www/wwwroot/beilile/zixun/vendor/thinkcmf/cmf/src/behavior/../lang/zh-cn.php
- [ LANG ] /www/wwwroot/beilile/zixun/vendor/thinkcmf/cmf-app/src/admin/lang/zh-cn.php
- [ LANG ] /www/wwwroot/beilile/zixun/vendor/thinkcmf/cmf-app/src/admin/lang/zh-cn/common.php
- [ LANG ] /www/wwwroot/beilile/zixun/vendor/thinkcmf/cmf-app/src/user/lang/zh-cn.php
- [ LANG ] /www/wwwroot/beilile/zixun/app/portal/lang/zh-cn/common.php
- [ LANG ] /www/wwwroot/beilile/zixun/app/portal/lang/zh-cn/home.php
- [ DB ] INIT mysql
- [ DB ] INIT mysql
- [ DB ] INIT mysql
- [ DB ] INIT mysql
- [ VIEW ] /www/wwwroot/beilile/zixun/public/themes/default/portal/index/word.html [ array (
0 => 'site_info',
1 => 'word',
2 => 'page',
3 => 'list',
4 => 'hot_cate',
5 => 'link',
6 => 'page_str',
7 => 'theme_vars',
8 => 'theme_widgets',
) ]
- [ DB ] CONNECT:[ UseTime:0.000344s ] mysql:host=127.0.0.1;port=3306;dbname=news;charset=utf8mb4
- [ SQL ] SHOW COLUMNS FROM `cmf_portal_tag` [ RunTime:0.000777s ]
- [ SQL ] SELECT * FROM `cmf_portal_tag` WHERE `id` = 4228 AND `status` = 1 LIMIT 1 [ RunTime:0.000300s ]
- [ EXPLAIN : array (
'id' => 1,
'select_type' => 'SIMPLE',
'table' => 'cmf_portal_tag',
'type' => 'const',
'possible_keys' => 'PRIMARY',
'key' => 'PRIMARY',
'key_len' => '8',
'ref' => 'const',
'rows' => 1,
'extra' => NULL,
) ]
- [ SQL ] SHOW COLUMNS FROM `cmf_portal_tag_post` [ RunTime:0.000560s ]
- [ SQL ] SELECT COUNT(*) AS tp_count FROM `cmf_portal_tag_post` `tp` INNER JOIN `cmf_portal_post` `p` ON `p`.`id`=`tp`.`post_id` INNER JOIN `cmf_portal_category` `c` ON `c`.`id`=`p`.`category_id` WHERE `tag_id` = 4228 AND `p`.`delete_time` = '0' AND `post_status` = '1' LIMIT 1 [ RunTime:0.044707s ]
- [ EXPLAIN : array (
'id' => 1,
'select_type' => 'SIMPLE',
'table' => 'p',
'type' => 'ref',
'possible_keys' => 'PRIMARY,type_status_date',
'key' => 'type_status_date',
'key_len' => '1',
'ref' => 'const',
'rows' => 3791,
'extra' => 'Using where',
) ]
- [ SQL ] SELECT `p`.*,c.name as cname,c.id as cid FROM `cmf_portal_tag_post` `tp` INNER JOIN `cmf_portal_post` `p` ON `p`.`id`=`tp`.`post_id` INNER JOIN `cmf_portal_category` `c` ON `c`.`id`=`p`.`category_id` WHERE `tag_id` = 4228 AND `p`.`delete_time` = '0' AND `post_status` = '1' LIMIT 0,10 [ RunTime:0.057473s ]
- [ EXPLAIN : array (
'id' => 1,
'select_type' => 'SIMPLE',
'table' => 'p',
'type' => 'ref',
'possible_keys' => 'PRIMARY,type_status_date',
'key' => 'type_status_date',
'key_len' => '1',
'ref' => 'const',
'rows' => 3791,
'extra' => 'Using where',
) ]
- [ DB ] CONNECT:[ UseTime:0.000284s ] mysql:host=127.0.0.1;port=3306;dbname=news;charset=utf8mb4
- [ SQL ] SELECT `t`.`id`,`t`.`name` FROM `cmf_portal_tag_post` `tp` INNER JOIN `cmf_portal_tag` `t` ON `t`.`id`=`tp`.`tag_id` WHERE `post_id` = 4404 [ RunTime:0.000234s ]
- [ EXPLAIN : array (
'id' => 1,
'select_type' => 'SIMPLE',
'table' => 'tp',
'type' => 'ref',
'possible_keys' => 'post_id',
'key' => 'post_id',
'key_len' => '8',
'ref' => 'const',
'rows' => 2,
'extra' => 'Using index condition',
) ]
- [ DB ] CONNECT:[ UseTime:0.000201s ] mysql:host=127.0.0.1;port=3306;dbname=news;charset=utf8mb4
- [ SQL ] SHOW COLUMNS FROM `cmf_portal_category` [ RunTime:0.000697s ]
- [ SQL ] SELECT `id`,`name` FROM `cmf_portal_category` WHERE `parent_id` > 0 AND `delete_time` = 0 AND `status` = 1 LIMIT 12 [ RunTime:0.000266s ]
- [ EXPLAIN : array (
'id' => 1,
'select_type' => 'SIMPLE',
'table' => 'cmf_portal_category',
'type' => 'ALL',
'possible_keys' => NULL,
'key' => NULL,
'key_len' => NULL,
'ref' => NULL,
'rows' => 34,
'extra' => 'Using where',
) ]
- [ DB ] CONNECT:[ UseTime:0.000197s ] mysql:host=127.0.0.1;port=3306;dbname=news;charset=utf8mb4
- [ SQL ] SHOW COLUMNS FROM `cmf_link` [ RunTime:0.000576s ]
- [ SQL ] SELECT * FROM `cmf_link` WHERE `status` = 1 ORDER BY `list_order` DESC [ RunTime:0.000258s ]
- [ EXPLAIN : array (
'id' => 1,
'select_type' => 'SIMPLE',
'table' => 'cmf_link',
'type' => 'ALL',
'possible_keys' => 'status',
'key' => NULL,
'key_len' => NULL,
'ref' => NULL,
'rows' => 3,
'extra' => 'Using where; Using filesort',
) ]
- [ SQL ] SHOW COLUMNS FROM `cmf_theme_file` [ RunTime:0.000645s ]
- [ SQL ] SELECT `more` FROM `cmf_theme_file` WHERE `theme` = 'default' AND ( `is_public` = 1 OR `file` = 'portal/index/word' ) [ RunTime:0.000221s ]
- [ EXPLAIN : array (
'id' => 1,
'select_type' => 'SIMPLE',
'table' => 'cmf_theme_file',
'type' => 'ALL',
'possible_keys' => NULL,
'key' => NULL,
'key_len' => NULL,
'ref' => NULL,
'rows' => 8,
'extra' => 'Using where',
) ]
- [ SQL ] SHOW COLUMNS FROM `cmf_option` [ RunTime:0.000622s ]
- [ SQL ] SELECT `option_value` FROM `cmf_option` WHERE `option_name` = 'storage' LIMIT 1 [ RunTime:0.000163s ]
- [ EXPLAIN : array (
'id' => 1,
'select_type' => 'SIMPLE',
'table' => NULL,
'type' => NULL,
'possible_keys' => NULL,
'key' => NULL,
'key_len' => NULL,
'ref' => NULL,
'rows' => NULL,
'extra' => 'Impossible WHERE noticed after reading const tables',
) ]
0.141871s