Zen
Authors:
Open Access
- 1 January 2021
- journal article
- research article
- Published by Association for Computing Machinery (ACM) in Proceedings of the VLDB Endowment
- Vol. 14 (5) , 835-848
Abstract
Emerging Non-Volatile Memory (NVM) technologies like 3DX-point promise significant performance potential for OLTP databases. However, transactional databases need to be redesigned because the key assumptions that non-volatile storage is orders of magnitude slower than DRAM and only supports blocked-oriented access have changed. NVMs are byte-addressable and almost as fast as DRAM. The capacity of NVM is much (4-16x) larger than DRAM. Such NVM characteristics make it possible to build OLTP database entirely in NVM main memory. This paper studies the structure of OLTP engines with hybrid NVM and DRAM memory. We observe three challenges to design an OLTP engine for NVM: tuple metadata modifications, NVM write redundancy, and NVM space management. We propose Zen, a high-throughput log-free OLTP engine for NVM. Zen addresses the three design challenges with three novel techniques: metadata enhanced tuple cache, log-free persistent transactions, and light-weight NVM space management. Experimental results on a real machine equipped with Intel Optane DC Persistent Memory show that Zen achieves up to 10.1x improvement compared with existing solutions to run an OLTP database as large as the size of NVM while achieving fast failure recovery.Keywords
This publication has 34 references indexed in Scilit:
- NVRAM-aware logging in transaction systemsProceedings of the VLDB Endowment, 2014
- Spin-transfer torque magnetic random access memory (STT-MRAM)ACM Journal on Emerging Technologies in Computing Systems, 2013
- Memristive devices in computing systemACM Journal on Emerging Technologies in Computing Systems, 2013
- NV-HeapsACM SIGPLAN Notices, 2011
- MnemosyneACM SIGPLAN Notices, 2011
- A recovery algorithm for a high-performance memory-resident database systemACM SIGMOD Record, 1987
- Implementation techniques for main memory database systemsACM SIGMOD Record, 1984
- On optimistic methods for concurrency controlACM Transactions on Database Systems, 1981
- Concurrency Control in Distributed Database SystemsACM Computing Surveys, 1981
- The notions of consistency and predicate locks in a database systemCommunications of the ACM, 1976