最新文章专题视频专题问答1问答10问答100问答1000问答2000关键字专题1关键字专题50关键字专题500关键字专题1500TAG最新视频文章推荐1 推荐3 推荐5 推荐7 推荐9 推荐11 推荐13 推荐15 推荐17 推荐19 推荐21 推荐23 推荐25 推荐27 推荐29 推荐31 推荐33 推荐35 推荐37视频文章20视频文章30视频文章40视频文章50视频文章60 视频文章70视频文章80视频文章90视频文章100视频文章120视频文章140 视频2关键字专题关键字专题tag2tag3文章专题文章专题2文章索引1文章索引2文章索引3文章索引4文章索引5123456789101112131415文章专题3
当前位置: 首页 - 科技 - 知识百科 - 正文

OracleDatabase中B*Tree索引内部维护

来源:动视网 责编:小采 时间:2020-11-09 10:59:39
文档

OracleDatabase中B*Tree索引内部维护

OracleDatabase中B*Tree索引内部维护:当一个btree 索引使用create index语句创建的时候,可以设置pctfree 参数。pctfree指定index block中为了未来更新或者新增索引数 最近一周在复习索引相关的东西,除了回顾concept,还在MOS上看到了一篇比较好的文档。分享给大家。 文档编号:[ID 3
推荐度:
导读OracleDatabase中B*Tree索引内部维护:当一个btree 索引使用create index语句创建的时候,可以设置pctfree 参数。pctfree指定index block中为了未来更新或者新增索引数 最近一周在复习索引相关的东西,除了回顾concept,还在MOS上看到了一篇比较好的文档。分享给大家。 文档编号:[ID 3


当一个btree 索引使用create index语句创建的时候,可以设置pctfree 参数。pctfree指定index block中为了未来更新或者新增索引数

最近一周在复习索引相关的东西,,除了回顾concept,还在MOS上看到了一篇比较好的文档。分享给大家。

文档编号:[ID 30405.1]

This article is only concerned with B*tree indexes which are currently the most commonly used. The theory of B*tree indexes is beyond the scope of this article; for more information refer to computer science texts dealing with data structures.

这篇文档只描述关于当前最常用的b*tree索引。b*tree索引的原理已经超过了本文档的范围。更多的信息可以去查看计算机的数据结构原理。

Format of Index Blocks
~~~~~~~~~~~~~~~~~~~~~~

索引的结构(格式?)

Within a B*tree index, index blocks are either branch blocks, the upper blocks within the B*tree index, or leaf blocks, the lowest level index blocks. Branch blocks contain index data that point to lower level index blocks. Leaf blocks contain every indexed data value and a corresponding ROWID used to locate the actual row.

在b*tree索引中,一共有两种索引块,一种是branch block(分支块),还有leaf block(叶块),一种是高level,一种低level的(低level,在索引底部)。branch block包含定位低等级的索引块(可能是branch block或者leaf block)的pointer 。leaf block包含每一个索引数据值和相应的rowid(用来定位真正的row)。

以下是一个索引块的分布情况:


Index Block Format


|-----------------------------------------------------|
| |
| Index Block Header |
| |
------------------------------------------------------|
| |
| Space reserved for future updates |
| and inserts of new rows with the |
| appropriate key values |
| |
|-----------------------------------------------------| <- PCTFREE say 10
| |
| Index Key Data |
| |
| |
| |
| |
| |
| |
| |
| |
| |
|-----------------------------------------------------|


B*tree Index Creation

文档

OracleDatabase中B*Tree索引内部维护

OracleDatabase中B*Tree索引内部维护:当一个btree 索引使用create index语句创建的时候,可以设置pctfree 参数。pctfree指定index block中为了未来更新或者新增索引数 最近一周在复习索引相关的东西,除了回顾concept,还在MOS上看到了一篇比较好的文档。分享给大家。 文档编号:[ID 3
推荐度:
标签: 维护 oracle 索引
  • 热门焦点

最新推荐

猜你喜欢

热门推荐

专题
Top