skip to main content
10.1145/304182.304201acmconferencesArticle/Chapter ViewAbstractPublication PagesmodConference Proceedingsconference-collections
Article
Free access

An efficient bitmap encoding scheme for selection queries

Published: 01 June 1999 Publication History

Abstract

Bitmap indexes are useful in processing complex queries in decision support systems, and they have been implemented in several commercial database systems. A key design parameter for bitmap indexes is the encoding scheme, which determines the bits that are set to 1 in each bitmap in an index. While the relative performance of the two existing bitmap encoding schemes for simple selection queries of the form “v1Av2” is known (specifically, one of the encoding schemes is better for processing equality queries; i.e., v1 = v2, while the other is better for processing range queries; i.e., v1 < v2), it remains an open question whether these two encoding schemes are indeed optimal for their respective query classes in the sense that there is no other encoding scheme with better space-time tradeoff. In this paper, we establish a number of optimality results for the existing encoding schemes; in particular, we prove that neither of the two known schemes is optimal for the class of two-sided range queries. We also propose a new encoding scheme and prove that it is optimal for that class. Finally, we present an experimental study comparing the performance of the new encoding scheme with that of the existing ones as well as four hybrid encoding schemes for both simple selection queries and the more general class of membership queries of the form “A ∈ {v1, v2, .…, vk}”. These results demonstrate that the new encoding scheme has an overall better space-time performance than existing schemes.

References

[1]
G. Antoshenkov. Byte Aligned Data Compression. U.S. :Patent No: 142640, October 1993.
[2]
C.Y. China and Y.E. Ioannidis. An Efficient Bitmap Encoding Scheme for Selection Querlies. Computer Sciences Department, University of Wisconsin-Madison, 1998. http://www.cs.wisc.edu/~cychan/interval.ps.
[3]
C.Y. Chan and Y.E. Ioannidis. Bitmap Index Design and Evaluation. In Proceedings of the Intl. A CM SIGMOD Conference, pages 355- 366, Seattle, Washington, June 1998.
[4]
H. Edelstein. Faster Data Warehouses. Information We,~k, pages 77-88, December 1995.
[5]
informix Inc. informix Decision Support Indexing for the Enterprise Data Warehouse. http://www.informix.com/informix/corpinfo/_ zines/whiteidx.htm.
[6]
H. Jakobs,~on. Bitmap Indexing in Oracle Data Warehousing.Database seminar at Stanford University. http://wwwdb.stanford.edu/dbseminar/Archive/Fal197/_ slides/oracle/, October 1997.
[7]
P. O'Neil and G. Graefe. Multi-Table Joins Through Bitmapped Join Indices. A CM 5IG- MOD Record, pages 8-11, September 1995.
[8]
P. O'Neil. Model 204 Architecture and Performance. In Proceedings of the 2nd International Workshop on High Performance Tran,~actions Systems, pages 40-59, Asilomar, CA, 1987. Springer-Verlag. In Lecture Notes in Computer Science 359.
[9]
P. O'Neil. Informix Indexing Support for Data Warehouses. Database Programming and Design, 10(2):38-43, February 1997.
[10]
P. O'Neil and D. Quass. Improved Query Performance with Variant Indexes. In Proceedings of the Intl. A CM SIGMOD Conference, pages 38-49, Tucson, Arizona, May 1997.
[11]
Sybase Inc. Sybase IQ Indexes. In Sybase IQ Administration Guide, Sybase IQ Release 11.2 Collection, chapter 5. Sybase Inc., March 1997. http://sybooks.sybase.com/cgi-bin/nphdynaweb/siql1201/iq_admin/1.toc.
[12]
M.C. Wu and A.P. Buchmann. Encoded Bitmap Indexing for Data Warehouses. In Proceeding~ of the In~l. Conference on Data Engineering, pages 220-230, Orlando, Florida, February 1998.
[13]
R. Winter. Indexing Goes a New Direction. Intelligent Enterprise, 2(2):70-73, January 199!).
[14]
H.K.T. Wong, H-F. Liu, F. Olken, D. Rotem, and L. Wong. Bit Transposed Files. In Proceedings of the Intl. Conference on Very Large Data Bases, pages 448-457, Stockholm, 1985.
[15]
H.K.T. Wong, J.Z. Li, F. Olken, D. Rotem, and L. Wong. Bit Transposition for Very Large Scientific and Statistical Databases. Algorithmica, 1(3):289-309, 1986.

Cited By

View all

Recommendations

Comments

Information & Contributors

Information

Published In

cover image ACM Conferences
SIGMOD '99: Proceedings of the 1999 ACM SIGMOD international conference on Management of data
June 1999
604 pages
ISBN:1581130848
DOI:10.1145/304182
Permission to make digital or hard copies of all or part of this work for personal or classroom use is granted without fee provided that copies are not made or distributed for profit or commercial advantage and that copies bear this notice and the full citation on the first page. Copyrights for components of this work owned by others than ACM must be honored. Abstracting with credit is permitted. To copy otherwise, or republish, to post on servers or to redistribute to lists, requires prior specific permission and/or a fee. Request permissions from [email protected]

Sponsors

Publisher

Association for Computing Machinery

New York, NY, United States

Publication History

Published: 01 June 1999

Permissions

Request permissions for this article.

Check for updates

Qualifiers

  • Article

Conference

SIGMOD/PODS99

Acceptance Rates

Overall Acceptance Rate 785 of 4,003 submissions, 20%

Contributors

Other Metrics

Bibliometrics & Citations

Bibliometrics

Article Metrics

  • Downloads (Last 12 months)211
  • Downloads (Last 6 weeks)44
Reflects downloads up to 05 Feb 2025

Other Metrics

Citations

Cited By

View all

View Options

View options

PDF

View or Download as a PDF file.

PDF

eReader

View online with eReader.

eReader

Login options

Figures

Tables

Media

Share

Share

Share this Publication link

Share on social media