MySQL Forums
Forum List  »  InnoDB

Re: What is the best way to handle deadlocks
Posted by: Peter Brawley
Date: September 12, 2017 01:36PM

Good hints at https://dev.mysql.com/doc/refman/5.7/en/innodb-deadlocks.html

The two most cricual things are IMO keep transactions as short as possible, and code transactions to retry when they encounter deadlocks.

Options: ReplyQuote


Subject
Views
Written By
Posted
64
September 12, 2017 02:57AM
Re: What is the best way to handle deadlocks
30
September 12, 2017 01:36PM


Sorry, only registered users may post in this forum.

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.