FWIW, my preliminary testing shows no performance increase for adding LIMIT 1 to the following construct:
[ SELECT | UPDATE ] WHERE Table.UniqueID = <N> In fact, there seems to be a slight performance edge to NOT appending LIMIT 1 to the statement. R. -----Original Message----- From: Robert DiFalco [mailto:[EMAIL PROTECTED] Sent: Tuesday, August 29, 2006 9:06 AM To: mysql@lists.mysql.com Subject: Performance: LIMIT 1 with UPDATE Does using LIMIT 1 with UPDATE provide a performance improvement when the WHERE condition is on a unique index or primary key? R. -- MySQL General Mailing List For list archives: http://lists.mysql.com/mysql To unsubscribe: http://lists.mysql.com/[EMAIL PROTECTED] -- MySQL General Mailing List For list archives: http://lists.mysql.com/mysql To unsubscribe: http://lists.mysql.com/[EMAIL PROTECTED]