MySQL Forums
Forum List  »  InnoDB

Re: How does Innodb cleverly avoid read-write conflicts when implementing mvcc?
Posted by: Y M
Date: September 03, 2021 10:19AM

I think I can add a more detailed point: the current transaction level is read committed, but transaction 1 reads the data of transaction 2 before transaction 2 is committed (because I did not have a read-write lock to protect this shared area in the steps above. , I want to know whether InnoDB uses read-write locks to handle it in this scenario. As far as I know, mvcc will not lock before the serializable level)

Options: ReplyQuote

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.