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 条
  • [41] ScaleDB: A Scalable, Asynchronous In-Memory Database
    Mehdi, Syed Akbar
    Hwang, Deukyeon
    Peter, Simon
    Alvisi, Lorenzo
    PROCEEDINGS OF THE 17TH USENIX SYMPOSIUM ON OPERATING SYSTEMS DESIGN AND IMPLEMENTATION, OSDI 2023, 2023, : 361 - 376
  • [42] Distributed Architecture of Oracle Database In-memory
    Mukherjee, Niloy
    Chavan, Shasank
    Colgan, Maria
    Das, Dinesh
    Gleeson, Mike
    Hase, Sanket
    Holloway, Allison
    Jin, Hui
    Kamp, Jesse
    Kulkarni, Kartik
    Lahiri, Tirthankar
    Loaiza, Juan
    Macnaughton, Neil
    Marwah, Vineet
    Mullick, Atrayee
    Witkowski, Andy
    Yan, Jiaqi
    Zait, Mohamed
    PROCEEDINGS OF THE VLDB ENDOWMENT, 2015, 8 (12): : 1630 - 1641
  • [43] imGraph: A distributed in-memory graph database
    Jouili, Salim
    Reynaga, Aldemar
    2013 ASE/IEEE INTERNATIONAL CONFERENCE ON SOCIAL COMPUTING (SOCIALCOM), 2013, : 732 - 737
  • [44] In-memory database acceleration on FPGAs: a survey
    Fang, Jian
    Mulder, Yvo T. B.
    Hidders, Jan
    Lee, Jinho
    Hofstee, H. Peter
    VLDB JOURNAL, 2020, 29 (01): : 33 - 59
  • [45] In-Memory Checkpointing for MPI Programs by XOR-Based Double-Erasure Codes
    Wang, Gang
    Liu, Xiaoguang
    Li, Ang
    Zhang, Fan
    RECENT ADVANCES IN PARALLEL VIRTUAL MACHINE AND MESSAGE PASSING INTERFACE, PROCEEDINGS, 2009, 5759 : 84 - 93
  • [46] Low-Overhead Asynchronous Checkpointing in Main-Memory Database Systems
    Ren, Kun
    Diamond, Thaddeus
    Abadi, Daniel J.
    Thomson, Alexander
    SIGMOD'16: PROCEEDINGS OF THE 2016 INTERNATIONAL CONFERENCE ON MANAGEMENT OF DATA, 2016, : 1539 - 1551
  • [47] Efficient Reboot-Based Recovery of In-Memory Databases
    Jumonji, Yuto
    Yamada, Hiroshi
    IEICE TRANSACTIONS ON INFORMATION AND SYSTEMS, 2021, E104D (12) : 2164 - 2172
  • [48] Efficient in-memory computing architecture based on crossbar arrays
    Chen, Bing
    Cai, Fuxi
    Zhou, Jiantao
    Ma, Wen
    Sheridan, Patrick
    Lu, Wei D.
    2015 IEEE INTERNATIONAL ELECTRON DEVICES MEETING (IEDM), 2015,
  • [49] Robust and Budget-Constrained Encoding Configurations for In-Memory Database Systems
    Boissier, Martin
    PROCEEDINGS OF THE VLDB ENDOWMENT, 2021, 15 (04): : 780 - 793
  • [50] Parallelizing Skip Lists for In-memory Multi-core Database Systems
    Xie, Zhongle
    Cai, Qingchao
    Jagadish, H. V.
    Ooi, Beng Chin
    Wong, Weng-Fai
    2017 IEEE 33RD INTERNATIONAL CONFERENCE ON DATA ENGINEERING (ICDE 2017), 2017, : 119 - 122