inex block is taken out ot the index structure?(yue阅读专家编程)

[复制链接]
查看11 | 回复4 | 2005-10-30 17:05:33 | 显示全部楼层 |阅读模式
When an index block is emptied, it is taken out of the index structure and may be reused later
这里索引结构(index structrue)指的是什么呢?
是指:含有index entry的索引块列表吗?如果某个index block is empty ,那么该块就会从index structrue中被取出来,是指当进行index scan时候,不会再scan这些块,这些块会被重新放回index 的freelist上,
为什么这些空的index block就不属于index structrue呢?
回复

使用道具 举报

千问 | 2005-10-30 17:05:33 | 显示全部楼层
索引结构,这里Tom指的就是索引本身,root-branch-leaf,对B*Tree索引,就是这个平衡树。
当一个索引Block完全空的时候,才会回到freelist上,这个特性和数据段是不同的。
回复

使用道具 举报

千问 | 2005-10-30 17:05:33 | 显示全部楼层
索引不能指定PCTUSED属性。
原来索引块的重用机制是这样的。
回复

使用道具 举报

千问 | 2005-10-30 17:05:33 | 显示全部楼层
就是这样理解:freelist上的block不属于index,那个平衡树也不包括完全为空的block(freelist上的块)。
回复

使用道具 举报

千问 | 2005-10-30 17:05:33 | 显示全部楼层
freelist上的block不属于index,但该block只能被该index使用吧
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

主题

0

回帖

4882万

积分

论坛元老

Rank: 8Rank: 8

积分
48824836
热门排行