MySQL5.6中引入了MRR,专门来优化:二级索引的范围扫描并且需要回表的情况.它的原理是,将多个需要回表的二级索引根据主键进行排序,然后一起回表,将原来的回表时进行的随机IO,转变成顺序IO.文档地址:http://dev.mysql.com/doc/refman/5.6/en/mrr-optimization.html Reading rows using a range scan on a secondary index can result in many random disk ac