当前位置:网站首页>【MySQL学习笔记32】mvcc
【MySQL学习笔记32】mvcc
2022-07-06 07:13:00 【yqs_281876918】
redo log 重做日志
redo log记录了事务提交时数据页的物理修改,是用来实现事务的持久性
该日志分为两部分组成:重做日志缓冲以及重做日志文件,前者在内存中,后者在磁盘中。当事务提交之后会把所有修改信息存到该日志文件中,用于在刷新脏页(也就是未提交的数据)到磁盘发生错误时恢复数据使用。
undo log 回滚日志

MVCC

隐式字段
| 字段名 | 含义 |
|---|---|
| DB_TRX_ID | 最近修改事务ID,记录插入这条记录或最后一次修改该记录的事务ID |
| DR_ROLL_PTR | 回滚指针,记录这条记录的上一个版本,用于配合undo log,指向上一个版本 |
| DB_ROW_ID | 隐藏主键,如果表结构没有指定主键,将会自动生成隐藏主键 |
版本链

readview


边栏推荐
- Cookie技术&Session技术&ServletContext对象
- leetcode35. 搜索插入位置(简单,找插入位置,不同写法)
- 杰理之如若需要大包发送,需要手机端修改 MTU【篇】
- Idea console color log
- 顶测分享:想转行,这些问题一定要考虑清楚!
- Multithreading and concurrent programming (2)
- Solution to the problem of breakthrough in OWASP juice shop shooting range
- Raspberry pie 3B update VIM
- The first Baidu push plug-in of dream weaving fully automatic collection Optimization SEO collection module
- 漏了监控:Zabbix对Eureka instance状态监控
猜你喜欢

Hydra common commands

NFT on fingertips | evaluate ambire on G2, and have the opportunity to obtain limited edition collections

树莓派串口登录与SSH登录方法

这个高颜值的开源第三方网易云音乐播放器你值得拥有

作者已死?AI正用艺术征服人类

19. Actual memory management of segment page combination

配置树莓派接入网络

The author is dead? AI is conquering mankind with art

leetcode841. 钥匙和房间(中等)

Fast target recognition based on pytorch and fast RCNN
随机推荐
Go learning --- use reflection to judge whether the value is valid
MPLS experiment
Win10 64 bit Mitsubishi PLC software appears oleaut32 DLL access denied
Crawling exercise: Notice of crawling Henan Agricultural University
UWA Pipeline 2.2.1 版本更新说明
JDBC learning notes
RichView TRVStyle 模板样式的设置与使用
顶测分享:想转行,这些问题一定要考虑清楚!
Librosa audio processing tutorial
Top test sharing: if you want to change careers, you must consider these issues clearly!
中青看点阅读新闻
Uni app third party package configuration network request
Missing monitoring: ZABBIX monitors the status of Eureka instance
Multithreading and concurrent programming (2)
navicat如何导入MySQL脚本
leetcode1020. 飞地的数量(中等)
What is the biggest problem that fresh e-commerce is difficult to do now
(4) Web security | penetration testing | network security web site source code and related analysis
Wechat official account infinite callback authorization system source code, launched in the whole network
[daily question] 729 My schedule I