您的位置:首页 > 其它

DATA BLOCK物理结构

2010-10-21 15:47 239 查看
DATA BLOCK物理结构:

Cache header 20bytes

Transaction header 48bytes

Data header 14bytes

Table dictionary 4bytes/table | Row dictionary 2 bytes/row

Data Area

tail 4bytes

介绍数据块中包括的3种头信息:

首先,数据块是通过data block buffer cache完成读和写操作的,所以它提供了20bytes的Cache Header和4bytes的 Tail给Cache,用来读取和管理。

第2部分是为Transaction层提供的Header信息。它一共占据了48bytes,包括24bytes的控制信息,和一系列的Interested Transaction Slot (ITS)。

剩下的部分都叫Data Area,用来存储用户数据。Data Area也包括data header,和row data及剩余空间。但是Cluster blocks, table blocks, index block的data header,row data结构是不相同的,这里主要介绍table blocks.
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: