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 条
  • [1] Techniques for efficient in-memory checkpointing
    20160401852997
    (1) Network Institute, VU University Amsterdam, Netherlands, 1600, Brazilian Computer Society (SBC) (Association for Computing Machinery, 2 Penn Plaza, Suite 701, New York, NY 10121-0701, United States):
  • [2] Real-Time In-Memory Checkpointing for Future Hybrid Memory Systems
    Gao, Shen
    He, Bingsheng
    Xu, Jianliang
    PROCEEDINGS OF THE 29TH ACM INTERNATIONAL CONFERENCE ON SUPERCOMPUTING (ICS'15), 2015, : 263 - 272
  • [3] Oracle Database In-Memory: A Dual Format In-Memory Database
    Lahiri, Tirthankar
    Chavan, Shasank
    Colgan, Maria
    Das, Dinesh
    Ganesh, Amit
    Gleeson, Mike
    Hase, Sanket
    Holloway, Allison
    Kamp, Jesse
    Lee, Teck-Hua
    Loaiza, Juan
    Macnaughton, Neil
    Marwah, Vineet
    Mukherjee, Niloy
    Mullick, Atrayee
    Muthulingam, Sujatha
    Raja, Vivekanandhan
    Roth, Marty
    Soylemez, Ekrem
    Zait, Mohamed
    2015 IEEE 31ST INTERNATIONAL CONFERENCE ON DATA ENGINEERING (ICDE), 2015, : 1253 - 1258
  • [4] Improving Bank-Level Parallelism for In-Memory Checkpointing in Hybrid Memory Systems
    Liao, Xiaofei
    Zhang, Zhan
    Liu, Haikun
    Jin, Hai
    IEEE TRANSACTIONS ON BIG DATA, 2022, 8 (02) : 289 - 301
  • [5] Big data availability: Selective partial checkpointing for in-memory database queries
    Playfair, Daniel
    Trehan, Amitabh
    McLarnon, Barry
    Nikolopoulos, Dimitrios S.
    2016 IEEE INTERNATIONAL CONFERENCE ON BIG DATA (BIG DATA), 2016, : 2785 - 2794
  • [6] Replicated Layout for In-Memory Database Systems
    Sudhir, Sivaprasad
    Cafarella, Michael
    Madden, Samuel
    PROCEEDINGS OF THE VLDB ENDOWMENT, 2021, 15 (04): : 984 - 997
  • [7] An efficient checkpointing scheme for update intensive applications in main memory database systems
    Qin, Xiong-Pai
    Xiao, Yan-Qin
    Cao, Wei
    Wang, Shan
    Jisuanji Xuebao/Chinese Journal of Computers, 2009, 32 (11): : 2200 - 2210
  • [8] GASPI/GPI In-memory Checkpointing Library
    Bartsch, Valeria
    Machado, Rui
    Merten, Dirk
    Rahn, Mirko
    Pfreundt, Franz-Josef
    EURO-PAR 2017: PARALLEL PROCESSING, 2017, 10417 : 497 - 508
  • [9] Enabling CXL Memory Expansion for In-Memory Database Management Systems
    Ahn, Minseon
    Lee, Donghun
    Kim, Jungmin
    Rebholz, Oliver
    Chang, Andrew
    Gim, Jongmin
    Jung, Jaemin
    Pham, Vincent
    Malladi, Krishna T.
    Ki, Yang Seok
    18TH INTERNATIONAL WORKSHOP ON DATA MANAGEMENT ON NEW HARDWARE, DAMON 2022, 2022,
  • [10] Energy-Efficient In-Memory Database Computing
    Lehner, Wolfgang
    DESIGN, AUTOMATION & TEST IN EUROPE, 2013, : 470 - 474