基本
文件
流程
错误
SQL
调试
- 请求信息 : 2023-06-01 12:46:58 HTTP/1.1 GET : haitaoqq.com/shangpin/fushi/13179.html
- 运行时间 : 0.665728s [ 吞吐率:1.50req/s ] 内存消耗:1,442.06kb 文件加载:186
- 查询信息 : 26 queries 1 writes
- 缓存信息 : 1 reads,0 writes
- 配置加载 : 70
- 会话信息 : SESSION_ID=d15lr8dbg2m3v65uoc7dkqv1p1
- [ CACHE ] INIT File
- [ BEHAVIOR ] Run cmf\behavior\InitHookBehavior @app_init [ RunTime:0.000935s ]
- [ LANG ] /data/user/htdocs/simplewind/thinkphp/lang/zh-cn.php
- [ ROUTE ] array (
'type' => 'module',
'module' =>
array (
0 => 'portal',
1 => 'Article',
2 => 'index',
),
'convert' => false,
)
- [ HEADER ] array (
'connection' => 'Keep-Alive',
'host' => 'haitaoqq.com',
'accept-encoding' => 'br,gzip',
'if-modified-since' => 'Thu, 08 Dec 2022 05:25:15 GMT',
'accept-language' => 'en-US,en;q=0.5',
'accept' => 'text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8',
'user-agent' => 'CCBot/2.0 (https://commoncrawl.org/faq/)',
'content-type' => '',
'content-length' => '',
)
- [ PARAM ] array (
'id' => '13179',
'cid' => '9',
)
- [ LANG ] /data/user/htdocs/simplewind/cmf/behavior/../lang/zh-cn.php
- [ LANG ] /data/user/htdocs/app/admin/lang/zh-cn/common.php
- [ LANG ] /data/user/htdocs/app/portal/lang/zh-cn/common.php
- [ BEHAVIOR ] Run cmf\behavior\LangBehavior @app_begin [ RunTime:0.000752s ]
- [ LANG ] /data/user/htdocs/app/portal/lang/zh-cn.php
- [ BEHAVIOR ] Run cmf\behavior\InitAppHookBehavior @module_init [ RunTime:0.000197s ]
- [ LANG ] /data/user/htdocs/app/portal/lang/zh-cn/home.php
- [ BEHAVIOR ] Run cmf\behavior\HomeLangBehavior @home_init [ RunTime:0.000362s ]
- [ SESSION ] INIT array (
'id' => '',
'var_session_id' => '',
'prefix' => 'think',
'type' => '',
'auto_start' => true,
)
- [ RUN ] app\portal\controller\ArticleController->index[ /data/user/htdocs/app/portal/controller/ArticleController.php ]
- [ DB ] INIT mysql
- [ VIEW ] /data/user/htdocs/public/themes/simpleboot3/portal/fee.html [ array (
0 => 'wap',
1 => 'site_domain',
2 => 'site_info',
3 => 'pcat',
4 => 'category',
5 => 'article',
6 => 'prev_article',
7 => 'next_article',
8 => 'theme_vars',
9 => 'theme_widgets',
) ]
- [2]DOMDocument::loadHTML(): htmlParseEntityRef: no name in Entity, line: 5[/data/user/htdocs/simplewind/vendor/electrolinux/phpquery/phpQuery/phpQuery/DOMDocumentWrapper.php:200]
- [2]DOMDocument::loadHTML(): htmlParseEntityRef: no name in Entity, line: 5[/data/user/htdocs/simplewind/vendor/electrolinux/phpquery/phpQuery/phpQuery/DOMDocumentWrapper.php:200]
- [2]DOMDocument::loadHTML(): htmlParseEntityRef: no name in Entity, line: 7[/data/user/htdocs/simplewind/vendor/electrolinux/phpquery/phpQuery/phpQuery/DOMDocumentWrapper.php:200]
- [2]DOMDocument::loadHTML(): htmlParseEntityRef: no name in Entity, line: 5[/data/user/htdocs/simplewind/vendor/electrolinux/phpquery/phpQuery/phpQuery/DOMDocumentWrapper.php:200]
- [2]DOMDocument::loadHTML(): htmlParseEntityRef: no name in Entity, line: 5[/data/user/htdocs/simplewind/vendor/electrolinux/phpquery/phpQuery/phpQuery/DOMDocumentWrapper.php:200]
- [2]DOMDocument::loadHTML(): htmlParseEntityRef: no name in Entity, line: 7[/data/user/htdocs/simplewind/vendor/electrolinux/phpquery/phpQuery/phpQuery/DOMDocumentWrapper.php:200]
- [ DB ] CONNECT:[ UseTime:0.019190s ] mysql:host=xdm721917531.my3w.com;port=3306;dbname=xdm721917531_db;charset=utf8mb4
- [ SQL ] SHOW COLUMNS FROM `cmf_portal_post` [ RunTime:0.001987s ]
- [ 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` = '9' AND `relation`.`post_id` = '13179' AND ( `post`.`published_time` < '1685594818' and `post`.`published_time` > '0' ) LIMIT 1 [ RunTime:0.010610s ]
- [ 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 ] SHOW COLUMNS FROM `cmf_option` [ RunTime:0.001727s ]
- [ SQL ] SELECT `option_value` FROM `cmf_option` WHERE `option_name` = 'storage' LIMIT 1 [ RunTime:0.001233s ]
- [ EXPLAIN : array (
'id' => 1,
'select_type' => 'SIMPLE',
'table' => NULL,
'partitions' => NULL,
'type' => NULL,
'possible_keys' => NULL,
'key' => NULL,
'key_len' => NULL,
'ref' => NULL,
'rows' => NULL,
'filtered' => NULL,
'extra' => 'no matching row in const table',
) ]
- [ 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` = '9' AND `relation`.`post_id` < '13179' AND ( `post`.`published_time` < '1685594818' and `post`.`published_time` > '0' ) ORDER BY `id` DESC LIMIT 1 [ RunTime:0.128831s ]
- [ 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' => 2553,
'filtered' => 33.329998016357422,
'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` = '9' AND `relation`.`post_id` > '13179' AND ( `post`.`published_time` < '1685594818' and `post`.`published_time` > '0' ) ORDER BY `id` ASC LIMIT 1 [ RunTime:0.009669s ]
- [ EXPLAIN : array (
'id' => 1,
'select_type' => 'SIMPLE',
'table' => 'post',
'partitions' => NULL,
'type' => 'range',
'possible_keys' => 'PRIMARY,type_status_date',
'key' => 'PRIMARY',
'key_len' => '8',
'ref' => NULL,
'rows' => 4,
'filtered' => 1.25,
'extra' => 'Using where',
) ]
- [ SQL ] SHOW COLUMNS FROM `cmf_portal_category` [ RunTime:0.001712s ]
- [ SQL ] SELECT * FROM `cmf_portal_category` WHERE `id` = 9 AND `status` = 1 LIMIT 1 [ RunTime:0.001216s ]
- [ 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 ] SELECT * FROM `cmf_portal_category` WHERE `id` = 4 AND `status` = 1 LIMIT 1 [ RunTime:0.001186s ]
- [ 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` = 13179 [ RunTime:0.003621s ]
- [ SQL ] SHOW COLUMNS FROM `cmf_theme_file` [ RunTime:0.001607s ]
- [ SQL ] SELECT `more` FROM `cmf_theme_file` WHERE `theme` = 'simpleboot3' AND ( `is_public` = 1 OR `file` = 'public/portal/fee' ) [ RunTime:0.001168s ]
- [ 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' => 22,
'filtered' => 4.5454545021057129,
'extra' => 'Using where',
) ]
- [ SQL ] SHOW COLUMNS FROM `cmf_nav` [ RunTime:0.001481s ]
- [ SQL ] SELECT `id` FROM `cmf_nav` WHERE `is_main` = 1 LIMIT 1 [ RunTime:0.001110s ]
- [ EXPLAIN : array (
'id' => 1,
'select_type' => 'SIMPLE',
'table' => 'cmf_nav',
'partitions' => NULL,
'type' => 'ALL',
'possible_keys' => NULL,
'key' => NULL,
'key_len' => NULL,
'ref' => NULL,
'rows' => 2,
'filtered' => 50.0,
'extra' => 'Using where',
) ]
- [ SQL ] SHOW COLUMNS FROM `cmf_nav_menu` [ RunTime:0.001582s ]
- [ SQL ] SELECT * FROM `cmf_nav_menu` WHERE `nav_id` = 1 AND `status` = 1 ORDER BY `list_order` ASC [ RunTime:0.001136s ]
- [ EXPLAIN : array (
'id' => 1,
'select_type' => 'SIMPLE',
'table' => 'cmf_nav_menu',
'partitions' => NULL,
'type' => 'ALL',
'possible_keys' => NULL,
'key' => NULL,
'key_len' => NULL,
'ref' => NULL,
'rows' => 36,
'filtered' => 2.7777779102325439,
'extra' => 'Using where; Using filesort',
) ]
- [ SQL ] SELECT COUNT(*) AS tp_count FROM ( SELECT 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` = '9' ) AND ( `post`.`published_time` > '0' and `post`.`published_time` < 1685594818 ) GROUP BY `post`.`id` ) `_group_count_` LIMIT 1 [ RunTime:0.031345s ]
- [ EXPLAIN : array (
'id' => 1,
'select_type' => 'PRIMARY',
'table' => '<derived2>',
'partitions' => NULL,
'type' => 'ALL',
'possible_keys' => NULL,
'key' => NULL,
'key_len' => NULL,
'ref' => NULL,
'rows' => 127,
'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` = '9' ) AND ( `post`.`published_time` > '0' and `post`.`published_time` < 1685594818 ) GROUP BY `post`.`id` ORDER BY `post`.`create_time` DESC LIMIT 0,3 [ RunTime:0.156652s ]
- [ 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' => 2553,
'filtered' => 100.0,
'extra' => 'Using index condition; Using temporary; Using filesort',
) ]
- [ SQL ] SHOW COLUMNS FROM `cmf_portal_category_post` [ RunTime:0.001659s ]
- [ SQL ] SELECT * FROM `cmf_portal_category_post` WHERE `post_id` = 13174 LIMIT 1 [ RunTime:0.001188s ]
- [ EXPLAIN : array (
'id' => 1,
'select_type' => 'SIMPLE',
'table' => 'cmf_portal_category_post',
'partitions' => NULL,
'type' => 'ALL',
'possible_keys' => NULL,
'key' => NULL,
'key_len' => NULL,
'ref' => NULL,
'rows' => 5107,
'filtered' => 10.0,
'extra' => 'Using where',
) ]
- [ SQL ] SELECT * FROM `cmf_portal_category_post` WHERE `post_id` = 13174 LIMIT 1 [ RunTime:0.001169s ]
- [ EXPLAIN : array (
'id' => 1,
'select_type' => 'SIMPLE',
'table' => 'cmf_portal_category_post',
'partitions' => NULL,
'type' => 'ALL',
'possible_keys' => NULL,
'key' => NULL,
'key_len' => NULL,
'ref' => NULL,
'rows' => 5107,
'filtered' => 10.0,
'extra' => 'Using where',
) ]
- [ SQL ] SELECT * FROM `cmf_portal_category_post` WHERE `post_id` = 13175 LIMIT 1 [ RunTime:0.001264s ]
- [ EXPLAIN : array (
'id' => 1,
'select_type' => 'SIMPLE',
'table' => 'cmf_portal_category_post',
'partitions' => NULL,
'type' => 'ALL',
'possible_keys' => NULL,
'key' => NULL,
'key_len' => NULL,
'ref' => NULL,
'rows' => 5107,
'filtered' => 10.0,
'extra' => 'Using where',
) ]
- [ SQL ] SELECT * FROM `cmf_portal_category_post` WHERE `post_id` = 13175 LIMIT 1 [ RunTime:0.001220s ]
- [ EXPLAIN : array (
'id' => 1,
'select_type' => 'SIMPLE',
'table' => 'cmf_portal_category_post',
'partitions' => NULL,
'type' => 'ALL',
'possible_keys' => NULL,
'key' => NULL,
'key_len' => NULL,
'ref' => NULL,
'rows' => 5107,
'filtered' => 10.0,
'extra' => 'Using where',
) ]
- [ SQL ] SELECT * FROM `cmf_portal_category_post` WHERE `post_id` = 13176 LIMIT 1 [ RunTime:0.001176s ]
- [ EXPLAIN : array (
'id' => 1,
'select_type' => 'SIMPLE',
'table' => 'cmf_portal_category_post',
'partitions' => NULL,
'type' => 'ALL',
'possible_keys' => NULL,
'key' => NULL,
'key_len' => NULL,
'ref' => NULL,
'rows' => 5107,
'filtered' => 10.0,
'extra' => 'Using where',
) ]
- [ SQL ] SELECT * FROM `cmf_portal_category_post` WHERE `post_id` = 13176 LIMIT 1 [ RunTime:0.001143s ]
- [ EXPLAIN : array (
'id' => 1,
'select_type' => 'SIMPLE',
'table' => 'cmf_portal_category_post',
'partitions' => NULL,
'type' => 'ALL',
'possible_keys' => NULL,
'key' => NULL,
'key_len' => NULL,
'ref' => NULL,
'rows' => 5107,
'filtered' => 10.0,
'extra' => 'Using where',
) ]
- [ SQL ] SELECT COUNT(*) AS tp_count FROM ( SELECT 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`.`id` <> 13179 AND ( `category_post`.`category_id` = '9' ) AND ( `post`.`published_time` > '0' and `post`.`published_time` < 1685594818 ) GROUP BY `post`.`id` ) `_group_count_` LIMIT 1 [ RunTime:0.033454s ]
- [ EXPLAIN : array (
'id' => 1,
'select_type' => 'PRIMARY',
'table' => '<derived2>',
'partitions' => NULL,
'type' => 'ALL',
'possible_keys' => NULL,
'key' => NULL,
'key_len' => NULL,
'ref' => NULL,
'rows' => 127,
'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`.`id` <> 13179 AND ( `category_post`.`category_id` = '9' ) AND ( `post`.`published_time` > '0' and `post`.`published_time` < 1685594818 ) GROUP BY `post`.`id` ORDER BY `post`.`update_time` DESC LIMIT 0,5 [ RunTime:0.188844s ]
- [ 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' => 2553,
'filtered' => 100.0,
'extra' => 'Using index condition; Using where; Using temporary; Using filesort',
) ]
