PMLiteDB: Streamlining Access Paths for High-Performance Persistent Memory Document Database Systems
IEEE Transactions on Computers(2023)
摘要
The advent of byte-addressable persistent memory opens an important opportunity for document databases to read and write durable data fetching them into DRAM. Reaping the benefit of persistent memory is not straightforward, as existing document databases are tailored for disk storage. They assume that the disk and DRAM data movement dominates the performance. However, this paper points out that data indexing becomes the performance bottleneck when porting document databases to persistent memory. The paper proposes PMLiteDB, the first persistent memory document database with streamlined access paths. PMLiteDB introduces two techniques,
direct reading
and
selective caching
.
Direct reading
streamlines the translation from document IDs to the address of documents whenever possible by swizzling the IDs into
persistent memory references
. It guarantees to use only up-to-date
persistent memory references
when document movements invalidate associated references.
Selective caching
reduces data movements between DRAM and persistent memory by selectively caching only frequently accessed persistent memory data pages with a DRAM buffer. For other pages, the database loads data on them directly without caching. Compared to the design that adopts persistent memory as a fast disk without exploiting the byte-addressability, PMLiteDB achieves 2.33× on average and up to 6.18× speedup.
更多查看译文
关键词
Persistent memory,document database,database reference,access path
AI 理解论文
溯源树
样例
生成溯源树,研究论文发展脉络
Chat Paper
正在生成论文摘要