计算机应用 ›› 2010, Vol. 30 ›› Issue (8): 2013-2016.

• 人工智能 • 上一篇    下一篇

基于Bin位图索引的多维查询优化算法

王黎明1,程晓2,柴玉梅1   

  1. 1.
    2. 郑州大学新校区信息工程学院
  • 收稿日期:2010-02-01 修回日期:2010-04-20 发布日期:2010-07-30 出版日期:2010-08-01
  • 通讯作者: 程晓

Multi-dimensional query optimization algorithm for bitmap index with binning

  • Received:2010-02-01 Revised:2010-04-20 Online:2010-07-30 Published:2010-08-01

摘要: 在属性基数(该属性可能的取值数)很高的情况下,简单位图索引需要占用太大存储空间。Bin位图索引可以很好解决这个问题。这种索引不像简单位图索引那样建立在不同的属性值上,而是建立在属性范围上,但候选检查往往占用大部分的查询时间。为了提高查询性能,提出一种排序方法来对各属性进行排序,以减少候选检查数目,并在此基础上提出动态预扫描算法。实验结果表明,排序和动态预扫描算法都取得了良好的效果。

关键词: 数据仓库, 位图索引, 多维查询, 编码

Abstract: The storage requirements for simple bitmap index is unacceptable when cardinality (the number of distinct values)of the attribute is very high. A common approach to solve this problem is to build bitmap index with binning. This technique builds a bitmap for each bin in a certain attribute range rather than distinct values. But this approach cause the time waste during candidate check because candidate check usually dominates the most of query processing time. In order to improve query performance, a new sort method for attributes was propsed to reduce the number of candidate check. And then a dynamic prescan algorithm was proposed. The experimental results show that our approach has a significant improvement over traditional strategies.

Key words: data warehouse, bitmap index, multi-dimensional query, encoding