Towards the Design of Efficient and Consistent Index Structure with Minimal Write Activities for Non-Volatile Memory

Research output: Contribution to journalArticlepeer-review

8 Scopus citations

Abstract

Index structures can significantly accelerate the data retrieval operations in data intensive systems, such as databases. Tree structures, such as B+-tree alike, are commonly employed as index structures; however, we found that the tree structure may not be appropriate for Non-Volatile Memory (NVM) in terms of the requirements for high-performance and high-endurance. This paper studies what is the best index structure for NVM-based systems and how to design such index structures. The design of an NVM-friendly index structure faces a lot of challenges. First, in order to prolong the lifetime of NVM, the write activities on NVM should be minimized. To this end, the index structure should be as simple as possible. The index proposed in this paper is based on the simplest data structure, i.e., linked list. Second, the simple structure brings challenges to achieve high-performance data retrieval operations. To overcome this challenge, we design a novel technique by explicitly building up a contiguous virtual address space on the linked list, such that efficient search algorithms can be performed. Third, we need to carefully consider data consistency issues in NVM-based systems, because the order of memory writes may be changed and the data content in NVM may be inconsistent due to write-back effects of CPU cache. This paper devises a novel indexing scheme, called 'Virtual Linear Addressable Buckets' (VLAB). We implement VLAB in a storage engine and plug it into MySQL. Evaluations are conducted on an NVDIMM workstation using YCSB workloads and real-world traces. Results show that write activities of the state-of-the-art indexes are 6.98 times more than ours; meanwhile, VLAB achieves 2.53 times speedup.

Original languageEnglish
Article number8046077
Pages (from-to)432-448
Number of pages17
JournalIEEE Transactions on Computers
Volume67
Issue number3
DOIs
StatePublished - 1 Mar 2018

Keywords

  • NVM-based in-memory systems
  • Non-volatile memory
  • data consistency
  • high performance
  • indexing scheme

Fingerprint

Dive into the research topics of 'Towards the Design of Efficient and Consistent Index Structure with Minimal Write Activities for Non-Volatile Memory'. Together they form a unique fingerprint.

Cite this