упал индекс на fid_time_moved было Код (Text): | 1 | SIMPLE | t | ref | PRIMARY,forum_id,forum_id_type,topic_approved,forum_appr_last,fid_time_moved,topic_replies | fid_time_moved | 3 | const | 882 | Using where; Using temporary; Using filesort | стало Код (Text): | 1 | SIMPLE | t | ref | PRIMARY,forum_id,forum_id_type,topic_approved,forum_appr_last,topic_replies,fid_time_moved | fid_time_moved | 3 | const | 882 | Using where |
ALTER TABLE `new_php_ru_forum`.`phpbb3_topics` DROP INDEX `fid_time_moved` , ADD INDEX `fid_time_moved` ( `forum_id` , `topic_last_post_time` , `topic_moved_id` );