为什么在MyISAM表上删除索引的速度这么慢?我无法想象我会有有7亿条记录的社交网络&指数下降。只有一列索引,它们都是全文(我需要切换到普通索引,因为InnoDB不喜欢全文)mysql> DROP INDEX `post_text` ON phpbb_posts;Records: 251171 Duplicates: 0 Warnings: 0
但是,ALTER
我们的MySQL(Percona Server)数据库有一个包含1000万行的大表,有很多比40秒更长的慢查询: AND col1 IN (2, 3, 4) AND col4 NOT IN (5,6,7)ORDER BY Id DESC 我在Seller、col1、col3、col4上创建了索引。这些索引</