MySQL Forums
Forum List  »  InnoDB

Re: Dead Lock
Posted by: Rick James
Date: January 14, 2016 05:40PM

If practical, sort the rows to be inserted in PRIMARY KEY order. This will probably avoid most deadlocks.

In any case, catch deadlocks and replay the transaction that gets a deadlock.

Options: ReplyQuote


Subject
Views
Written By
Posted
1587
January 13, 2016 02:53AM
Re: Dead Lock
717
January 14, 2016 05:40PM
667
January 15, 2016 01:49AM


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.