SELECT @@collation_connection AS c [ RunTime:0.032790s ]
SET collation_connection = 'utf8mb4_unicode_ci' [ RunTime:0.019950s ]
SHOW FULL COLUMNS FROM `t_extend` [ RunTime:0.016842s ]
SELECT `json_extend` FROM `t_extend` WHERE `name` = 'tags' LIMIT 1 [ RunTime:0.003104s ]
SELECT * FROM `t_extend` WHERE `name` = 'multilang' LIMIT 1 [ RunTime:0.001396s ]
SHOW FULL COLUMNS FROM `t_multilang_config` [ RunTime:0.000709s ]
SELECT `locale` FROM `t_multilang_config` WHERE `is_enabled` = 1 AND `is_default` = 0 ORDER BY `sort` ASC [ RunTime:0.000360s ]
SHOW FULL COLUMNS FROM `t_column` [ RunTime:0.000646s ]
SELECT `id`,`tid`,`type`,`name`,`sort`,`nav`,`show`,`create_time`,`json_extend` FROM `t_column` WHERE `show` = 1 ORDER BY `sort` DESC,`id` ASC [ RunTime:0.003190s ]
SHOW FULL COLUMNS FROM `t_message` [ RunTime:0.000582s ]
SELECT `json_extend` FROM `t_message` WHERE `mode` = 'default' AND `name` = 'captcha' LIMIT 1 [ RunTime:0.000271s ]
SHOW FULL COLUMNS FROM `t_url_redirects` [ RunTime:0.014141s ]
SELECT `new_url` FROM `t_url_redirects` WHERE `old_url` = 'tags/cog-lcd-display-128x64' AND `enabled` = 1 LIMIT 1 [ RunTime:0.000319s ]
SHOW FULL COLUMNS FROM `t_tags_keyword` [ RunTime:0.000627s ]
SELECT * FROM `t_tags_keyword` WHERE `slug` = 'cog-lcd-display-128x64' LIMIT 1 [ RunTime:0.000346s ]
SELECT * FROM `t_tags_keyword` WHERE ( JSON_UNQUOTE(JSON_EXTRACT(json_extend, '$.slug')) = 'cog-lcd-display-128x64' ) LIMIT 1 [ RunTime:0.002736s ]
SELECT * FROM `t_tags_keyword` WHERE `name` = 'cog lcd display 128x64' LIMIT 1 [ RunTime:0.000375s ]
SELECT `article_count` FROM `t_tags_keyword` WHERE `id` = 329 LIMIT 1 [ RunTime:0.000258s ]
SHOW FULL COLUMNS FROM `t_detail` [ RunTime:0.000648s ]
SELECT `t`.`id` FROM `t_detail` `t` WHERE `t`.`show` = '1' AND ( (LOWER(t.title) LIKE '%cog lcd display 128x64%' OR LOWER(JSON_UNQUOTE(JSON_EXTRACT(t.json_extend, '$.keywords'))) LIKE '%cog lcd display 128x64%' OR LOWER(JSON_UNQUOTE(JSON_EXTRACT(t.json_extend, '$.tags'))) LIKE '%cog lcd display 128x64%') ) ORDER BY t.sort DESC, t.publish_time desc, t.id DESC LIMIT 0,21 [ RunTime:0.010668s ]
SELECT `t`.*,`c`.`name`,c.tid as column_tid,c.json_extend as column_json_extend,dc.column_id as primary_column_id FROM `t_detail` `t` INNER JOIN `t_detail_column` `dc` ON `dc`.`detail_id`=t.id AND dc.is_primary = 1 INNER JOIN `t_column` `c` ON `c`.`id`=`dc`.`column_id` WHERE `t`.`id` IN ('1691','1705','1716','1733','1828','1747','1738','1829') AND `c`.`show` = '1' ORDER BY t.sort DESC, t.publish_time desc, t.id DESC [ RunTime:0.012245s ]
SELECT `id`,`tid`,`json_extend` FROM `t_column` [ RunTime:0.002741s ]
SELECT `locale` FROM `t_multilang_config` WHERE `is_enabled` = 1 AND `is_default` = 0 ORDER BY `sort` ASC [ RunTime:0.000386s ]
SELECT `id`,`tid`,`type`,`name`,`sort`,`nav`,`show`,`create_time`,`json_extend` FROM `t_column` ORDER BY `sort` DESC,`id` ASC [ RunTime:0.002897s ]
SELECT `locale` FROM `t_multilang_config` WHERE `is_enabled` = 1 AND `is_default` = 0 ORDER BY `sort` ASC [ RunTime:0.010404s ]
SELECT `id`,`tid`,`type`,`name`,`sort`,`nav`,`show`,`create_time`,`json_extend` FROM `t_column` ORDER BY `sort` DESC,`id` ASC [ RunTime:0.002696s ]
SELECT `id` FROM `t_message` WHERE `mode` = 'default' AND `name` = 'field' LIMIT 1 [ RunTime:0.004869s ]