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 条
  • [31] Using Storage Class Memory Efficiently for an In-memory Database
    Gottesman, Yonatan
    Nider, Joel
    Kat, Ronen
    Weinsberg, Yaron
    Factor, Michael
    PROCEEDINGS OF THE 9TH ACM INTERNATIONAL SYSTEMS AND STORAGE CONFERENCE (SYSTOR'16), 2016,
  • [32] Efficient Memory Occupancy Models for In-Memory Databases
    Molka, Karsten
    Casale, Giuliano
    2016 IEEE 24TH INTERNATIONAL SYMPOSIUM ON MODELING, ANALYSIS AND SIMULATION OF COMPUTER AND TELECOMMUNICATION SYSTEMS (MASCOTS), 2016, : 430 - 432
  • [33] Consistent Snapshot Algorithms for In-Memory Database Systems: Experiments and Analysis
    Li, Liang
    Wang, Guoren
    Wu, Gang
    Yuan, Ye
    2018 IEEE 34TH INTERNATIONAL CONFERENCE ON DATA ENGINEERING (ICDE), 2018, : 1284 - 1287
  • [34] Checkpointing Exascale Memory Systems with Existing Memory Technologies
    Abeyratne, Nilmini
    Chen, Hsing-Min
    Oh, Byoungchan
    Dreslinski, Ronald
    Chakrabarti, Chaitali
    Mudge, Trevor
    MEMSYS 2016: PROCEEDINGS OF THE INTERNATIONAL SYMPOSIUM ON MEMORY SYSTEMS, 2016, : 18 - 29
  • [35] A Highly Scalable Index Structure for Multicore In-Memory Database Systems
    Mitake, Hitoshi
    Yamada, Hiroshi
    Nakajima, Tatsuo
    INTELLIGENT DISTRIBUTED COMPUTING XIII, 2020, 868 : 210 - 217
  • [36] Evaluation of SQL benchmark for distributed in-memory Database Management Systems
    Borisenko, Oleg
    Badalyan, David
    INTERNATIONAL JOURNAL OF COMPUTER SCIENCE AND NETWORK SECURITY, 2018, 18 (10): : 59 - 63
  • [37] Taurus: Lightweight Parallel Logging for In-Memory Database Management Systems
    Xia, Yu
    Yu, Xiangyao
    Pavlo, Andrew
    Devadas, Srinivas
    PROCEEDINGS OF THE VLDB ENDOWMENT, 2020, 14 (02): : 189 - 201
  • [38] Elastic Pipelining in an In-Memory Database Cluster
    Wang, Li
    Zhou, Minqi
    Zhang, Zhenjie
    Yang, Yin
    Zhou, Aoying
    Bitton, Dina
    SIGMOD'16: PROCEEDINGS OF THE 2016 INTERNATIONAL CONFERENCE ON MANAGEMENT OF DATA, 2016, : 1279 - 1294
  • [39] In-memory database acceleration on FPGAs: a survey
    Jian Fang
    Yvo T. B. Mulder
    Jan Hidders
    Jinho Lee
    H. Peter Hofstee
    The VLDB Journal, 2020, 29 : 33 - 59
  • [40] MemTest: A novel benchmark for in-memory database
    Jin, Cheqing (cqjin@sei.ecnu.edu.cn), 1600, Springer Verlag (8807):