• DocumentCode
    2428187
  • Title

    CCIndex for Cassandra: A Novel Scheme for Multi-dimensional Range Queries in Cassandra

  • Author

    Feng, Chen ; Zou, Yongqiang ; Xu, Zhiwei

  • Author_Institution
    Inst. of Comput. Technol., Beijing, China
  • fYear
    2011
  • fDate
    24-26 Oct. 2011
  • Firstpage
    130
  • Lastpage
    136
  • Abstract
    Multi-dimensional range queries are fundamental requirements in large scale Internet applications using Distributed Ordered Tables. Apache Cassandra is a Distributed Ordered Table when it employs order-preserving hashing as data partitioner. Cassandra supports multi-dimensional range queries with poor performance and with a limitation that there must be one dimension with an equal operator. Based on the success of CCIndex scheme in Apache HBase, this paper tries to answer the question: Can CCIndex benefit multi-dimensional range queries in DOTs like Cassandra? This paper studies the feasibility of employing CCIndex in Cassandra, proposes a new approach to estimate result size, implements CCIndex in Cassandra including recovery mechanisms and studies the pros and cons of CCIndex for different DOTs. Experimental results show that CCIndex gains 2.4 to 3.7 times efficiency over Cassandra´s index scheme with 1% to 50% selectivity for 2 million records. This paper shows that CCIndex is a general approach for DOTs, and could gain better performance for DOTs which perform scan tasks much faster than random read. This paper reveals that Cassandra is optimized for hash tables rather than ordered tables in performing read and range queries.
  • Keywords
    database indexing; distributed databases; query processing; Apache Cassandra; CCIndex; distributed ordered table; hash table; large scale Internet application; multidimensional range queries; order-preserving hashing; Distributed databases; Estimation; Indexes; Kernel; Reliability; Throughput; Writing;
  • fLanguage
    English
  • Publisher
    ieee
  • Conference_Titel
    Semantics Knowledge and Grid (SKG), 2011 Seventh International Conference on
  • Conference_Location
    Beijing
  • Print_ISBN
    978-1-4577-1323-1
  • Type

    conf

  • DOI
    10.1109/SKG.2011.28
  • Filename
    6088101