No, you dont have to index it again. When you specify UNIQUE KEY
, the column is indexed. So it has no difference in performance with other indexed column (e.g. PRIMARY KEY) of same type.
However if the type is different, there will be little performance difference.
与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…