Home  >  Article  >  Backend Development  >  mysql中的mvcc,如何理解与应用?谢谢

mysql中的mvcc,如何理解与应用?谢谢

WBOY
WBOYOriginal
2016-06-06 20:16:11918browse

如题.
谢谢

回复内容:

如题.
谢谢

mvcc:多版本并发控制

说白了就是对每条记录保存多个时刻的副本,当多个事务同时读同一条数据的时候,根据事务开始的时刻,读取不同的快照数据,从而达到事务的可重复读隔离级别。

使用mysql innodb引擎,默认就是使用了mvcc的可重复读事务级别

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn