MySQL Forums
Forum List  »  General

Re: Unexpected Innodb table lock
Posted by: Peter Brawley
Date: February 15, 2019 03:51PM

MySQL 5.7?

Has there been a select...for update?

Seems the deadlock is occurring (as usual) in a fairly lengthy transaction.

If it's me, I think about breaking up the transaction into smaller pieces. To investigate where and how ...

https://dev.mysql.com/doc/refman/5.7/en/innodb-locking.html#innodb-record-locks

https://dev.mysql.com/doc/refman/5.7/en/innodb-information-schema-transactions.html

https://github.com/MarkLeith/mysql-sys#innodb_lock_waits--xinnodb_lock_waits

https://www.slideshare.net/Leithal/performance-schema-and-sys-schema-in-mysql-57

Options: ReplyQuote


Subject
Written By
Posted
February 15, 2019 09:13AM
February 15, 2019 10:09AM
February 15, 2019 02:21PM
Re: Unexpected Innodb table lock
February 15, 2019 03:51PM
February 19, 2019 08:28AM
February 22, 2019 08:04AM
February 19, 2019 09:01AM
February 15, 2019 10:20AM


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.