当前位置:网站首页>【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


边栏推荐
- Bio model realizes multi person chat
- chrome查看页面fps
- Wechat official account infinite callback authorization system source code, launched in the whole network
- Visitor tweets about how you can layout the metauniverse
- Cookie Technology & session Technology & ServletContext object
- leetcode59. 螺旋矩阵 II(中等)
- MPLS experiment
- Cif10 actual combat (resnet18)
- Yield method of tread
- Multi attribute object detection on rare aircraft data sets: experimental process using yolov5
猜你喜欢

1091: two or three things in childhood (multi instance test)

RichView TRVStyle 模板样式的设置与使用

LeetCode 78:子集

Go learning --- use reflection to judge whether the value is valid

Leetcode35. search the insertion position (simple, find the insertion position, different writing methods)

Visitor tweets about how you can layout the metauniverse

leetcode6109. 知道秘密的人数(中等,周赛)
![[server data recovery] case of offline data recovery of two hard disks of IBM server RAID5](/img/c3/7a147151b7338cf38ffbea24e8bafd.jpg)
[server data recovery] case of offline data recovery of two hard disks of IBM server RAID5

WPF之MVVM

Wechat official account infinite callback authorization system source code, launched in the whole network
随机推荐
TS Basics
软件测试外包到底要不要去?三年真实外包感受告诉你
supervisor 使用文档
The best way to learn SEO: search engine
Short video, more and more boring?
Uni app third party package configuration network request
Configure raspberry pie access network
Yield method of tread
Uni app practical project
L'auteur est mort? Ai utilise l'art pour conquérir l'humanité
配置树莓派接入网络
Oracle数据库11gr2使用tde透明数据加密报错ora28353,如果运行关闭wallet会报错ora28365,运行打开wallet就报错ora28353无法打开wallet
CDN acceleration and cracking anti-theft chain function
Seriously recommend several machine learning official account
Uncaught typeerror: cannot red properties of undefined (reading 'beforeeach') solution
Multithreading and concurrent programming (2)
The first Baidu push plug-in of dream weaving fully automatic collection Optimization SEO collection module
Win10 64 bit Mitsubishi PLC software appears oleaut32 DLL access denied
Prefix and array series
OpenGL ES 学习初识(1)