MySQL Forums
Forum List  »  InnoDB

Re: MYSQL5.7 In the case of Read-Commit,Deadlocks caused by concurrent inserts(“Multiple-Column Indexes”)
Posted by: Peter Brawley
Date: July 17, 2021 12:02PM

See http://thushw.blogspot.com/2010/11/mysql-deadlocks-with-concurrent-inserts.html.

If you can't force inserts into the same eg ascending order, you could add a retry option to your transactions code.

Options: ReplyQuote


Subject
Views
Written By
Posted
Re: MYSQL5.7 In the case of Read-Commit,Deadlocks caused by concurrent inserts(“Multiple-Column Indexes”)
86
July 17, 2021 12:02PM


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.