Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

mysql中的mvcc | guluo #9

Open
guluo2016 opened this issue Aug 16, 2022 · 0 comments
Open

mysql中的mvcc | guluo #9

guluo2016 opened this issue Aug 16, 2022 · 0 comments

Comments

@guluo2016
Copy link
Owner

https://guluo2016.github.io/2022/08/16/mysql%E4%B8%AD%E7%9A%84mvcc/#more

综述MVCC全称多版本并发控制。 主要原理就是对于同一份数据,在数据库中存储多份,每一份都是一个版本。然后根据事务发生的先后顺序,来决定哪些版本的数据对该事务可见,从而实现并发控制。 MVCC主要解决的问题 MVCC主要解决的是读写并发问题,可以在无锁情况下实现读写并发,从而可以提交读写效率。 关系型数据库中的读已提交、可重复读事务的隔离等级就是基于MVCC实现的。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant