MySQL Forums
Forum List  »  InnoDB

Re: Exclusive lock
Posted by: Peter Brawley
Date: December 01, 2016 10:19AM

Deadlock.

Deadlocks can be made less likely by careful coding. There's a nice explanation at http://stackoverflow.com/questions/2332768/how-to-avoid-mysql-deadlock-found-when-trying-to-get-lock-try-restarting-trans

In a busy system, a few deadlocks are inevitable, so all transactions must be able to rollback & restart. Yes, use of MyISAM tabkes complicates that enormously, it'll probably necessitate point-in-time architecture, which is way more complicated than switching the MyISAM tables to a transactional engine.



Edited 1 time(s). Last edit at 12/01/2016 10:55AM by Peter Brawley.

Options: ReplyQuote


Subject
Views
Written By
Posted
776
November 11, 2016 02:39AM
361
November 11, 2016 04:59AM
349
December 01, 2016 07:56AM
Re: Exclusive lock
321
December 01, 2016 10:19AM


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.