SELECT @@collation_connection AS c [ RunTime:0.000175s ]
SET collation_connection = 'utf8mb4_unicode_ci' [ RunTime:0.000160s ]
SHOW FULL COLUMNS FROM `t_extend` [ RunTime:0.016880s ]
SELECT `json_extend` FROM `t_extend` WHERE `name` = 'tags' LIMIT 1 [ RunTime:0.000311s ]
SELECT * FROM `t_extend` WHERE `name` = 'multilang' LIMIT 1 [ RunTime:0.004389s ]
SHOW FULL COLUMNS FROM `t_multilang_config` [ RunTime:0.000640s ]
SELECT `locale` FROM `t_multilang_config` WHERE `is_enabled` = 1 AND `is_default` = 0 ORDER BY `sort` ASC [ RunTime:0.000332s ]
SHOW FULL COLUMNS FROM `t_column` [ RunTime:0.000649s ]
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.003338s ]
SHOW FULL COLUMNS FROM `t_message` [ RunTime:0.015070s ]
SELECT `json_extend` FROM `t_message` WHERE `mode` = 'default' AND `name` = 'captcha' LIMIT 1 [ RunTime:0.000332s ]
SHOW FULL COLUMNS FROM `t_url_redirects` [ RunTime:0.000780s ]
SELECT `new_url` FROM `t_url_redirects` WHERE `old_url` = 'tags/cog-128x64-graphic-lcd-module-2' AND `enabled` = 1 LIMIT 1 [ RunTime:0.000329s ]
SHOW FULL COLUMNS FROM `t_tags_keyword` [ RunTime:0.000654s ]
SELECT * FROM `t_tags_keyword` WHERE `slug` = 'cog-128x64-graphic-lcd-module-2' LIMIT 1 [ RunTime:0.000423s ]
SELECT `article_count` FROM `t_tags_keyword` WHERE `id` = 328 LIMIT 1 [ RunTime:0.000541s ]
SHOW FULL COLUMNS FROM `t_detail` [ RunTime:0.000746s ]
SELECT `t`.`id` FROM `t_detail` `t` WHERE `t`.`show` = '1' AND ( (LOWER(t.title) LIKE '%cog 128x64 graphic lcd module%' OR LOWER(JSON_UNQUOTE(JSON_EXTRACT(t.json_extend, '$.keywords'))) LIKE '%cog 128x64 graphic lcd module%' OR LOWER(JSON_UNQUOTE(JSON_EXTRACT(t.json_extend, '$.tags'))) LIKE '%cog 128x64 graphic lcd module%') ) ORDER BY t.sort DESC, t.publish_time desc, t.id DESC LIMIT 0,21 [ RunTime:0.011904s ]
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 ('1705','1828','1738','1829') AND `c`.`show` = '1' ORDER BY t.sort DESC, t.publish_time desc, t.id DESC [ RunTime:0.006944s ]
SELECT `id`,`tid`,`json_extend` FROM `t_column` [ RunTime:0.003306s ]
SELECT `locale` FROM `t_multilang_config` WHERE `is_enabled` = 1 AND `is_default` = 0 ORDER BY `sort` ASC [ RunTime:0.000540s ]
SELECT `id`,`tid`,`type`,`name`,`sort`,`nav`,`show`,`create_time`,`json_extend` FROM `t_column` ORDER BY `sort` DESC,`id` ASC [ RunTime:0.003236s ]
SELECT `locale` FROM `t_multilang_config` WHERE `is_enabled` = 1 AND `is_default` = 0 ORDER BY `sort` ASC [ RunTime:0.000525s ]
SELECT `id`,`tid`,`type`,`name`,`sort`,`nav`,`show`,`create_time`,`json_extend` FROM `t_column` ORDER BY `sort` DESC,`id` ASC [ RunTime:0.005770s ]
SELECT `id` FROM `t_message` WHERE `mode` = 'default' AND `name` = 'field' LIMIT 1 [ RunTime:0.000859s ]