源码版本5.7.22 此处简单记录一下DB_ROLL_PTR指针解析的方法,水平有限,如果有误请谅解。 一、引入
我们知道每一条记录在聚集索引上都有如下的分布:
rowid(主键)+DB_TRX_ID+DB_ROLL_PTR+其他字段这样格式其中DB_TRX_ID+DB_ROLL_PTR作为MVCC的关键信息存储下来,其中DB_TRX_ID在存储上占用6字节,DB_ROLL_PTR在存储上占用7字节。
【mysql】 【innodb】 【index】 【page】 【存储】 …
Community journal
Follow the feed
The latest from the MySQL community
Ideas, releases, practical guides, and perspectives from the people building with MySQL.
Showing entries 51 to 60 of 15692
« Previous |
Next »
Dec
04
2018
Dec
04
2018
Dec
04
2018
Dec
03
2018
Dec
03
2018
Dec
03
2018
Dec
03
2018
Dec
03
2018
Dec
02
2018
Dec
01
2018