基本
文件
流程
错误
SQL
调试
- 请求信息 : 2024-12-21 23:08:39 HTTP/1.0 GET : http://127.0.0.1:8081/portal/list/index/id/4.html?page=1
- 运行时间 : 0.036573s [ 吞吐率:27.34req/s ] 内存消耗:4,495.96kb 文件加载:108
- 查询信息 : 12 queries 0 writes
- 缓存信息 : 5 reads,0 writes
- [ LANG ] /var/www/html/vendor/thinkphp/lang/zh-cn.php
- [ DB ] INIT mysql
- [ LANG ] /var/www/html/app/portal//lang/zh-cn.php
- [ ROUTE ] array (
)
- [ HEADER ] array (
'host' => '127.0.0.1:8081',
'connection' => 'close',
'accept' => '*/*',
'user-agent' => 'Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)',
'accept-encoding' => 'gzip, br, zstd, deflate',
)
- [ PARAM ] array (
'page' => '1',
'id' => '4',
)
- [ LANG ] /var/www/html/vendor/thinkcmf/cmf/src/behavior/../lang/zh-cn.php
- [ LANG ] /var/www/html/vendor/thinkcmf/cmf-app/src/admin/lang/zh-cn.php
- [ LANG ] /var/www/html/vendor/thinkcmf/cmf-app/src/admin/lang/zh-cn/common.php
- [ LANG ] /var/www/html/vendor/thinkcmf/cmf-app/src/user/lang/zh-cn.php
- [ LANG ] /var/www/html/app/portal/lang/zh-cn/common.php
- [ LANG ] /var/www/html/app/portal/lang/zh-cn/home.php
- [ VIEW ] /var/www/html/public/themes/yunlianjiaotong/portal/list.html [ array (
0 => 'site_info',
1 => 'category',
2 => 'theme_vars',
3 => 'theme_widgets',
) ]
- [ DB ] INIT mysql
- [ DB ] CONNECT:[ UseTime:0.000663s ] mysql:host=mysql;port=3306;dbname=yunlianjiaotong;charset=utf8mb4
- [ SQL ] SHOW COLUMNS FROM `cmf_hook` [ RunTime:0.000496s ]
- [ SQL ] SELECT `hook` FROM `cmf_hook` WHERE `type` = 1 OR ( `type` = 3 AND ( `app` = '' or `app` = 'cmf' ) ) [ RunTime:0.000336s ]
- [ EXPLAIN : array (
'id' => 1,
'select_type' => 'SIMPLE',
'table' => 'cmf_hook',
'partitions' => NULL,
'type' => 'ALL',
'possible_keys' => NULL,
'key' => NULL,
'key_len' => NULL,
'ref' => NULL,
'rows' => 70,
'filtered' => 11.710000038146973,
'extra' => 'Using where',
) ]
- [ SQL ] SHOW COLUMNS FROM `cmf_hook_plugin` [ RunTime:0.000384s ]
- [ SQL ] SELECT `hook`,`plugin` FROM `cmf_hook_plugin` WHERE `status` = 1 AND `hook` IN ('app_begin','module_init','action_begin','view_filter','app_end','log_write','response_end','admin_init','home_init','send_mobile_verification_code','body_start','before_head_end','footer_start','before_footer','before_footer_end','before_body_end','left_sidebar_start','before_left_sidebar_end','right_sidebar_start','before_right_sidebar_end','comment','guestbook','switch_theme','after_content','before_content','log_write_done','switch_admin_theme','captcha_image') ORDER BY `list_order` ASC [ RunTime:0.000293s ]
- [ EXPLAIN : array (
'id' => 1,
'select_type' => 'SIMPLE',
'table' => 'cmf_hook_plugin',
'partitions' => NULL,
'type' => 'ALL',
'possible_keys' => NULL,
'key' => NULL,
'key_len' => NULL,
'ref' => NULL,
'rows' => 1,
'filtered' => 100.0,
'extra' => 'Using where; Using filesort',
) ]
- [ SQL ] SHOW COLUMNS FROM `cmf_portal_category` [ RunTime:0.000595s ]
- [ SQL ] SELECT * FROM `cmf_portal_category` WHERE `id` = 4 AND `status` = 1 LIMIT 1 [ RunTime:0.000396s ]
- [ 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 ] SHOW COLUMNS FROM `cmf_theme_file` [ RunTime:0.000409s ]
- [ SQL ] SELECT `more` FROM `cmf_theme_file` WHERE `theme` = 'yunlianjiaotong' AND ( `is_public` = 1 OR `file` = 'portal/list' ) [ RunTime:0.000245s ]
- [ EXPLAIN : array (
'id' => 1,
'select_type' => 'SIMPLE',
'table' => 'cmf_theme_file',
'partitions' => NULL,
'type' => 'ALL',
'possible_keys' => NULL,
'key' => NULL,
'key_len' => NULL,
'ref' => NULL,
'rows' => 8,
'filtered' => 12.5,
'extra' => 'Using where',
) ]
- [ DB ] CONNECT:[ UseTime:0.000523s ] mysql:host=mysql;port=3306;dbname=yunlianjiaotong;charset=utf8mb4
- [ SQL ] SELECT * FROM `cmf_portal_category` WHERE `parent_id` = 1 [ RunTime:0.000301s ]
- [ EXPLAIN : array (
'id' => 1,
'select_type' => 'SIMPLE',
'table' => 'cmf_portal_category',
'partitions' => NULL,
'type' => 'ALL',
'possible_keys' => NULL,
'key' => NULL,
'key_len' => NULL,
'ref' => NULL,
'rows' => 13,
'filtered' => 10.0,
'extra' => 'Using where',
) ]
- [ SQL ] SHOW COLUMNS FROM `cmf_portal_post` [ RunTime:0.000519s ]
- [ SQL ] SELECT COUNT(*) AS tp_count FROM ( SELECT count(*) AS think_count FROM `cmf_portal_post` `post` INNER JOIN `cmf_portal_category_post` `category_post` ON `post`.`id`=`category_post`.`post_id` WHERE `post`.`post_status` = 1 AND `post`.`post_type` = 1 AND `post`.`delete_time` = 0 AND ( `post`.`create_time` >= 0 ) AND ( `category_post`.`category_id` = '4' ) AND ( `post`.`published_time` > 0 and `post`.`published_time` < 1734793719 ) GROUP BY `post`.`id` ) `_group_count_` [ RunTime:0.000462s ]
- [ EXPLAIN : array (
'id' => 1,
'select_type' => 'PRIMARY',
'table' => '<derived2>',
'partitions' => NULL,
'type' => 'ALL',
'possible_keys' => NULL,
'key' => NULL,
'key_len' => NULL,
'ref' => NULL,
'rows' => 2,
'filtered' => 100.0,
'extra' => NULL,
) ]
- [ SQL ] SELECT post.*,min(category_post.category_id) as category_id FROM `cmf_portal_post` `post` INNER JOIN `cmf_portal_category_post` `category_post` ON `post`.`id`=`category_post`.`post_id` WHERE `post`.`post_status` = 1 AND `post`.`post_type` = 1 AND `post`.`delete_time` = 0 AND ( `post`.`create_time` >= 0 ) AND ( `category_post`.`category_id` = '4' ) AND ( `post`.`published_time` > 0 and `post`.`published_time` < 1734793719 ) GROUP BY `post`.`id` ORDER BY `post`.`published_time` DESC LIMIT 0,10 [ RunTime:0.000939s ]
- [ EXPLAIN : array (
'id' => 1,
'select_type' => 'SIMPLE',
'table' => 'category_post',
'partitions' => NULL,
'type' => 'ref',
'possible_keys' => 'term_taxonomy_id',
'key' => 'term_taxonomy_id',
'key_len' => '8',
'ref' => 'const',
'rows' => 26,
'filtered' => 100.0,
'extra' => 'Using index condition; Using temporary; Using filesort',
) ]
0.037060s