Overview of Index-Organized Tables (227)

An index-organized table has a storage organization that is a variant of a primary
B-tree. Unlike an ordinary (heap-organized) table whose data is stored as an
unordered collection (heap), data for an index-organized table is stored in a B-tree
index structure in a primary key sorted manner. Besides storing the primary key
column values of an index-organized table row, each index entry in the B-tree stores
the nonkey column values as well.

The index-organized table is somewhat similar to a configuration consisting of an ordinary table and
an index on one or more of the table columns, but instead of maintaining two separate storage
structures, one for the table and one for the B-tree index, the database system maintains only a
single B-tree index. Also, rather than having a row's rowid stored in the index entry, the nonkey
column values are stored. Thus, each B-tree index entry contains non_primary_key_column_values>.


索引组织表
1. 索引组织表中的数据存储在依据主键排序的平衡树索引结构中 ,不仅存储索引表各行的主键列值,
同时也存储各行的非键列值
2. 索引表包含的内容可以看作由两部分构成:一个常规的表;一个建于此表一列或多列上的平衡树索引。
Oracle不会将组成索引表的表和索引作为两个分离的逻辑结构,而是将整个索引表存储为一个平衡树索引。
在索引表中,每个索引项中不会存储 rowid,而是直接存储非键列值。
即每个平衡树索引项中包含 主键列 和 非主键列

[@more@]

来自 “ ITPUB博客 ” ,链接:http://blog.itpub.net/10599713/viewspace-983043/,如需转载,请注明出处,否则将追究法律责任。

转载于:http://blog.itpub.net/10599713/viewspace-983043/

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值