unique index 與 non-unique index 的效能差異

Nic Lin at 
常理來說,unique index 在做查詢的時候,可以想像約等同於 SELECT 1 AS one LIMIT 1,因為不需花費力氣找尋其他相同的數據,所以理論上會快一些。 查詢計畫 舉例來……