Integrating Non-Volatile Main Memory in a Deterministic Database

被引:0
|
作者
Wang, Yu Chen [1 ]
Brown, Angela Demke [1 ]
Goel, Ashvin [1 ]
机构
[1] Univ Toronto, Toronto, ON M5S 1A1, Canada
基金
加拿大自然科学与工程研究理事会;
关键词
Deterministic databases; Non-volatile memory; Recovery; Logging; Checkpointing;
D O I
10.1145/3552326.3567494
中图分类号
TP3 [计算技术、计算机技术];
学科分类号
0812 ;
摘要
Deterministic databases provide strong serializability while avoiding concurrency-control related aborts by establishing a serial ordering of transactions before their execution. Recent work has shown that they can also handle skewed and contended workloads effectively. These properties are achieved by batching transactions in epochs and then executing the transactions within an epoch concurrently and deterministically. However, the predetermined serial ordering of transactions makes these databases more vulnerable to long-latency transactions. As a result, they have mainly been designed as main-memory databases, which limits the size of the datasets that can be supported. We show how to integrate non-volatile main memory (NVMM) into deterministic databases to support larger datasets at a lower cost per gigabyte and faster failure recovery. We describe a novel dual-version checkpointing scheme that takes advantage of deterministic execution, epoch-based processing and NVMM's byte addressability to avoid persisting all updates to NVMM. Our approach reduces NVMM accesses, provides better access locality, and reduces garbage collection costs, thus lowering the performance impact of using NVMM. We show that our design enables scaling the dataset size while reducing the impacts of using NVMM, achieving up to 79% of DRAM performance. Our design supports efficient failure recovery and outperforms alternative failure recovery designs, especially under contended workloads, by up to 56%.
引用
收藏
页码:672 / 686
页数:15
相关论文
共 50 条
  • [21] Crash Consistency in Encrypted Non-Volatile Main Memory Systems
    Liu, Sihang
    Kolli, Aasheesh
    Ren, Jinglei
    Khan, Samira
    2018 24TH IEEE INTERNATIONAL SYMPOSIUM ON HIGH PERFORMANCE COMPUTER ARCHITECTURE (HPCA), 2018, : 310 - 323
  • [22] Exploring Non-Volatile Main Memory Architectures for Handheld Devices
    Ved, Sneha
    Awasthi, Manu
    PROCEEDINGS OF THE 2018 DESIGN, AUTOMATION & TEST IN EUROPE CONFERENCE & EXHIBITION (DATE), 2018, : 1528 - 1531
  • [23] Efficient Checkpointing with Recompute Scheme for Non-volatile Main Memory
    Alshboul, Mohammad
    Elnawawy, Hussein
    Elkhouly, Reem
    Kimura, Keiji
    Tuck, James
    Solihin, Yan
    ACM TRANSACTIONS ON ARCHITECTURE AND CODE OPTIMIZATION, 2019, 16 (02)
  • [24] Accelerating Traditional File Systems on Non-Volatile Main Memory
    Jin, Weitong
    Zhu, Yanmin
    Huang, Linpeng
    2017 IEEE 23RD INTERNATIONAL CONFERENCE ON PARALLEL AND DISTRIBUTED SYSTEMS (ICPADS), 2017, : 453 - 460
  • [25] Ultra simple way to encrypt non-volatile main memory
    Hou, Fangyong
    He, Hongjun
    SECURITY AND COMMUNICATION NETWORKS, 2015, 8 (07) : 1155 - 1168
  • [26] Non-volatile memory
    Sofer, Yair
    Oowaki, Yukihito
    Digest of Technical Papers - IEEE International Solid-State Circuits Conference, 2005, 48
  • [27] How to Build a Non-Volatile Memory Database Management System
    Arulraj, Joy
    Pavlo, Andrew
    SIGMOD'17: PROCEEDINGS OF THE 2017 ACM INTERNATIONAL CONFERENCE ON MANAGEMENT OF DATA, 2017, : 1753 - 1758
  • [28] Leveraging Non-Volatile Memory for Instant Restarts of In-Memory Database Systems
    Schwalb, David
    Faust, Martin
    Dreseler, Markus
    Flemming, Pedro
    Plattner, Hasso
    2016 32ND IEEE INTERNATIONAL CONFERENCE ON DATA ENGINEERING (ICDE), 2016, : 1386 - 1389
  • [29] Register Allocation for Write Activity Minimization on Non-volatile Main Memory
    Huang, Yazhi
    Liu, Tiantian
    Xue, Chun Jason
    2011 16TH ASIA AND SOUTH PACIFIC DESIGN AUTOMATION CONFERENCE (ASP-DAC), 2011,
  • [30] Non-volatile main memory management methods based on a file system
    Oikawa, Shuichi
    SPRINGERPLUS, 2014, 3