基本
文件
流程
错误
SQL
调试
- 请求信息 : 2021-01-19 10:27:26 HTTP/1.1 GET : http://52yuj.com/cidian.html
- 运行时间 : 9.485164s [ 吞吐率:0.11req/s ] 内存消耗:4,540.09kb 文件加载:107
- 查询信息 : 49 queries 7 writes
- 缓存信息 : 5 reads,0 writes
- [ LANG ] D:\website\zici\test\ciyu_tool/vendor\thinkphp\lang\zh-cn.php
- [ DB ] INIT mysql
- [ LANG ] D:\website\zici\test\ciyu_tool\app\portal\\lang\zh-cn.php
- [ ROUTE ] array (
'rule' => 'cidian',
'route' => 'portal/List/index?id=6',
'option' =>
array (
'merge_rule_regex' => false,
),
'var' =>
array (
),
)
- [ HEADER ] array (
'content-type' => '',
'content-length' => '0',
'x-original-url' => '/cidian.html',
'user-agent' => 'CCBot/2.0 (https://commoncrawl.org/faq/)',
'host' => '52yuj.com',
'accept-language' => 'en-US,en;q=0.5',
'accept-encoding' => 'br,gzip',
'accept' => 'text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8',
'connection' => 'Keep-Alive',
)
- [ PARAM ] array (
'id' => '6',
)
- [ LANG ] D:\website\zici\test\ciyu_tool\vendor\thinkcmf\cmf\src\behavior/../lang\zh-cn.php
- [ LANG ] D:\website\zici\test\ciyu_tool\vendor/thinkcmf/cmf-app/src/admin/lang/zh-cn.php
- [ LANG ] D:\website\zici\test\ciyu_tool\vendor/thinkcmf/cmf-app/src/admin/lang/zh-cn/common.php
- [ LANG ] D:\website\zici\test\ciyu_tool\vendor/thinkcmf/cmf-app/src/user/lang/zh-cn.php
- [ LANG ] D:\website\zici\test\ciyu_tool/app/portal\lang\zh-cn\common.php
- [ LANG ] D:\website\zici\test\ciyu_tool/app/portal\lang\zh-cn\home.php
- [ VIEW ] D:\website\zici\test\ciyu_tool\public/themes/default/portal\list.html [ array (
0 => 'site_info',
1 => 'category',
2 => 'theme_vars',
3 => 'theme_widgets',
) ]
- [ DB ] CONNECT:[ UseTime:0.010170s ] mysql:host=127.0.0.1;port=3308;dbname=ciyu_tool1;charset=utf8mb4
- [ SQL ] SHOW COLUMNS FROM `cmf_hook` [ RunTime:0.001505s ]
- [ SQL ] SELECT `hook` FROM `cmf_hook` WHERE `type` = 1 OR ( `type` = 3 AND ( `app` = '' or `app` = 'cmf' ) ) [ RunTime:0.000766s ]
- [ 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' => 71,
'filtered' => 11.710000038146973,
'extra' => 'Using where',
) ]
- [ SQL ] SHOW COLUMNS FROM `cmf_hook_plugin` [ RunTime:0.001382s ]
- [ 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','app_dispatch') ORDER BY `list_order` ASC [ RunTime:0.000837s ]
- [ 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.003283s ]
- [ SQL ] SELECT * FROM `cmf_portal_category` WHERE `id` = 6 AND `status` = 1 LIMIT 1 [ RunTime:0.000698s ]
- [ 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.001546s ]
- [ SQL ] SELECT * FROM `cmf_theme_file` WHERE `theme` = 'default' AND `file` = 'portal/article' LIMIT 1 [ RunTime:0.000702s ]
- [ 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' => 14,
'filtered' => 7.142856597900391,
'extra' => 'Using where',
) ]
- [ SQL ] UPDATE `cmf_theme_file` SET `theme` = 'default' , `action` = 'portal/Article/index' , `file` = 'portal/article' , `name` = '文章页' , `more` = '[]' , `config_more` = '[]' , `description` = '文章页模板文件' , `is_public` = 0 , `list_order` = 10 WHERE `theme` = 'default' AND `file` = 'portal/article' [ RunTime:0.023011s ]
- [ SQL ] SELECT * FROM `cmf_theme_file` WHERE `theme` = 'default' AND `file` = 'portal/link' LIMIT 1 [ RunTime:0.000691s ]
- [ 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' => 14,
'filtered' => 7.142856597900391,
'extra' => 'Using where',
) ]
- [ SQL ] UPDATE `cmf_theme_file` SET `theme` = 'default' , `action` = 'portal/Page/index' , `file` = 'portal/link' , `name` = '友情链接单页面' , `more` = '[]' , `config_more` = '[]' , `description` = '单页面友情链接模板文件' , `is_public` = 0 , `list_order` = 9 WHERE `theme` = 'default' AND `file` = 'portal/link' [ RunTime:0.018808s ]
- [ SQL ] SELECT * FROM `cmf_theme_file` WHERE `theme` = 'default' AND `file` = 'portal/list' LIMIT 1 [ RunTime:0.000649s ]
- [ 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' => 14,
'filtered' => 7.142856597900391,
'extra' => 'Using where',
) ]
- [ SQL ] UPDATE `cmf_theme_file` SET `theme` = 'default' , `action` = 'portal/List/index' , `file` = 'portal/list' , `name` = '文章列表页' , `more` = '[]' , `config_more` = '[]' , `description` = '文章列表模板文件' , `is_public` = 0 , `list_order` = 10 WHERE `theme` = 'default' AND `file` = 'portal/list' [ RunTime:0.018121s ]
- [ SQL ] SELECT * FROM `cmf_theme_file` WHERE `theme` = 'default' AND `file` = 'portal/page' LIMIT 1 [ RunTime:0.000692s ]
- [ 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' => 14,
'filtered' => 7.142856597900391,
'extra' => 'Using where',
) ]
- [ SQL ] UPDATE `cmf_theme_file` SET `theme` = 'default' , `action` = 'portal/Page/index' , `file` = 'portal/page' , `name` = '单页面' , `more` = '[]' , `config_more` = '[]' , `description` = '单页面模板文件' , `is_public` = 0 , `list_order` = 10 WHERE `theme` = 'default' AND `file` = 'portal/page' [ RunTime:0.018874s ]
- [ SQL ] SELECT * FROM `cmf_theme_file` WHERE `theme` = 'default' AND `file` = 'public/config' LIMIT 1 [ RunTime:0.000658s ]
- [ 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' => 14,
'filtered' => 7.142856597900391,
'extra' => 'Using where',
) ]
- [ SQL ] UPDATE `cmf_theme_file` SET `theme` = 'default' , `action` = 'public/Config' , `file` = 'public/config' , `name` = '模板全局配置' , `more` = '{\"vars\":{\"enable_mobile\":{\"title\":\"\\u624b\\u673a\\u6ce8\\u518c\",\"value\":1,\"type\":\"select\",\"options\":{\"1\":\"\\u5f00\\u542f\",\"0\":\"\\u5173\\u95ed\"},\"tip\":\"\"}}}' , `config_more` = '{\"vars\":{\"enable_mobile\":{\"title\":\"\\u624b\\u673a\\u6ce8\\u518c\",\"value\":1,\"type\":\"select\",\"options\":{\"1\":\"\\u5f00\\u542f\",\"0\":\"\\u5173\\u95ed\"},\"tip\":\"\"}}}' , `description` = '模板全局配置文件' , `is_public` = 1 , `list_order` = 0 WHERE `theme` = 'default' AND `file` = 'public/config' [ RunTime:0.018061s ]
- [ SQL ] SELECT * FROM `cmf_theme_file` WHERE `theme` = 'default' AND `file` = 'public/nav' LIMIT 1 [ RunTime:0.000764s ]
- [ 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' => 14,
'filtered' => 7.142856597900391,
'extra' => 'Using where',
) ]
- [ SQL ] UPDATE `cmf_theme_file` SET `theme` = 'default' , `action` = 'public/Nav' , `file` = 'public/nav' , `name` = '导航条' , `more` = '{\"vars\":{\"company_name\":{\"title\":\"\\u516c\\u53f8\\u540d\\u79f0\",\"name\":\"company_name\",\"value\":\"ThinkCMF\",\"type\":\"text\",\"tip\":\"\",\"rule\":[]}}}' , `config_more` = '{\"vars\":{\"company_name\":{\"title\":\"\\u516c\\u53f8\\u540d\\u79f0\",\"name\":\"company_name\",\"value\":\"ThinkCMF\",\"type\":\"text\",\"tip\":\"\",\"rule\":[]}}}' , `description` = '导航条模板文件' , `is_public` = 1 , `list_order` = 1 WHERE `theme` = 'default' AND `file` = 'public/nav' [ RunTime:0.018402s ]
- [ SQL ] SELECT * FROM `cmf_theme_file` WHERE `theme` = 'default' [ RunTime:0.000674s ]
- [ 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' => 14,
'filtered' => 9.999999046325684,
'extra' => 'Using where',
) ]
- [ SQL ] SHOW COLUMNS FROM `cmf_theme` [ RunTime:0.001449s ]
- [ SQL ] UPDATE `cmf_theme` SET `name` = 'default' , `version` = '1.0.0' , `demo_url` = 'http://www.028zckj.cn' , `author` = 'jiang' , `lang` = 'zh-cn' , `author_url` = 'http://www.028zckj.cn' , `keywords` = '成都蓁成科技' , `description` = '成都蓁成科技制作' WHERE `theme` = 'default' [ RunTime:0.000516s ]
- [ SQL ] SELECT `more` FROM `cmf_theme_file` WHERE `theme` = 'default' AND ( `is_public` = 1 OR `file` = 'portal/list' ) [ RunTime:0.000627s ]
- [ 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' => 14,
'filtered' => 7.142856597900391,
'extra' => 'Using where',
) ]
- [ SQL ] SHOW COLUMNS FROM `cmf_nav_menu` [ RunTime:0.001396s ]
- [ SQL ] SELECT * FROM `cmf_nav_menu` WHERE `nav_id` = 1 AND `status` = 1 ORDER BY `list_order` ASC [ RunTime:0.000755s ]
- [ 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' => 28,
'filtered' => 3.5714282989501953,
'extra' => 'Using where; Using filesort',
) ]
- [ SQL ] SELECT * FROM `cmf_portal_category` WHERE `parent_id` = 6 [ RunTime:0.000638s ]
- [ 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' => 7,
'filtered' => 14.285713195800781,
'extra' => 'Using where',
) ]
- [ SQL ] SHOW COLUMNS FROM `cmf_portal_post` [ RunTime:0.001532s ]
- [ 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`.`id` >= 0 ) AND ( `category_post`.`category_id` = '6' ) AND ( `post`.`published_time` > 0 and `post`.`published_time` < 1611023247 ) GROUP BY `post`.`id` ) `_group_count_` [ RunTime:6.178319s ]
- [ EXPLAIN : array (
'id' => 1,
'select_type' => 'PRIMARY',
'table' => '<derived2>',
'partitions' => NULL,
'type' => 'ALL',
'possible_keys' => NULL,
'key' => NULL,
'key_len' => NULL,
'ref' => NULL,
'rows' => 467,
'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` >= 0 ) AND ( `category_post`.`category_id` = '6' ) AND ( `post`.`published_time` > 0 and `post`.`published_time` < 1611023247 ) GROUP BY `post`.`id` ORDER BY `post`.`id` DESC LIMIT 0,10 [ RunTime:2.808332s ]
- [ EXPLAIN : array (
'id' => 1,
'select_type' => 'SIMPLE',
'table' => 'post',
'partitions' => NULL,
'type' => 'range',
'possible_keys' => 'PRIMARY,type_status_date,user_id',
'key' => 'PRIMARY',
'key_len' => '8',
'ref' => NULL,
'rows' => 168398,
'filtered' => 0.5554444789886475,
'extra' => 'Using where',
) ]
- [ SQL ] SELECT `name` FROM `cmf_portal_category` WHERE `id` = 6 LIMIT 1 [ RunTime:0.000514s ]
- [ 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_portal_tag_post` [ RunTime:0.002961s ]
- [ SQL ] SELECT `p`.`tag_id`,`t`.`name`,`p`.`post_id` FROM `cmf_portal_tag_post` `p` LEFT JOIN `cmf_portal_tag` `t` ON `p`.`tag_id`=`t`.`id` WHERE ( t.status=1 ) AND ( p.post_id=316893 ) GROUP BY `t`.`name` LIMIT 5 [ RunTime:0.007127s ]
- [ EXPLAIN : array (
'id' => 1,
'select_type' => 'SIMPLE',
'table' => 'p',
'partitions' => NULL,
'type' => 'ref',
'possible_keys' => 'post_id,tag_id',
'key' => 'post_id',
'key_len' => '8',
'ref' => 'const',
'rows' => 1,
'filtered' => 100.0,
'extra' => 'Using temporary; Using filesort',
) ]
- [ SQL ] SELECT `name` FROM `cmf_portal_category` WHERE `id` = 6 LIMIT 1 [ RunTime:0.000470s ]
- [ 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 `p`.`tag_id`,`t`.`name`,`p`.`post_id` FROM `cmf_portal_tag_post` `p` LEFT JOIN `cmf_portal_tag` `t` ON `p`.`tag_id`=`t`.`id` WHERE ( t.status=1 ) AND ( p.post_id=316892 ) GROUP BY `t`.`name` LIMIT 5 [ RunTime:0.000690s ]
- [ EXPLAIN : array (
'id' => 1,
'select_type' => 'SIMPLE',
'table' => 'p',
'partitions' => NULL,
'type' => 'ref',
'possible_keys' => 'post_id,tag_id',
'key' => 'post_id',
'key_len' => '8',
'ref' => 'const',
'rows' => 1,
'filtered' => 100.0,
'extra' => 'Using temporary; Using filesort',
) ]
- [ SQL ] SELECT `name` FROM `cmf_portal_category` WHERE `id` = 6 LIMIT 1 [ RunTime:0.000472s ]
- [ 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 `p`.`tag_id`,`t`.`name`,`p`.`post_id` FROM `cmf_portal_tag_post` `p` LEFT JOIN `cmf_portal_tag` `t` ON `p`.`tag_id`=`t`.`id` WHERE ( t.status=1 ) AND ( p.post_id=316891 ) GROUP BY `t`.`name` LIMIT 5 [ RunTime:0.000692s ]
- [ EXPLAIN : array (
'id' => 1,
'select_type' => 'SIMPLE',
'table' => 'p',
'partitions' => NULL,
'type' => 'ref',
'possible_keys' => 'post_id,tag_id',
'key' => 'post_id',
'key_len' => '8',
'ref' => 'const',
'rows' => 1,
'filtered' => 100.0,
'extra' => 'Using temporary; Using filesort',
) ]
- [ SQL ] SELECT `name` FROM `cmf_portal_category` WHERE `id` = 6 LIMIT 1 [ RunTime:0.000467s ]
- [ 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 `p`.`tag_id`,`t`.`name`,`p`.`post_id` FROM `cmf_portal_tag_post` `p` LEFT JOIN `cmf_portal_tag` `t` ON `p`.`tag_id`=`t`.`id` WHERE ( t.status=1 ) AND ( p.post_id=316890 ) GROUP BY `t`.`name` LIMIT 5 [ RunTime:0.000724s ]
- [ EXPLAIN : array (
'id' => 1,
'select_type' => 'SIMPLE',
'table' => 'p',
'partitions' => NULL,
'type' => 'ref',
'possible_keys' => 'post_id,tag_id',
'key' => 'post_id',
'key_len' => '8',
'ref' => 'const',
'rows' => 1,
'filtered' => 100.0,
'extra' => 'Using temporary; Using filesort',
) ]
- [ SQL ] SELECT `name` FROM `cmf_portal_category` WHERE `id` = 6 LIMIT 1 [ RunTime:0.000475s ]
- [ 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 `p`.`tag_id`,`t`.`name`,`p`.`post_id` FROM `cmf_portal_tag_post` `p` LEFT JOIN `cmf_portal_tag` `t` ON `p`.`tag_id`=`t`.`id` WHERE ( t.status=1 ) AND ( p.post_id=316889 ) GROUP BY `t`.`name` LIMIT 5 [ RunTime:0.000694s ]
- [ EXPLAIN : array (
'id' => 1,
'select_type' => 'SIMPLE',
'table' => 'p',
'partitions' => NULL,
'type' => 'ref',
'possible_keys' => 'post_id,tag_id',
'key' => 'post_id',
'key_len' => '8',
'ref' => 'const',
'rows' => 1,
'filtered' => 100.0,
'extra' => 'Using temporary; Using filesort',
) ]
- [ SQL ] SELECT `name` FROM `cmf_portal_category` WHERE `id` = 6 LIMIT 1 [ RunTime:0.000478s ]
- [ 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 `p`.`tag_id`,`t`.`name`,`p`.`post_id` FROM `cmf_portal_tag_post` `p` LEFT JOIN `cmf_portal_tag` `t` ON `p`.`tag_id`=`t`.`id` WHERE ( t.status=1 ) AND ( p.post_id=316888 ) GROUP BY `t`.`name` LIMIT 5 [ RunTime:0.000686s ]
- [ EXPLAIN : array (
'id' => 1,
'select_type' => 'SIMPLE',
'table' => 'p',
'partitions' => NULL,
'type' => 'ref',
'possible_keys' => 'post_id,tag_id',
'key' => 'post_id',
'key_len' => '8',
'ref' => 'const',
'rows' => 1,
'filtered' => 100.0,
'extra' => 'Using temporary; Using filesort',
) ]
- [ SQL ] SELECT `name` FROM `cmf_portal_category` WHERE `id` = 6 LIMIT 1 [ RunTime:0.000477s ]
- [ 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 `p`.`tag_id`,`t`.`name`,`p`.`post_id` FROM `cmf_portal_tag_post` `p` LEFT JOIN `cmf_portal_tag` `t` ON `p`.`tag_id`=`t`.`id` WHERE ( t.status=1 ) AND ( p.post_id=316887 ) GROUP BY `t`.`name` LIMIT 5 [ RunTime:0.000687s ]
- [ EXPLAIN : array (
'id' => 1,
'select_type' => 'SIMPLE',
'table' => 'p',
'partitions' => NULL,
'type' => 'ref',
'possible_keys' => 'post_id,tag_id',
'key' => 'post_id',
'key_len' => '8',
'ref' => 'const',
'rows' => 1,
'filtered' => 100.0,
'extra' => 'Using temporary; Using filesort',
) ]
- [ SQL ] SELECT `name` FROM `cmf_portal_category` WHERE `id` = 6 LIMIT 1 [ RunTime:0.000469s ]
- [ 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 `p`.`tag_id`,`t`.`name`,`p`.`post_id` FROM `cmf_portal_tag_post` `p` LEFT JOIN `cmf_portal_tag` `t` ON `p`.`tag_id`=`t`.`id` WHERE ( t.status=1 ) AND ( p.post_id=316886 ) GROUP BY `t`.`name` LIMIT 5 [ RunTime:0.000703s ]
- [ EXPLAIN : array (
'id' => 1,
'select_type' => 'SIMPLE',
'table' => 'p',
'partitions' => NULL,
'type' => 'ref',
'possible_keys' => 'post_id,tag_id',
'key' => 'post_id',
'key_len' => '8',
'ref' => 'const',
'rows' => 1,
'filtered' => 100.0,
'extra' => 'Using temporary; Using filesort',
) ]
- [ SQL ] SELECT `name` FROM `cmf_portal_category` WHERE `id` = 6 LIMIT 1 [ RunTime:0.000471s ]
- [ 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 `p`.`tag_id`,`t`.`name`,`p`.`post_id` FROM `cmf_portal_tag_post` `p` LEFT JOIN `cmf_portal_tag` `t` ON `p`.`tag_id`=`t`.`id` WHERE ( t.status=1 ) AND ( p.post_id=316885 ) GROUP BY `t`.`name` LIMIT 5 [ RunTime:0.000642s ]
- [ EXPLAIN : array (
'id' => 1,
'select_type' => 'SIMPLE',
'table' => 'p',
'partitions' => NULL,
'type' => 'ref',
'possible_keys' => 'post_id,tag_id',
'key' => 'post_id',
'key_len' => '8',
'ref' => 'const',
'rows' => 1,
'filtered' => 100.0,
'extra' => 'Using temporary; Using filesort',
) ]
- [ SQL ] SELECT `name` FROM `cmf_portal_category` WHERE `id` = 6 LIMIT 1 [ RunTime:0.000461s ]
- [ 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 `p`.`tag_id`,`t`.`name`,`p`.`post_id` FROM `cmf_portal_tag_post` `p` LEFT JOIN `cmf_portal_tag` `t` ON `p`.`tag_id`=`t`.`id` WHERE ( t.status=1 ) AND ( p.post_id=316884 ) GROUP BY `t`.`name` LIMIT 5 [ RunTime:0.000679s ]
- [ EXPLAIN : array (
'id' => 1,
'select_type' => 'SIMPLE',
'table' => 'p',
'partitions' => NULL,
'type' => 'ref',
'possible_keys' => 'post_id,tag_id',
'key' => 'post_id',
'key_len' => '8',
'ref' => 'const',
'rows' => 1,
'filtered' => 100.0,
'extra' => 'Using temporary; Using filesort',
) ]
- [ 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`.`published_time` > 0 and `post`.`published_time` < 1611023256 ) GROUP BY `post`.`id` ORDER BY `post`.`id` DESC LIMIT 15 [ RunTime:0.001613s ]
- [ EXPLAIN : array (
'id' => 1,
'select_type' => 'SIMPLE',
'table' => 'post',
'partitions' => NULL,
'type' => 'index',
'possible_keys' => 'PRIMARY,type_status_date,user_id',
'key' => 'PRIMARY',
'key_len' => '8',
'ref' => NULL,
'rows' => 30,
'filtered' => 0.5554444789886475,
'extra' => 'Using where',
) ]
- [ SQL ] SELECT `p`.`tag_id`,`t`.`name`,`p`.`post_id` FROM `cmf_portal_tag_post` `p` LEFT JOIN `cmf_portal_tag` `t` ON `p`.`tag_id`=`t`.`id` WHERE ( t.status=1 ) GROUP BY `t`.`name` LIMIT 30 [ RunTime:0.001221s ]
- [ EXPLAIN : array (
'id' => 1,
'select_type' => 'SIMPLE',
'table' => 't',
'partitions' => NULL,
'type' => 'index',
'possible_keys' => 'PRIMARY,id,name',
'key' => 'name',
'key_len' => '122',
'ref' => NULL,
'rows' => 40,
'filtered' => 10.0,
'extra' => 'Using where',
) ]
- [ 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`.`published_time` > 0 and `post`.`published_time` < 1611023256 ) GROUP BY `post`.`id` ORDER BY `post`.`id` ASC LIMIT 15 [ RunTime:0.002500s ]
- [ EXPLAIN : array (
'id' => 1,
'select_type' => 'SIMPLE',
'table' => 'post',
'partitions' => NULL,
'type' => 'index',
'possible_keys' => 'PRIMARY,type_status_date,user_id',
'key' => 'PRIMARY',
'key_len' => '8',
'ref' => NULL,
'rows' => 30,
'filtered' => 0.5554444789886475,
'extra' => 'Using where',
) ]
- [ 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`.`published_time` > 0 and `post`.`published_time` < 1611023256 ) GROUP BY `post`.`id` ORDER BY `post`.`id` DESC LIMIT 10 [ RunTime:0.001384s ]
- [ EXPLAIN : array (
'id' => 1,
'select_type' => 'SIMPLE',
'table' => 'post',
'partitions' => NULL,
'type' => 'index',
'possible_keys' => 'PRIMARY,type_status_date,user_id',
'key' => 'PRIMARY',
'key_len' => '8',
'ref' => NULL,
'rows' => 20,
'filtered' => 0.5554444789886475,
'extra' => 'Using where',
) ]
- [ SQL ] SELECT * FROM `cmf_nav_menu` WHERE `nav_id` = 2 AND `status` = 1 ORDER BY `list_order` ASC [ RunTime:0.000701s ]
- [ 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' => 28,
'filtered' => 3.5714282989501953,
'extra' => 'Using where; Using filesort',
) ]
- [ SQL ] SELECT * FROM `cmf_nav_menu` WHERE `nav_id` = 3 AND `status` = 1 ORDER BY `list_order` ASC [ RunTime:0.000676s ]
- [ 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' => 28,
'filtered' => 3.5714282989501953,
'extra' => 'Using where; Using filesort',
) ]

9.490755s