SHOW FULL COLUMNS FROM `sites` [ RunTime:0.001936s ]
SELECT * FROM `sites` WHERE `id` = 1 LIMIT 1 [ RunTime:0.000421s ]
SELECT * FROM `sites` WHERE `id` = 1 LIMIT 1 [ RunTime:0.000374s ]
SHOW FULL COLUMNS FROM `categories` [ RunTime:0.001428s ]
SELECT * FROM `categories` WHERE `status` = 1 [ RunTime:0.000527s ]
SHOW FULL COLUMNS FROM `visitors` [ RunTime:0.002009s ]
SELECT * FROM `visitors` WHERE `create_time` BETWEEN '2024-11-05 00:00:00' AND '2024-11-05 23:59:59' LIMIT 1 [ RunTime:0.000923s ]
UPDATE `visitors` SET `other_spider` = 8554 WHERE `id` = 647 [ RunTime:0.000475s ]
SHOW FULL COLUMNS FROM `tags` [ RunTime:0.001815s ]
SELECT * FROM `tags` WHERE `name` = 'Hydropower' LIMIT 1 [ RunTime:0.000590s ]
SHOW FULL COLUMNS FROM `post_tag_access` [ RunTime:0.001210s ]
SHOW FULL COLUMNS FROM `posts` [ RunTime:0.001712s ]
SELECT COUNT(*) AS think_count FROM `posts` INNER JOIN `post_tag_access` `pivot` ON `pivot`.`post_id`=`posts`.`id` WHERE ( `status` = 1 AND `show` = 1 AND `pivot`.`tag_id` = '3198' ) AND `posts`.`delete_time` IS NULL LIMIT 1 [ RunTime:0.223671s ]
SELECT `posts`.*,`pivot`.`id` AS `pivot__id`,`pivot`.`post_id` AS `pivot__post_id`,`pivot`.`tag_id` AS `pivot__tag_id`,`posts`.`id`,`title`,`category_id`,`user_id`,`thumb`,`view_count`,`summary`,`posts`.`create_time`,`slug` FROM `posts` INNER JOIN `post_tag_access` `pivot` ON `pivot`.`post_id`=`posts`.`id` WHERE ( `status` = 1 AND `show` = 1 AND `pivot`.`tag_id` = '3198' ) AND `posts`.`delete_time` IS NULL ORDER BY `create_time` DESC LIMIT 0,20 [ RunTime:0.041922s ]
SHOW FULL COLUMNS FROM `users` [ RunTime:0.002488s ]
SELECT * FROM `users` ORDER BY `post_view_count` DESC LIMIT 5 [ RunTime:0.006663s ]
SHOW FULL COLUMNS FROM `newsletters` [ RunTime:0.001844s ]
SELECT * FROM `newsletters` ORDER BY `create_time` DESC LIMIT 12 [ RunTime:0.000488s ]
SELECT `posts`.`id`,`title`,`category_id`,`user_id`,`thumb`,`view_count`,`summary`,`posts`.`create_time`,`slug` FROM `posts` WHERE ( `status` = 1 AND `recommend_until` > '2024-11-05 14:48:54' ) AND `posts`.`delete_time` IS NULL ORDER BY `create_time` DESC LIMIT 8 [ RunTime:0.490567s ]
SELECT `posts`.`id`,`title`,`category_id`,`user_id`,`thumb`,`view_count`,`summary`,`posts`.`create_time`,`slug` FROM `posts` WHERE ( `status` = 1 AND `show` = 1 AND `create_time` >= '2024-10-29 14:48:54' ) AND `posts`.`delete_time` IS NULL ORDER BY `view_count` DESC LIMIT 8 [ RunTime:0.262899s ]
SELECT * FROM `users` WHERE `id` IN (209,626,184,214,193) [ RunTime:0.000735s ]
SELECT * FROM `users` WHERE `id` = 1 LIMIT 1 [ RunTime:0.000599s ]
SELECT `tags`.*,`pivot`.`id` AS `pivot__id`,`pivot`.`post_id` AS `pivot__post_id`,`pivot`.`tag_id` AS `pivot__tag_id` FROM `tags` INNER JOIN `post_tag_access` `pivot` ON `pivot`.`tag_id`=`tags`.`id` WHERE `pivot`.`post_id` = '18449' [ RunTime:0.041150s ]