MySQL Forums
Forum List  »  InnoDB

Re: How does Innodb cleverly avoid read-write conflicts when implementing mvcc?
Posted by: Peter Brawley
Date: September 04, 2021 11:50AM

> if step 5 does not happen, only transaction 1 adds a shared lock
> to the row to avoid the modification of transaction 2.

Only with select ... in shared mode or for update.

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.