faqts : Computers : Databases : MySQL : Language and Syntax : Performance

+ Search
Add Entry AlertManage Folder Edit Entry Add page to http://del.icio.us/
Did You Find This Entry Useful?

2 of 2 people (100%) answered Yes
Recently 1 of 1 people (100%) answered Yes

Entry

Is there a performance hit for doing the duplication check on UNIQUE keys when doing inserts?

Feb 8th, 2000 05:32
Nathan Wallace, Michael Widenius


If there doesn't already exist a duplicate key for the new row in the
table, there isn't any performance hit.