Bitmap Join Indexes (226)

本文介绍了位图连接索引的概念及其在数据仓库环境中的应用。位图连接索引通过存储与主键对应的rowid来提高连接操作的效率,并与物化连接视图进行了对比。

摘要生成于 C知道 ,由 DeepSeek-R1 满血版支持, 前往体验 >

In addition to a bitmap index on a single table, you can create a bitmap join index,
which is a bitmap index for the join of two or more tables. A bitmap join index is a
space efficient way of reducing the volume of data that must be joined by performing
restrictions in advance. For each value in a column of a table, a bitmap join index
stores the rowids of corresponding rows in one or more other tables. In a data
warehousing environment, the join condition is an equi-inner join between the
primary key column or columns of the dimension tables and the foreign key column
or columns in the fact table.

Bitmap join indexes are much more efficient in storage than materialized join views, an
alternative for materializing joins in advance. This is because the materialized join
views do not compress the rowids of the fact tables.

位图连接索引
1. 除了建立在单个表之上的位图索引,用户还可以在两个或多个表创建位图连接索引。位图连接索引
可以预先将有连接关系的数据进行保存,且所需的存储空间较小。对于一个表的某列的每个值,
位图连接索引为其保存其他表中与此值有连接关系的数据行的 rowid。
在数据仓库环境中,连接关系通常是维表中的主键与事实表中的外键进行等值内连接
2. 物化连接视图也是一种预先将连接物化的方法,但与之相比位图连接索引所需的存储空间更少。
因为物化连接视图不会压缩事实表中的 rowid。

[@more@]

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

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

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值