一郎科技|最完整的Explain总结,妈妈再也不担心我的SQL优化了( 四 )

mysql> explain select * from actor order by name;

  1. film.name建立了idx_name索引,此时查询时extra是using index
mysql> explain select * from film order by name;个人网站:www.upheart.top/
作者:月伴飞鱼
链接:
【一郎科技|最完整的Explain总结,妈妈再也不担心我的SQL优化了】来源:掘金


推荐阅读