MySQL Forums :: InnoDB :: Exclusive lock


Advanced Search

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
Exclusive lock 517 András Berta 11/11/2016 02:39AM
Re: Exclusive lock 230 Peter Brawley 11/11/2016 04:59AM
Re: Exclusive lock 221 András Berta 12/01/2016 07:56AM
Re: Exclusive lock 199 Peter Brawley 12/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.