MySQL Forums
Forum List  »  InnoDB

Re: Should ORDER BY SELECTs to to avoid deadlocks?
Posted by: Rick James
Date: October 03, 2016 10:59PM

I'm afraid you really need to show us the transaction, plus other potentially conflicting transactions.

Even if we can come up with ways to minimize the frequency of deadlocks, we might not be able to totally eliminate them. So, your code must be prepared to start a transaction over from the BEGIN.

Options: ReplyQuote


Subject
Views
Written By
Posted
Re: Should ORDER BY SELECTs to to avoid deadlocks?
757
October 03, 2016 10:59PM


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.