博客首页 注册 建议与交流 排行榜 加入友情链接
推荐 投诉 搜索: 帮助

CLEANER

如果你的工作,机器也可以做。那总有一天,你也要变成机器。
   yuechaotian.cublog.cn
关于作者  
name:yuechaotian
employment:coder
age:25
from:NEU
about me:a retardate
email:yuechaotian(at)gmail.com
msn:yuechaotian(at)hotmail.com

我的分类  




数据块(4)— Row Directory
 

我们先回顾一下 Row Directory 中的信息:

 

-- Row Directory

data_block_dump,data header at 0x3051074

===============

tsiz: 0x1f88

hsiz: 0x22

pbl: 0x03051074

bdba: 0x02c000e2

     76543210

flag=--------

ntab=1

nrow=8

frre=-1

fsbo=0x22

fseo=0x1ec0

avsp=0x1f1e

tosp=0x1f1e

0xe:pti[0] nrow=8 offs=0

0x12:pri[0]   offs=0x1eff

0x14:pri[1]   offs=0x1ef6

0x16:pri[2]   offs=0x1eed

0x18:pri[3]   offs=0x1ee4

0x1a:pri[4]   offs=0x1edb

0x1c:pri[5]   offs=0x1ed2

0x1e:pri[6]   offs=0x1ec9

0x20:pri[7]   offs=0x1ec0

 

tsiz: total data area size


hsiz: data header size


pbl: point to buffer holding the block


bdba: rdba,与 Header 中的 rdba 相同。


flag:n=pctfree hit(clusters); f=do not put on freelist;k=flushable cluster keys


ntab:number of tables (>1 in clusters)


nrow:number of rows


frre:first free row index entry;-1=you have to add one


fsbo:free space begin offset


fseo:free space end offset


avsp:available space in the block


tosp:total available space when all txs commit

 

 

(参考冰冻奶茶DATA BLOCK内部结构

 发表于: 2008-05-15,修改于: 2008-05-15 23:11 已浏览381次,有评论0条 推荐 投诉

  网友评论

  发表评论



Copyright © 2001-2006 ChinaUnix.net All Rights Reserved

感谢所有关心和支持过ChinaUnix的朋友们
页面生成时间:0.12873

京ICP证041476号