MySQL中的innodb引擎的數據結構

  在看高性能MySQL中,看到一個查詢。數據結構   當時以爲explain的結果很沒道理。性能 explain select film_id from film order by title limit 50,5;   結果是這樣的。spa   其中film這個表的索引以下code   我就在想,經過對title排序,而後進行limit 50, 5。這個沒問題,那就是經過索引就能夠快速的操做。
相關文章
相關標籤/搜索