MySQL Forums
Forum List  »  InnoDB

Re: Minimize locking on UPDATE with multiple WHERE columns
Posted by: Rick James
Date: April 05, 2013 07:05PM

> WHERE row2 <= xx AND row1 IS NULL

For that, this index would be best:
INDEX(row1, row2) -- in this order.

Are you saying that that WHERE matches 100 rows?

Options: ReplyQuote




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.