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

An efficient bitmap encoding scheme for selection queries

Authors Info & Claims
Published:01 June 1999Publication 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. Ant93.G. Antoshenkov. Byte Aligned Data Compression. U.S. :Patent No: 142640, October 1993.Google ScholarGoogle Scholar
  2. CI98a.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.Google ScholarGoogle Scholar
  3. CI98b.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. Google ScholarGoogle ScholarDigital LibraryDigital Library
  4. Ede95.H. Edelstein. Faster Data Warehouses. Information We,~k, pages 77-88, December 1995.Google ScholarGoogle Scholar
  5. Inf.informix Inc. informix Decision Support Indexing for the Enterprise Data Warehouse. http://www.informix.com/informix/corpinfo/_ zines/whiteidx.htm.Google ScholarGoogle Scholar
  6. Jak97.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.Google ScholarGoogle Scholar
  7. OG95.P. O'Neil and G. Graefe. Multi-Table Joins Through Bitmapped Join Indices. A CM 5IG- MOD Record, pages 8-11, September 1995. Google ScholarGoogle ScholarDigital LibraryDigital Library
  8. O'N87.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. Google ScholarGoogle ScholarDigital LibraryDigital Library
  9. O'N97.P. O'Neil. Informix Indexing Support for Data Warehouses. Database Programming and Design, 10(2):38-43, February 1997.Google ScholarGoogle Scholar
  10. OQ97.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. Google ScholarGoogle ScholarDigital LibraryDigital Library
  11. Syb97.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.Google ScholarGoogle Scholar
  12. WB98.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. Google ScholarGoogle ScholarDigital LibraryDigital Library
  13. Win99.R. Winter. Indexing Goes a New Direction. Intelligent Enterprise, 2(2):70-73, January 199!).Google ScholarGoogle Scholar
  14. WLO+85.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.Google ScholarGoogle Scholar
  15. WLO+86.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.Google ScholarGoogle ScholarCross RefCross Ref

Index Terms

  1. An efficient bitmap encoding scheme for selection queries

            Recommendations

            Comments

            Login options

            Check if you have access through your login credentials or your institution to get full access on this article.

            Sign in
            • 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

              Copyright © 1999 ACM

              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]

              Publisher

              Association for Computing Machinery

              New York, NY, United States

              Publication History

              • Published: 1 June 1999

              Permissions

              Request permissions about this article.

              Request Permissions

              Check for updates

              Qualifiers

              • Article

              Acceptance Rates

              Overall Acceptance Rate785of4,003submissions,20%

            PDF Format

            View or Download as a PDF file.

            PDF

            eReader

            View online with eReader.

            eReader