当前位置:网站首页>【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
边栏推荐
- Interface automation test framework: pytest+allure+excel
- Structure summary of SystemVerilog integrable model
- 【JDBC】快速入门教程
- 杰理之蓝牙设备想要发送数据给手机,需要手机先打开 notify 通道【篇】
- The author is dead? AI is conquering mankind with art
- 指尖上的 NFT|在 G2 上评价 Ambire,有机会获得限量版收藏品
- Embed UE4 program into QT interface display
- Is software testing outsourcing going or not? Three years' real outsourcing experience tells you
- Due to high network costs, arbitrum Odyssey activities are suspended, and nitro release is imminent
- Thought map of data warehouse construction
猜你喜欢
杰理之开发板上电开机,就可以手机打开 NRF 的 APP【篇】
leetcode59. 螺旋矩阵 II(中等)
Leetcode59. spiral matrix II (medium)
You deserve this high-value open-source third-party Netease cloud music player
LeetCode 78:子集
ORACLE列转行--某字段按指定分隔符转多行
The first Baidu push plug-in of dream weaving fully automatic collection Optimization SEO collection module
C language_ Double create, pre insert, post insert, traverse, delete
JDBC学习笔记
Setting and using richview trvstyle template style
随机推荐
[server data recovery] case of offline data recovery of two hard disks of IBM server RAID5
CDN acceleration and cracking anti-theft chain function
Is software testing outsourcing going or not? Three years' real outsourcing experience tells you
Configure raspberry pie access network
Oracle数据库11gr2使用tde透明数据加密报错ora28353,如果运行关闭wallet会报错ora28365,运行打开wallet就报错ora28353无法打开wallet
19. Actual memory management of segment page combination
Uni app third party package configuration network request
杰理之普通透传测试---做数传搭配 APP 通信【篇】
OpenGL ES 学习初识(1)
navicat如何导入MySQL脚本
Go learning --- use reflection to judge whether the value is valid
1189. Maximum number of "balloons"
中青看点阅读新闻
Refer to how customer push e-commerce does content operation
Raspberry pie serial port login and SSH login methods
Structure summary of SystemVerilog integrable model
How to find a medical software testing institution? First flight software evaluation is an expert
Introduction to the basics of network security
MPLS experiment
WPF之MVVM