Using index condition: 索引下推,意思是解析索引列, 找到符合條件的數(shù)據(jù).
Using where, Using Index: Using index使用索引過濾數(shù)據(jù), Using where 仍然可以在非索引列上執(zhí)行表掃描飞蚓,但是如果在where條件中有任何索引列滤港,那么它將使用更類似于使用索引條件的where條件
Using where; Using index 表示既使用了索引,也需要通過where條件回表查詢數(shù)據(jù)趴拧,而如果只有Using index溅漾,則表示不需要回表查數(shù)據(jù)山叮。
Using where; Using index 要好于Using index condition.
參考
- https://stackoverflow.com/questions/25672552/whats-the-difference-between-using-index-and-using-where-using-index-in-the
- https://dev.mysql.com/doc/refman/5.7/en/index-extensions.html
- https://stackoverflow.com/questions/28759576/mysql-using-index-condition-vs-using-where-using-index
- https://segmentfault.com/q/1010000003094577