We gratefully acknowledge support from
the Simons Foundation and member institutions.
Full-text links:

Download:

Current browse context:

cs.DB

Change to browse by:

cs

References & Citations

DBLP - CS Bibliography

Bookmark

(what is this?)
CiteULike logo BibSonomy logo Mendeley logo del.icio.us logo Digg logo Reddit logo

Computer Science > Databases

Title: CedrusDB: Persistent Key-Value Store with Memory-Mapped Lazy-Trie

Abstract: Most of today's persistent key-value stores are based either on a write-optimized Log-Structured Merge tree (LSM) or a read-optimized B+-tree, both of which assume that there is not enough memory to cache the entire data set. As RAM is becoming cheaper and more abundant, it is time to revisit the design of persistent key-value storage systems. This paper introduces a new design called "lazy-trie" to index the persistent storage, a variant of the hash-trie data structure, optimized to cache entirely in memory. A lazy-trie achieves near-optimal height and has practical storage overhead, but does not support range queries.
We implemented CedrusDB, a lazy-trie-based persistent key-value store. The implementation uses memory-mapping. The lazy-trie organization in virtual memory allows CedrusDB to better leverage concurrent processing than other organizations. CedrusDB achieves comparable or superior performance for both popular LSM- and B+-tree-based key-value stores in mixed workloads.
Subjects: Databases (cs.DB)
Cite as: arXiv:2005.13762 [cs.DB]
  (or arXiv:2005.13762v2 [cs.DB] for this version)

Submission history

From: Maofan Yin [view email]
[v1] Thu, 28 May 2020 03:26:02 GMT (7841kb,D)
[v2] Sat, 12 Dec 2020 04:49:58 GMT (9807kb,D)
[v3] Wed, 21 Jul 2021 20:13:46 GMT (9232kb,D)

Link back to: arXiv, form interface, contact.