If I apply the "UNIQUE" constraint to a column, will the database engine traverse the whole table for an occurrence thus affecting performance?
If I have a table with millions of entries, will the engine have to check every field in the column to see if the input matches one of the fields?
How does this work?