基本
文件
流程
错误
SQL
调试
- 请求信息 : 2024-04-27 09:53:50 HTTP/1.1 GET : http://www.hshuge.com/portal/news/index/cid/2.html
- 运行时间 : 0.202911s [ 吞吐率:4.93req/s ] 内存消耗:4,120.69kb 文件加载:103
- 查询信息 : 22 queries 1 writes
- 缓存信息 : 5 reads,0 writes
- [ LANG ] /www/wwwroot/www.hshuge.com/vendor/thinkphp/lang/zh-cn.php
- [ DB ] INIT mysql
- [ LANG ] /www/wwwroot/www.hshuge.com/vendor/thinkcmf/cmf/src/behavior/../lang/zh-cn.php
- [ LANG ] /www/wwwroot/www.hshuge.com/app/admin/lang/zh-cn/common.php
- [ LANG ] /www/wwwroot/www.hshuge.com/app/portal/lang/zh-cn/common.php
- [ LANG ] /www/wwwroot/www.hshuge.com/app/portal//lang/zh-cn.php
- [ ROUTE ] array (
)
- [ HEADER ] array (
'host' => 'www.hshuge.com',
'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 (
'cid' => '2',
)
- [ LANG ] /www/wwwroot/www.hshuge.com/app/portal/lang/zh-cn/home.php
- [ VIEW ] /www/wwwroot/www.hshuge.com/public/themes/default/portal/news/index.html [ array (
0 => 'site_info',
1 => 'case_list',
2 => 'news_list',
3 => 'pages',
4 => 'list',
5 => 'title',
6 => 'theme_vars',
7 => 'theme_widgets',
) ]
- [ DB ] CONNECT:[ UseTime:0.000573s ] mysql:host=127.0.0.1;port=3306;dbname=hshuge_db;charset=utf8mb4
- [ SQL ] SHOW COLUMNS FROM `cmf_hook` [ RunTime:0.002967s ]
- [ SQL ] SELECT `hook` FROM `cmf_hook` WHERE `type` = 1 OR ( `type` = 3 AND ( `app` = '' or `app` = 'cmf' ) ) [ RunTime:0.000433s ]
- [ EXPLAIN : array (
'id' => 1,
'select_type' => 'SIMPLE',
'table' => 'cmf_hook',
'type' => 'ALL',
'possible_keys' => NULL,
'key' => NULL,
'key_len' => NULL,
'ref' => NULL,
'rows' => 71,
'extra' => 'Using where',
) ]
- [ SQL ] SHOW COLUMNS FROM `cmf_hook_plugin` [ RunTime:0.003232s ]
- [ 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.000398s ]
- [ EXPLAIN : array (
'id' => 1,
'select_type' => 'SIMPLE',
'table' => 'cmf_hook_plugin',
'type' => 'ALL',
'possible_keys' => NULL,
'key' => NULL,
'key_len' => NULL,
'ref' => NULL,
'rows' => 1,
'extra' => 'Using where; Using filesort',
) ]
- [ SQL ] SHOW COLUMNS FROM `cmf_case_type` [ RunTime:0.003025s ]
- [ SQL ] SELECT * FROM `cmf_case_type` WHERE `delete_time` = 0 ORDER BY `list_order` ASC,`id` DESC [ RunTime:0.000701s ]
- [ EXPLAIN : array (
'id' => 1,
'select_type' => 'SIMPLE',
'table' => 'cmf_case_type',
'type' => 'ALL',
'possible_keys' => NULL,
'key' => NULL,
'key_len' => NULL,
'ref' => NULL,
'rows' => 4,
'extra' => 'Using where; Using filesort',
) ]
- [ SQL ] SHOW COLUMNS FROM `cmf_portal_category` [ RunTime:0.001823s ]
- [ SQL ] SELECT * FROM `cmf_portal_category` WHERE `parent_id` = 1 AND `delete_time` = 0 ORDER BY `list_order` ASC,`id` DESC [ RunTime:0.000377s ]
- [ EXPLAIN : array (
'id' => 1,
'select_type' => 'SIMPLE',
'table' => 'cmf_portal_category',
'type' => 'ALL',
'possible_keys' => NULL,
'key' => NULL,
'key_len' => NULL,
'ref' => NULL,
'rows' => 2,
'extra' => 'Using where; Using filesort',
) ]
- [ SQL ] SHOW COLUMNS FROM `cmf_portal_post` [ RunTime:0.010545s ]
- [ SQL ] SELECT `id` FROM `cmf_portal_category` WHERE `parent_id` = 1 AND `status` = 1 AND `delete_time` = 0 [ RunTime:0.000423s ]
- [ EXPLAIN : array (
'id' => 1,
'select_type' => 'SIMPLE',
'table' => 'cmf_portal_category',
'type' => 'ALL',
'possible_keys' => NULL,
'key' => NULL,
'key_len' => NULL,
'ref' => NULL,
'rows' => 2,
'extra' => 'Using where',
) ]
- [ SQL ] SELECT COUNT(*) AS tp_count FROM `cmf_portal_post` `p` INNER JOIN `cmf_portal_category_post` `cp` ON `cp`.`post_id`=`p`.`id` WHERE ( `p`.`delete_time` = 0 AND `p`.`post_status` = 1 AND `cp`.`category_id` = 2 AND `cp`.`category_id` = 2 ) [ RunTime:0.003807s ]
- [ EXPLAIN : array (
'id' => 1,
'select_type' => 'SIMPLE',
'table' => 'cp',
'type' => 'ref',
'possible_keys' => 'term_taxonomy_id',
'key' => 'term_taxonomy_id',
'key_len' => '8',
'ref' => 'const',
'rows' => 1,
'extra' => 'Using index condition',
) ]
- [ SQL ] SELECT `id` FROM `cmf_portal_category` WHERE `parent_id` = 1 AND `status` = 1 AND `delete_time` = 0 [ RunTime:0.000359s ]
- [ EXPLAIN : array (
'id' => 1,
'select_type' => 'SIMPLE',
'table' => 'cmf_portal_category',
'type' => 'ALL',
'possible_keys' => NULL,
'key' => NULL,
'key_len' => NULL,
'ref' => NULL,
'rows' => 2,
'extra' => 'Using where',
) ]
- [ SQL ] SELECT `p`.`id`,`p`.`post_title`,`p`.`published_time`,`p`.`post_excerpt`,`p`.`thumbnail`,`p`.`more` FROM `cmf_portal_post` `p` INNER JOIN `cmf_portal_category_post` `cp` ON `cp`.`post_id`=`p`.`id` WHERE ( `p`.`delete_time` = 0 AND `p`.`post_status` = 1 AND `cp`.`category_id` = 2 AND `cp`.`category_id` = 2 ) ORDER BY `cp`.`list_order` ASC,`p`.`id` DESC LIMIT 0,12 [ RunTime:0.001528s ]
- [ EXPLAIN : array (
'id' => 1,
'select_type' => 'SIMPLE',
'table' => 'cp',
'type' => 'ref',
'possible_keys' => 'term_taxonomy_id',
'key' => 'term_taxonomy_id',
'key_len' => '8',
'ref' => 'const',
'rows' => 1,
'extra' => 'Using index condition; Using temporary; Using filesort',
) ]
- [ SQL ] SELECT `name` FROM `cmf_portal_category` WHERE `id` = 2 LIMIT 1 [ RunTime:0.000285s ]
- [ EXPLAIN : array (
'id' => 1,
'select_type' => 'SIMPLE',
'table' => 'cmf_portal_category',
'type' => 'const',
'possible_keys' => 'PRIMARY',
'key' => 'PRIMARY',
'key_len' => '8',
'ref' => 'const',
'rows' => 1,
'extra' => NULL,
) ]
- [ SQL ] SHOW COLUMNS FROM `cmf_theme_file` [ RunTime:0.002316s ]
- [ SQL ] SELECT * FROM `cmf_theme_file` WHERE `theme` = 'default' [ RunTime:0.000374s ]
- [ EXPLAIN : array (
'id' => 1,
'select_type' => 'SIMPLE',
'table' => 'cmf_theme_file',
'type' => 'ALL',
'possible_keys' => NULL,
'key' => NULL,
'key_len' => NULL,
'ref' => NULL,
'rows' => 1,
'extra' => 'Using where',
) ]
- [ SQL ] SHOW COLUMNS FROM `cmf_theme` [ RunTime:0.002175s ]
- [ SQL ] UPDATE `cmf_theme` SET `name` = 'default' , `version` = '1.0.0' , `demo_url` = 'http://demo.thinkcmf.com' , `author` = 'ThinkCMF' , `lang` = 'zh-cn' , `author_url` = 'http://www.thinkcmf.com' , `keywords` = 'ThinkCMF默认模板' , `description` = 'ThinkCMF默认模板' WHERE `theme` = 'default' [ RunTime:0.005951s ]
- [ SQL ] SELECT `more` FROM `cmf_theme_file` WHERE `theme` = 'default' AND ( `is_public` = 1 OR `file` = 'portal/news/index' ) [ RunTime:0.000443s ]
- [ EXPLAIN : array (
'id' => 1,
'select_type' => 'SIMPLE',
'table' => 'cmf_theme_file',
'type' => 'ALL',
'possible_keys' => NULL,
'key' => NULL,
'key_len' => NULL,
'ref' => NULL,
'rows' => 1,
'extra' => 'Using where',
) ]
- [ SQL ] SHOW COLUMNS FROM `cmf_option` [ RunTime:0.002213s ]
- [ SQL ] SELECT `option_value` FROM `cmf_option` WHERE `option_name` = 'storage' LIMIT 1 [ RunTime:0.000271s ]
- [ 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',
) ]
- [ SQL ] SHOW COLUMNS FROM `cmf_link` [ RunTime:0.004701s ]
- [ SQL ] SELECT * FROM `cmf_link` WHERE `status` = 1 ORDER BY `list_order` ASC [ RunTime:0.000601s ]
- [ EXPLAIN : array (
'id' => 1,
'select_type' => 'SIMPLE',
'table' => 'cmf_link',
'type' => 'ref',
'possible_keys' => 'status',
'key' => 'status',
'key_len' => '1',
'ref' => 'const',
'rows' => 1,
'extra' => 'Using where; Using filesort',
) ]
0.204546s