[ DB ] CONNECT:[ UseTime:0.000343s ] mysql:host=127.0.0.1;port=3306;dbname=uihtm.com;charset=utf8mb4
[ SQL ] SHOW COLUMNS FROM `cmf_portal_post` [ RunTime:0.000856s ]
[ 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 `relation`.`category_id` = 1 AND `post`.`urlname` = '5521' AND ( `post`.`published_time` < 1623901576 and `post`.`published_time` > 0 ) LIMIT 1 [ RunTime:0.069579s ]
[ EXPLAIN : array (
'id' => 1,
'select_type' => 'SIMPLE',
'table' => 'relation',
'type' => 'ref',
'possible_keys' => 'term_taxonomy_id',
'key' => 'term_taxonomy_id',
'key_len' => '8',
'ref' => 'const',
'rows' => 5354,
'extra' => '',
) ]
[ 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 `relation`.`category_id` = 1 AND `relation`.`post_id` = '5521' AND ( `post`.`published_time` < 1623901576 and `post`.`published_time` > 0 ) LIMIT 1 [ RunTime:0.005764s ]
[ EXPLAIN : array (
'id' => 1,
'select_type' => 'SIMPLE',
'table' => 'post',
'type' => 'const',
'possible_keys' => 'PRIMARY,type_status_date',
'key' => 'PRIMARY',
'key_len' => '8',
'ref' => 'const',
'rows' => 1,
'extra' => '',
) ]
[ SQL ] SHOW COLUMNS FROM `cmf_portal_category` [ RunTime:0.001055s ]
[ SQL ] SELECT * FROM `cmf_portal_category` WHERE `id` = 1 AND `status` = 1 LIMIT 1 [ RunTime:0.000293s ]
[ 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' => '',
) ]
[ SQL ] UPDATE `cmf_portal_post` SET `post_hits` = `post_hits` + 1 WHERE `id` = 0 [ RunTime:0.000333s ]
[ SQL ] SHOW COLUMNS FROM `cmf_theme_file` [ RunTime:0.000866s ]
[ SQL ] SELECT * FROM `cmf_theme_file` WHERE `theme` = 'uihtm' AND `file` = 'portal/article-blog' LIMIT 1 [ RunTime:0.000199s ]
[ EXPLAIN : array (
'id' => 1,
'select_type' => 'SIMPLE',
'table' => 'cmf_theme_file',
'type' => 'ALL',
'possible_keys' => NULL,
'key' => NULL,
'key_len' => NULL,
'ref' => NULL,
'rows' => 2,
'extra' => 'Using where',
) ]
[ SQL ] UPDATE `cmf_theme_file` SET `theme` = 'uihtm' , `action` = 'portal/Article/index' , `file` = 'portal/article-blog' , `name` = '博客文章详情' , `more` = '[]' , `config_more` = '[]' , `description` = '博客文章详情' , `is_public` = 0 , `list_order` = 10 WHERE `theme` = 'uihtm' AND `file` = 'portal/article-blog' [ RunTime:0.000352s ]
[ SQL ] SELECT * FROM `cmf_theme_file` WHERE `theme` = 'uihtm' AND `file` = 'portal/article-doc' LIMIT 1 [ RunTime:0.000265s ]
[ EXPLAIN : array (
'id' => 1,
'select_type' => 'SIMPLE',
'table' => 'cmf_theme_file',
'type' => 'ALL',
'possible_keys' => NULL,
'key' => NULL,
'key_len' => NULL,
'ref' => NULL,
'rows' => 2,
'extra' => 'Using where',
) ]
[ SQL ] UPDATE `cmf_theme_file` SET `theme` = 'uihtm' , `action` = 'portal/Article/index' , `file` = 'portal/article-doc' , `name` = '手册文章详情' , `more` = '[]' , `config_more` = '[]' , `description` = '手册文章详情' , `is_public` = 0 , `list_order` = 10 WHERE `theme` = 'uihtm' AND `file` = 'portal/article-doc' [ RunTime:0.000352s ]
[ SQL ] SELECT * FROM `cmf_theme_file` WHERE `theme` = 'uihtm' AND `file` = 'portal/article' LIMIT 1 [ RunTime:0.000236s ]
[ EXPLAIN : array (
'id' => 1,
'select_type' => 'SIMPLE',
'table' => 'cmf_theme_file',
'type' => 'ALL',
'possible_keys' => NULL,
'key' => NULL,
'key_len' => NULL,
'ref' => NULL,
'rows' => 2,
'extra' => 'Using where',
) ]
[ SQL ] UPDATE `cmf_theme_file` SET `theme` = 'uihtm' , `action` = 'portal/Article/index' , `file` = 'portal/article' , `name` = '下载文章详情' , `more` = '[]' , `config_more` = '[]' , `description` = '下载文章详情' , `is_public` = 0 , `list_order` = 10 WHERE `theme` = 'uihtm' AND `file` = 'portal/article' [ RunTime:0.000336s ]
[ SQL ] SELECT * FROM `cmf_theme_file` WHERE `theme` = 'uihtm' AND `file` = 'portal/doc-animate' LIMIT 1 [ RunTime:0.000226s ]
[ EXPLAIN : array (
'id' => 1,
'select_type' => 'SIMPLE',
'table' => 'cmf_theme_file',
'type' => 'ALL',
'possible_keys' => NULL,
'key' => NULL,
'key_len' => NULL,
'ref' => NULL,
'rows' => 2,
'extra' => 'Using where',
) ]
[ SQL ] UPDATE `cmf_theme_file` SET `theme` = 'uihtm' , `action` = 'portal/Article/index' , `file` = 'portal/doc-animate' , `name` = 'animate手册' , `more` = '[]' , `config_more` = '[]' , `description` = 'animate手册' , `is_public` = 0 , `list_order` = 10 WHERE `theme` = 'uihtm' AND `file` = 'portal/doc-animate' [ RunTime:0.000514s ]
[ SQL ] SELECT * FROM `cmf_theme_file` WHERE `theme` = 'uihtm' AND `file` = 'portal/list-blog' LIMIT 1 [ RunTime:0.003019s ]
[ EXPLAIN : array (
'id' => 1,
'select_type' => 'SIMPLE',
'table' => 'cmf_theme_file',
'type' => 'ALL',
'possible_keys' => NULL,
'key' => NULL,
'key_len' => NULL,
'ref' => NULL,
'rows' => 2,
'extra' => 'Using where',
) ]
[ SQL ] UPDATE `cmf_theme_file` SET `theme` = 'uihtm' , `action` = 'portal/List/index' , `file` = 'portal/list-blog' , `name` = '博客列表' , `more` = '[]' , `config_more` = '[]' , `description` = '博客列表' , `is_public` = 0 , `list_order` = 0 WHERE `theme` = 'uihtm' AND `file` = 'portal/list-blog' [ RunTime:0.000364s ]
[ SQL ] SELECT * FROM `cmf_theme_file` WHERE `theme` = 'uihtm' AND `file` = 'portal/list-doc' LIMIT 1 [ RunTime:0.000239s ]
[ EXPLAIN : array (
'id' => 1,
'select_type' => 'SIMPLE',
'table' => 'cmf_theme_file',
'type' => 'ALL',
'possible_keys' => NULL,
'key' => NULL,
'key_len' => NULL,
'ref' => NULL,
'rows' => 2,
'extra' => 'Using where',
) ]
[ SQL ] UPDATE `cmf_theme_file` SET `theme` = 'uihtm' , `action` = 'portal/List/index' , `file` = 'portal/list-doc' , `name` = '手册列表' , `more` = '[]' , `config_more` = '[]' , `description` = '手册列表' , `is_public` = 0 , `list_order` = 0 WHERE `theme` = 'uihtm' AND `file` = 'portal/list-doc' [ RunTime:0.000283s ]
[ SQL ] SELECT * FROM `cmf_theme_file` WHERE `theme` = 'uihtm' AND `file` = 'portal/list' LIMIT 1 [ RunTime:0.000203s ]
[ EXPLAIN : array (
'id' => 1,
'select_type' => 'SIMPLE',
'table' => 'cmf_theme_file',
'type' => 'ALL',
'possible_keys' => NULL,
'key' => NULL,
'key_len' => NULL,
'ref' => NULL,
'rows' => 2,
'extra' => 'Using where',
) ]
[ SQL ] UPDATE `cmf_theme_file` SET `theme` = 'uihtm' , `action` = 'portal/List/index' , `file` = 'portal/list' , `name` = '下载列表' , `more` = '[]' , `config_more` = '[]' , `description` = '下载列表' , `is_public` = 0 , `list_order` = 0 WHERE `theme` = 'uihtm' AND `file` = 'portal/list' [ RunTime:0.000276s ]
[ SQL ] SELECT * FROM `cmf_theme_file` WHERE `theme` = 'uihtm' [ RunTime:0.000183s ]
[ EXPLAIN : array (
'id' => 1,
'select_type' => 'SIMPLE',
'table' => 'cmf_theme_file',
'type' => 'ALL',
'possible_keys' => NULL,
'key' => NULL,
'key_len' => NULL,
'ref' => NULL,
'rows' => 2,
'extra' => 'Using where',
) ]
[ SQL ] SHOW COLUMNS FROM `cmf_theme` [ RunTime:0.000953s ]
[ SQL ] UPDATE `cmf_theme` SET `name` = 'uihtm' , `version` = '1.0.0' , `demo_url` = 'https://wwww.uihtm.com' , `author` = 'Ayumi' , `lang` = 'zh-cn' , `author_url` = 'https://www.uihtm.com' , `keywords` = 'uihtm模板' , `description` = 'uihtm模板' WHERE `theme` = 'uihtm' [ RunTime:0.000348s ]
[ SQL ] SELECT `more` FROM `cmf_theme_file` WHERE `theme` = 'uihtm' AND ( `is_public` = 1 OR `file` = 'portal/article' ) [ RunTime:0.000210s ]
[ EXPLAIN : array (
'id' => 1,
'select_type' => 'SIMPLE',
'table' => 'cmf_theme_file',
'type' => 'ALL',
'possible_keys' => NULL,
'key' => NULL,
'key_len' => NULL,
'ref' => NULL,
'rows' => 2,
'extra' => 'Using where',
) ]
[ SQL ] SELECT * FROM `cmf_portal_category` WHERE `status` = 1 AND `delete_time` = 0 AND `parent_id` = 1 ORDER BY `list_order` ASC [ RunTime:0.000325s ]
[ EXPLAIN : array (
'id' => 1,
'select_type' => 'SIMPLE',
'table' => 'cmf_portal_category',
'type' => 'ALL',
'possible_keys' => NULL,
'key' => NULL,
'key_len' => NULL,
'ref' => NULL,
'rows' => 72,
'extra' => 'Using where; Using filesort',
) ]
[ SQL ] SELECT * FROM `cmf_portal_category` WHERE `status` = 1 AND `delete_time` = 0 AND `parent_id` = 5 ORDER BY `list_order` ASC [ RunTime:0.000385s ]
[ EXPLAIN : array (
'id' => 1,
'select_type' => 'SIMPLE',
'table' => 'cmf_portal_category',
'type' => 'ALL',
'possible_keys' => NULL,
'key' => NULL,
'key_len' => NULL,
'ref' => NULL,
'rows' => 72,
'extra' => 'Using where; Using filesort',
) ]
[ SQL ] SELECT * FROM `cmf_portal_category` WHERE `status` = 1 AND `delete_time` = 0 AND `parent_id` = 31 ORDER BY `list_order` ASC [ RunTime:0.000268s ]
[ EXPLAIN : array (
'id' => 1,
'select_type' => 'SIMPLE',
'table' => 'cmf_portal_category',
'type' => 'ALL',
'possible_keys' => NULL,
'key' => NULL,
'key_len' => NULL,
'ref' => NULL,
'rows' => 72,
'extra' => 'Using where; Using filesort',
) ]
[ SQL ] SELECT * FROM `cmf_portal_category` WHERE `status` = 1 AND `delete_time` = 0 AND `parent_id` = 42 ORDER BY `list_order` ASC [ RunTime:0.000274s ]
[ EXPLAIN : array (
'id' => 1,
'select_type' => 'SIMPLE',
'table' => 'cmf_portal_category',
'type' => 'ALL',
'possible_keys' => NULL,
'key' => NULL,
'key_len' => NULL,
'ref' => NULL,
'rows' => 72,
'extra' => 'Using where; Using filesort',
) ]
[ SQL ] SELECT * FROM `cmf_portal_category` WHERE `status` = 1 AND `delete_time` = 0 AND `parent_id` = 53 ORDER BY `list_order` ASC [ RunTime:0.000308s ]
[ EXPLAIN : array (
'id' => 1,
'select_type' => 'SIMPLE',
'table' => 'cmf_portal_category',
'type' => 'ALL',
'possible_keys' => NULL,
'key' => NULL,
'key_len' => NULL,
'ref' => NULL,
'rows' => 72,
'extra' => 'Using where; Using filesort',
) ]
[ SQL ] SELECT * FROM `cmf_portal_category` WHERE `status` = 1 AND `delete_time` = 0 AND `parent_id` = 16 ORDER BY `list_order` ASC [ RunTime:0.000219s ]
[ EXPLAIN : array (
'id' => 1,
'select_type' => 'SIMPLE',
'table' => 'cmf_portal_category',
'type' => 'ALL',
'possible_keys' => NULL,
'key' => NULL,
'key_len' => NULL,
'ref' => NULL,
'rows' => 72,
'extra' => 'Using where; Using filesort',
) ]
[ SQL ] SELECT * FROM `cmf_portal_category` WHERE `status` = 1 AND `delete_time` = 0 AND `parent_id` = 69 ORDER BY `list_order` ASC [ RunTime:0.000212s ]
[ EXPLAIN : array (
'id' => 1,
'select_type' => 'SIMPLE',
'table' => 'cmf_portal_category',
'type' => 'ALL',
'possible_keys' => NULL,
'key' => NULL,
'key_len' => NULL,
'ref' => NULL,
'rows' => 72,
'extra' => 'Using where; Using filesort',
) ]
[ SQL ] SELECT * FROM `cmf_portal_category` WHERE `status` = 1 AND `delete_time` = 0 AND `parent_id` = 1 ORDER BY `list_order` ASC [ RunTime:0.000208s ]
[ EXPLAIN : array (
'id' => 1,
'select_type' => 'SIMPLE',
'table' => 'cmf_portal_category',
'type' => 'ALL',
'possible_keys' => NULL,
'key' => NULL,
'key_len' => NULL,
'ref' => NULL,
'rows' => 72,
'extra' => 'Using where; Using filesort',
) ]
[ SQL ] SELECT * FROM `cmf_portal_category` WHERE `status` = 1 AND `delete_time` = 0 AND `parent_id` = 69 ORDER BY `list_order` ASC [ RunTime:0.000200s ]
[ EXPLAIN : array (
'id' => 1,
'select_type' => 'SIMPLE',
'table' => 'cmf_portal_category',
'type' => 'ALL',
'possible_keys' => NULL,
'key' => NULL,
'key_len' => NULL,
'ref' => NULL,
'rows' => 72,
'extra' => 'Using where; Using filesort',
) ]
[ SQL ] SELECT `path` FROM `cmf_portal_category` WHERE `id` = 1 LIMIT 1 [ RunTime:0.000183s ]
[ 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' => '',
) ]
[ SQL ] SELECT * FROM `cmf_portal_category` WHERE `id` IN (0,1) ORDER BY `path` ASC [ RunTime:0.000167s ]
[ EXPLAIN : array (
'id' => 1,
'select_type' => 'SIMPLE',
'table' => 'cmf_portal_category',
'type' => 'range',
'possible_keys' => 'PRIMARY',
'key' => 'PRIMARY',
'key_len' => '8',
'ref' => NULL,
'rows' => 2,
'extra' => 'Using where; Using filesort',
) ]
[ 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 ( `category_post`.`category_id` = '1' ) AND ( `post`.`published_time` > 0 and `post`.`published_time` < 1623901576 ) GROUP BY `post`.`id` ) `_group_count_` [ RunTime:0.027928s ]
[ EXPLAIN : array (
'id' => 1,
'select_type' => 'PRIMARY',
'table' => '',
'type' => 'ALL',
'possible_keys' => NULL,
'key' => NULL,
'key_len' => NULL,
'ref' => NULL,
'rows' => 5354,
'extra' => '',
) ]
[ 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 ( `category_post`.`category_id` = '1' ) AND ( `post`.`published_time` > 0 and `post`.`published_time` < 1623901576 ) GROUP BY `post`.`id` ORDER BY rand() LIMIT 0,12 [ RunTime:0.058031s ]
[ EXPLAIN : array (
'id' => 1,
'select_type' => 'SIMPLE',
'table' => 'category_post',
'type' => 'ref',
'possible_keys' => 'term_taxonomy_id',
'key' => 'term_taxonomy_id',
'key_len' => '8',
'ref' => 'const',
'rows' => 5354,
'extra' => 'Using where; Using temporary; Using filesort',
) ]
[ SQL ] SELECT `name` FROM `cmf_portal_category` WHERE `id` = 1 LIMIT 1 [ RunTime:0.000219s ]
[ 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' => '',
) ]
[ SQL ] SELECT `name` FROM `cmf_portal_category` WHERE `id` = 1 LIMIT 1 [ RunTime:0.000208s ]
[ 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' => '',
) ]
[ SQL ] SELECT `name` FROM `cmf_portal_category` WHERE `id` = 1 LIMIT 1 [ RunTime:0.000163s ]
[ 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' => '',
) ]
[ SQL ] SELECT `name` FROM `cmf_portal_category` WHERE `id` = 1 LIMIT 1 [ RunTime:0.000152s ]
[ 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' => '',
) ]
[ SQL ] SELECT `name` FROM `cmf_portal_category` WHERE `id` = 1 LIMIT 1 [ RunTime:0.000148s ]
[ 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' => '',
) ]
[ SQL ] SELECT `name` FROM `cmf_portal_category` WHERE `id` = 1 LIMIT 1 [ RunTime:0.000166s ]
[ 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' => '',
) ]
[ SQL ] SELECT `name` FROM `cmf_portal_category` WHERE `id` = 1 LIMIT 1 [ RunTime:0.000150s ]
[ 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' => '',
) ]
[ SQL ] SELECT `name` FROM `cmf_portal_category` WHERE `id` = 1 LIMIT 1 [ RunTime:0.000157s ]
[ 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' => '',
) ]
[ SQL ] SELECT `name` FROM `cmf_portal_category` WHERE `id` = 1 LIMIT 1 [ RunTime:0.000162s ]
[ 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' => '',
) ]
[ SQL ] SELECT `name` FROM `cmf_portal_category` WHERE `id` = 1 LIMIT 1 [ RunTime:0.000143s ]
[ 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' => '',
) ]
[ SQL ] SELECT `name` FROM `cmf_portal_category` WHERE `id` = 1 LIMIT 1 [ RunTime:0.000179s ]
[ 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' => '',
) ]
[ SQL ] SELECT `name` FROM `cmf_portal_category` WHERE `id` = 1 LIMIT 1 [ RunTime:0.000160s ]
[ 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' => '',
) ]