Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
skip to main content
10.1145/2619228.2619235acmconferencesArticle/Chapter ViewAbstractPublication PagesmodConference Proceedingsconference-collections
research-article

HICAMP bitmap: space-efficient updatable bitmap index for in-memory databases

Published: 23 June 2014 Publication History
  • Get Citation Alerts
  • Abstract

    Bitmap represents an efficient indexing structure for querying large amounts of data and is widely deployed in data-warehouse applications. While the size of a bitmap scales linearly with the number of rows in a table, due to its sparseness, it can be greatly reduced via compression based on run-length encoding. However, updating a compressed bitmap is expensive due to the encoding and decoding overheads, in particular, as re-compression can change the compressed sequence length and data layout. Due to this problem, bitmap indices only perform well for read-only workloads.
    In this paper, we propose a bitmap index structure which is both space-efficient and allows fast updates, by building on top of a smart memory model called HICAMP. As a consequence, our approach enables bitmap indices for workloads that exhibit high update ratios as in OLTP workloads. We also present a new multi-bit bitmap design which addresses the candidate checking problem. In our experiments, the HICAMP bitmap index demonstrates 3~12x reduction in size over B-tree and 8~30x over other commonly used indexing structures such as Red-Black tree, while supporting efficient updates simultaneously.

    References

    [1]
    G. Antoshenkov. Byte-aligned bitmap compression. Technical report, Oracle Corp. U.S. Patent number 5,363,098.
    [2]
    T. Bingmann. STX B+Tree. https://panthema.net/2007/stx-btree/, 2013.
    [3]
    D. Cheriton, A. Firoozshahian, A. Solomatnikov, J. P. Stevenson, and O. Azizi. Hicamp: Architectural support for efficient concurrency-safe shared structured data access. SIGARCH Comput. Archit. News, 40(1):287--300, Mar. 2012.
    [4]
    A. Colantonio and R. D. Pietro. Concise: Compressed 'n' composable integer set. CoRR, 2010.
    [5]
    T. P. P. Council. TPC-H Specification. http://www.tpc.org/tpch/spec/tpch2.16.0.pdf, 2013.
    [6]
    F. Färber, N. May, W. Lehner, P. Große, I. Müller, H. Rauhe, and J. Dees. The SAP HANA Database -- an architecture overview. IEEE Data Eng. Bull., 35(1):28--33, 2012.
    [7]
    G. Graefe, H. Kimura, and H. Kuno. Foster b-trees. ACM Trans. Database Syst., 37(3):17:1--17:29, 2012.
    [8]
    C. Kim, J. Chhugani, N. Satish, E. Sedlar, A. D. Nguyen, T. Kaldewey, V. W. Lee, S. A. Brandt, and P. Dubey. FAST: fast architecture sensitive tree search on modern cpus and gpus. In International Conference on Management of Data. ACM, 2010.
    [9]
    T. Kissinger, B. Schlegel, D. Habich, and W. Lehner. KISS-Tree: Smart latch-free in-memory indexing on modern architectures. In International Workshop on Data Management on New Hardware. ACM, 2012.
    [10]
    J. Krueger, C. Kim, M. Grund, N. Satish, D. Schwalb, J. Chhugani, H. Plattner, P. Dubey, and A. Zeier. Fast updates on read-optimized databases using multi-core cpus. Proc. VLDB Endow., 5(1):61--72, Sept. 2011.
    [11]
    P. L. Lehman and s. B. Yao. Efficient locking for concurrent operations on b-trees. ACM Trans. Database Syst., 6(4):650--670, Dec. 1981.
    [12]
    V. Leis, A. Kemper, and T. Neumann. The adaptive radix tree: Artful indexing for main-memory databases. In International Conference on Data Engineering. IEEE, 2013.
    [13]
    H. Litz, D. Cheriton, A. Firoozshahian, O. Azizi, and J. P. Stevenson. SI-TM: Reducing transactional memory abort rates through snapshot isolation. In Proceedings of the 19th International Conference on Architectural Support for Programming Languages and Operating Systems, ASPLOS '14, pages 383--398, New York, NY, USA, 2014. ACM.
    [14]
    D. B. Lomet, S. Sengupta, and J. J. Levandoski. The Bw-Tree: A b-tree for new hardware platforms. In Proceedings of the 2013 IEEE International Conference on Data Engineering (ICDE 2013), ICDE '13, pages 302--313, Washington, DC, USA, 2013. IEEE Computer Society.
    [15]
    C.-K. Luk, R. Cohn, R. Muth, H. Patil, A. Klauser, G. Lowney, S. Wallace, V. J. Reddi, and K. Hazelwood. Pin: Building customized program analysis tools with dynamic instrumentation. SIGPLAN Not., 40(6):190--200, June 2005.
    [16]
    D. Osmari. STL AVL Map. http://stlavlmap.sourceforge.net/, 2008.
    [17]
    D. Sanchez and C. Kozyrakis. Zsim: Fast and accurate microarchitectural simulation of thousand-core systems. SIGARCH Comput. Archit. News, 41(3):475--486, June 2013.
    [18]
    C. Saulnier. CS::SkipList C++ Generic Template Container Library. http://csskiplist.sourceforge.net/.
    [19]
    L. Sidirourgos and M. Kersten. Column imprints: a secondary index structure. In Proceedings of the 2013 international conference on Management of Data, pages 893--904. ACM, 2013.
    [20]
    B. T. G. B. B. Steven Pelley, Thomas F. Wenisch. Storage management in the NVRAM era. Proceedings of the VLDB Endowment, 7:121--132, Oct. 2013.
    [21]
    K. Stockinger and K. Wu. Bitmap indices for data warehouses. Data Warehouses and OLAP: Concepts, Architectures and Solutions, 5:157--178, 2007.
    [22]
    H. S. Warren. Hacker's Delight. Addison-Wesley, Boston, MA, USA, 2002.
    [23]
    K. Wu. Fastbit: an efficient indexing technology for accelerating data-intensive science. In Journal of Physics: Conference Series, volume 16, page 556. IOP Publishing, 2005.
    [24]
    K. Wu, E. J. Otoo, and A. Shoshani. Optimizing bitmap indices with efficient compression. ACM Trans. Database Syst., 31(1):1--38, Mar. 2006.

    Cited By

    View all
    • (2021)Updatable Materialization of Approximate Constraints2021 IEEE 37th International Conference on Data Engineering (ICDE)10.1109/ICDE51399.2021.00189(1991-1996)Online publication date: Apr-2021
    • (2020)Tree-Encoded BitmapsProceedings of the 2020 ACM SIGMOD International Conference on Management of Data10.1145/3318464.3380588(937-967)Online publication date: 11-Jun-2020
    • (2016)UpBitProceedings of the 2016 International Conference on Management of Data10.1145/2882903.2915964(1319-1332)Online publication date: 26-Jun-2016

    Recommendations

    Comments

    Information & Contributors

    Information

    Published In

    cover image ACM Conferences
    DaMoN '14: Proceedings of the Tenth International Workshop on Data Management on New Hardware
    June 2014
    71 pages
    ISBN:9781450329712
    DOI:10.1145/2619228
    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: 23 June 2014

    Permissions

    Request permissions for this article.

    Check for updates

    Qualifiers

    • Research-article

    Conference

    SIGMOD/PODS'14
    Sponsor:

    Acceptance Rates

    Overall Acceptance Rate 94 of 127 submissions, 74%

    Contributors

    Other Metrics

    Bibliometrics & Citations

    Bibliometrics

    Article Metrics

    • Downloads (Last 12 months)10
    • Downloads (Last 6 weeks)2
    Reflects downloads up to 10 Aug 2024

    Other Metrics

    Citations

    Cited By

    View all
    • (2021)Updatable Materialization of Approximate Constraints2021 IEEE 37th International Conference on Data Engineering (ICDE)10.1109/ICDE51399.2021.00189(1991-1996)Online publication date: Apr-2021
    • (2020)Tree-Encoded BitmapsProceedings of the 2020 ACM SIGMOD International Conference on Management of Data10.1145/3318464.3380588(937-967)Online publication date: 11-Jun-2020
    • (2016)UpBitProceedings of the 2016 International Conference on Management of Data10.1145/2882903.2915964(1319-1332)Online publication date: 26-Jun-2016

    View Options

    Get Access

    Login options

    View options

    PDF

    View or Download as a PDF file.

    PDF

    eReader

    View online with eReader.

    eReader

    Media

    Figures

    Other

    Tables

    Share

    Share

    Share this Publication link

    Share on social media