MySQL Forums
Forum List  »  Optimizer & Parser

Re: LOW_PRIORIY, IGNORE, DELAY & QUICK
Posted by: Rick James
Date: April 11, 2009 03:27PM

Most of those are not effective because commands happen too fast to have any conflicts. Not bother using them. Except...

This one,
INSERT IGNORE ...;
on the other hand, has some use. Suppose you want to insert a row, but it might already be there. A plain INSERT would give you an error. INSERT IGNORE would say "oh, that UNIQUE/PRIMARY key already exists, I will silently do nothing". (See also REPLACE, which first DELETEs the row, then INSERTs it.)

Options: ReplyQuote


Subject
Views
Written By
Posted
Re: LOW_PRIORIY, IGNORE, DELAY & QUICK
2540
April 11, 2009 03:27PM


Sorry, you can't reply to this topic. It has been closed.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.