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 条
  • [41] Dependable Non-Volatile Memory
    Martens, Arthur
    Scholz, Rouven
    Lindow, Phil
    Lehnfeld, Niklas
    Kastner, Marc A.
    Kapitza, Ruediger
    SYSTOR'18: PROCEEDINGS OF THE 11TH ACM INTERNATIONAL SYSTEMS AND STORAGE CONFERENCE, 2018, : 1 - 12
  • [42] Nanocrystals for non-volatile memory
    不详
    ELECTRONICS WORLD, 2000, 106 (1776): : 914 - 914
  • [43] NON-VOLATILE SEMICONDUCTOR MEMORY
    KLEIN, R
    TCHON, WE
    MICROPROCESSING AND MICROPROGRAMMING, 1982, 10 (2-3): : 129 - 138
  • [44] Volatile and Non-Volatile Single Electron Memory
    Touati, A.
    Kalboussi, A.
    JOURNAL OF NANO- AND ELECTRONIC PHYSICS, 2013, 5 (03)
  • [45] Accurate age counter for wear leveling on non-volatile based main memory
    Luo, Huizhang
    Zhuge, Qingfeng
    Shi, Liang
    Li, Jian
    Sha, Edwin H. -M.
    DESIGN AUTOMATION FOR EMBEDDED SYSTEMS, 2013, 17 (3-4) : 543 - 564
  • [46] Adaptive Granularity Encoding for Energy-efficient Non-Volatile Main Memory
    Xu, Jie
    Feng, Dan
    Hua, Yu
    Tong, Wei
    Liu, Jingning
    Li, Chunyan
    Xu, Gaoxiang
    Chen, Yiran
    PROCEEDINGS OF THE 2019 56TH ACM/EDAC/IEEE DESIGN AUTOMATION CONFERENCE (DAC), 2019,
  • [47] WAlloc: An Efficient Wear-Aware Allocator for Non-Volatile Main Memory
    Yu, Songping
    Xiao, Nong
    Deng, Mingzhu
    Xing, Yuxuan
    Liu, Fang
    Cai, Zhiping
    Chen, Wei
    2015 IEEE 34TH INTERNATIONAL PERFORMANCE COMPUTING AND COMMUNICATIONS CONFERENCE (IPCCC), 2015,
  • [48] LOOP SCHEDULING OPTIMIZATION FOR CHIP-MULTIPROCESSORS WITH NON-VOLATILE MAIN MEMORY
    Wang, Yan
    Du, Jiayi
    Hu, Jingtong
    Zhuge, Qingfeng
    Sha, Edwin H. -M.
    2012 IEEE INTERNATIONAL CONFERENCE ON ACOUSTICS, SPEECH AND SIGNAL PROCESSING (ICASSP), 2012, : 1553 - 1556
  • [49] Efficient Checkpointing of Loop-Based Codes for Non-Volatile Main Memory
    Elnawawy, Hussein
    Alshboul, Mohammad
    Tuck, James
    Solihin, Yan
    2017 26TH INTERNATIONAL CONFERENCE ON PARALLEL ARCHITECTURES AND COMPILATION TECHNIQUES (PACT), 2017, : 318 - 329
  • [50] NVSwap: Latency-Aware Paging using Non-Volatile Main Memory
    Wu, Yekang
    Zhang, Xuechen
    2021 IEEE INTERNATIONAL CONFERENCE ON NETWORKING, ARCHITECTURE AND STORAGE (NAS), 2021, : 48 - 56