ComputingComputer EngineeringComputer ScienceData StructuresDatabasesStorage SystemsCachingCaching StrategiesData Storage SystemsDatabase ManagementMemory Hierarchy OptimizationQuery ProcessingConsistencyCrash ConsistencyIndex DesignIndexesIndexingKey-value StoresRead AmplificationSecondary Indexes
Secondary indexing is highly demanded for key-value stores by many applications to accelerate query performance. Current secondary indices on key-value stores are typically built on top of the primary index. In a secondary key query, the primary index has to be accessed to fetch the records, with the retrieved primary keys from the secondary index. The record fetching process invokes lots of point lookups in the primary index and exacerbates the read amplification. In this paper, we present SineKV, a decoupled Secondary indexing Key-Value store, aiming to avoid fetching records from the primary index and improve the secondary key query performance. Firstly, SineKV separates the records from the indices and keeps each index pointing to the record values independently. Secondly, SineKV proposes a mapping-based lazy index maintenance strategy to ensure the consistency of secondary indices. Finally, SineKV leverages the CMB feature of the underlying NVMe SSDs to guarantee crash consistency. We implement and evaluate SineKV against LevelDB and Wisc-Key based designs. The evaluations show SineKV outperforms LevelDB and WiscKey based systems by up to 6.12× and 2.78× under microbenchmark and mixed workloads.
24
Space/time trade-offs in hash coding with allowable errors
Burton H. Bloom · Communications of the ACM · 1970 · 7.5K citations · Full text
Fay W. Chang, Sanjay Ghemawat, Wilson C. Hsieh et al. · ACM Transactions on Computer Systems · 2008 · 3.4K citations
James C. Corbett, Michael Epstein, Andrew Fikes et al. · ACM Transactions on Computer Systems · 2013 · 696 citations · Full text
James C. Corbett, Peter Hochschild, Wilson C. Hsieh et al. · ACM Transactions on Computer Systems · 2013 · 332 citations · Full text
Vijayshankar Raman, Gopi K. Attaluri, Ronald Barber et al. · Proceedings of the VLDB Endowment · 2013 · 254 citations