Memory Efficient Fork-based Checkpointing Mechanism for In-Memory Database Systems

被引:4
|
作者
Park, Jiwoong [1 ]
Lee, Yunjae [1 ]
Yeom, Heon Young [1 ]
Son, Yongseok [2 ]
机构
[1] Seoul Natl Univ, Seoul, South Korea
[2] Chung Ang Univ, Seoul, South Korea
基金
新加坡国家研究基金会;
关键词
In-memory database; Checkpoint; Snapshot; Copy-on-write;
D O I
10.1145/3341105.3375782
中图分类号
TP18 [人工智能理论];
学科分类号
081104 ; 0812 ; 0835 ; 1405 ;
摘要
Consistent checkpointing is an essential technique for in-memory databases (IMDBs) to achieve some persistence to data. Towards a fast consistent checkpointing with low overhead and low memory footprint, many consistent checkpointing algorithms have been proposed. However, recent work revealed that the simple fork-based checkpointing scheme used for industrial IMDBs could indeed outperform the state-of-the-arts in terms of average latency, latency spike, and implementation effort. On the other hand, the existing fork-based checkpointing scheme has a memory footprint issue, which remains unsolved; memory usage increases incrementally (up to 2x) during checkpointing for update-intensive workloads. This paper introduces a memory dump based checkpointing scheme, called MDC. With minor operating system supports, our scheme can suppress the increase in memory footprint during checkpointing. By logging the virtual addresses of the objects and by novelly exploiting memory dump, MDC allows pages to be returned to the OS sooner, before the checkpointing process is completely done. This gives the OS the opportunity to reduce the copy-on-write fault overhead because write protection can be ignored when the faulting page is private, thus no page duplication incurs. We implement and apply our scheme into Redis. Extensive evaluations show that our scheme yields a much lower maximum memory footprint and marginally higher throughput in an update-intensive workload scenario.
引用
收藏
页码:420 / 427
页数:8
相关论文
共 50 条
  • [21] Checkpointing schemes for fast restart in main memory database systems
    Lee, D
    Cho, H
    1997 IEEE PACIFIC RIM CONFERENCE ON COMMUNICATIONS, COMPUTERS AND SIGNAL PROCESSING, VOLS 1 AND 2: PACRIM 10 YEARS - 1987-1997, 1997, : 663 - 668
  • [22] A Consistency Mechanism for NVM-Based in-Memory File Systems
    Zha, Jin
    Huang, Linpeng
    Wu, Linzhu
    Zheng, Sheng-an
    Liu, Hao
    PROCEEDINGS OF THE ACM INTERNATIONAL CONFERENCE ON COMPUTING FRONTIERS (CF'16), 2016, : 197 - 204
  • [23] Optimization of OLAP In-Memory Database Management Systems with Processing-In-Memory Architecture
    Hosseinzadeh, Shima
    Parvaresh, Amirhossein
    Fey, Dietmar
    ARCHITECTURE OF COMPUTING SYSTEMS, ARCS 2023, 2023, 13949 : 264 - 278
  • [24] 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
  • [25] Energy Efficient In-memory Integer Multiplication Based on Racetrack Memory
    Luo, Tao
    Zhang, Wei
    He, Bingsheng
    Liu, Cheng
    Maskell, Douglas
    2020 IEEE 40TH INTERNATIONAL CONFERENCE ON DISTRIBUTED COMPUTING SYSTEMS (ICDCS), 2020, : 1409 - 1414
  • [26] Index Checkpoints for Instant Recovery in In-Memory Database Systems
    Lee, Leon
    Xie, Siphrey
    Ma, Yunus
    Chen, Shimin
    PROCEEDINGS OF THE VLDB ENDOWMENT, 2022, 15 (08): : 1671 - 1683
  • [27] Teaching In-Memory Database Systems the Detection of Hardware Errors
    Lehner, Wolfgang
    Habich, Dirk
    Kolditz, Till
    2018 IEEE 34TH INTERNATIONAL CONFERENCE ON DATA ENGINEERING (ICDE), 2018, : 1663 - 1663
  • [28] Adaptive Energy-Control for In-Memory Database Systems
    Kissinger, Thomas
    Habich, Dirk
    Lehner, Wolfgang
    SIGMOD'18: PROCEEDINGS OF THE 2018 INTERNATIONAL CONFERENCE ON MANAGEMENT OF DATA, 2018, : 351 - 364
  • [29] In-memory parallelism for database workloads
    Trancoso, P
    EURO-PAR 2002 PARALLEL PROCESSING, PROCEEDINGS, 2002, 2400 : 532 - 542
  • [30] Dual-Page Checkpointing: An Architectural Approach to Efficient Data Persistence for In-Memory Applications
    Wu, Song
    Zhou, Fang
    Gao, Xiang
    Jin, Hai
    Ren, Jinglei
    ACM TRANSACTIONS ON ARCHITECTURE AND CODE OPTIMIZATION, 2019, 15 (04)