mysql優化 (《深刻淺出mysql...》筆記)

mysql 查詢性能排序,從左至右,性能由最差到最好 ALL index range ref eq_ref const/system NULL 1.ALL 全表掃描 例:select * from user 2.index 索引全掃描 例:select id from user 3.range 索引範圍掃描(>、<、>=、<=、=、between等) 例:select * from user wh
相關文章
相關標籤/搜索