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 条
  • [31] Aging-Aware Request Scheduling for Non-Volatile Main Memory
    Song, Shihao
    Das, Anup
    Mutlu, Onur
    Kandasamy, Nagarajan
    2021 26TH ASIA AND SOUTH PACIFIC DESIGN AUTOMATION CONFERENCE (ASP-DAC), 2021, : 657 - 664
  • [32] Efficient Loop Scheduling for Chip Multiprocessors with Non-Volatile Main Memory
    Du, Jiayi
    Wang, Yan
    Zhuge, Qingfeng
    Hu, Jingtong
    Sha, Edwin H. -M.
    JOURNAL OF SIGNAL PROCESSING SYSTEMS FOR SIGNAL IMAGE AND VIDEO TECHNOLOGY, 2013, 71 (03): : 261 - 273
  • [33] WET: Write Efficient Loop Tiling for Non-Volatile Main Memory
    Alshboul, Mohammad
    Tuck, James
    Solihin, Yan
    PROCEEDINGS OF THE 2020 57TH ACM/EDAC/IEEE DESIGN AUTOMATION CONFERENCE (DAC), 2020,
  • [34] Efficient Loop Scheduling for Chip Multiprocessors with Non-Volatile Main Memory
    Jiayi Du
    Yan Wang
    Qingfeng Zhuge
    Jingtong Hu
    Edwin H. -M. Sha
    Journal of Signal Processing Systems, 2013, 71 : 261 - 273
  • [35] Approximate Similarity-Aware Compression for Non-Volatile Main Memory
    Chen, Zhang-Yu
    Hua, Yu
    Zuo, Peng-Fei
    Sun, Yuan-Yuan
    Guo, Yun-Cheng
    JOURNAL OF COMPUTER SCIENCE AND TECHNOLOGY, 2024, 39 (01) : 63 - 81
  • [36] Implications of Non-Volatile Memory as Primary Storage for Database Management Systems
    Ul Mustafa, Naveed
    Armejach, Adria
    Ozturk, Ozcan
    Cristal, Adrian
    Unsal, Osman S.
    PROCEEDINGS OF 2016 INTERNATIONAL CONFERENCE ON EMBEDDED COMPUTER SYSTEMS: ARCHITECTURES, MODELING AND SIMULATION (SAMOS), 2016, : 164 - 171
  • [37] Tair-PMem: A Fully Durable Non-Volatile Memory Database
    Gong, Caixin
    Tian, Chengjin
    Wang, Zhengheng
    Wang, Sheng
    Wang, Xiyu
    Fu, Qiulei
    Qin, Wu
    Qian, Long
    Chen, Rui
    Qi, Jiang
    Wang, Ruo
    Zhu, Guoyun
    Yang, Chenghu
    Zhang, Wei
    Li, Feifei
    PROCEEDINGS OF THE VLDB ENDOWMENT, 2022, 15 (12): : 3346 - 3358
  • [38] Joy Arulraj Speaks Out on Non-Volatile Memory Database Systems
    Winslett, Marianne
    Braganholo, Vanessa
    SIGMOD RECORD, 2021, 50 (03) : 29 - 31
  • [39] Developments of non-volatile memory
    Panov, Ivan V.
    Kalinin, Sergey V.
    EDM 2006: 7TH ANNUAL INTERNATIONAL WORKSHOP AND TUTORIALS ON ELECTRON DEVICES AND MATERIALS, PROCEEDINGS, 2006, : 15 - 17
  • [40] Non-volatile memory challenge
    Dax, Mark
    Semiconductor International, 1997, 20 (10): : 84 - 86