Low Overhead Log Replication for Main Memory Database System

被引:3
|
作者
Guo, Jinwei [1 ]
Zhang, Chendong [1 ]
Cai, Peng [1 ]
Zhou, Minqi [1 ]
Zhou, Aoying [1 ]
机构
[1] ECNU, Sch Comp Sci & Software Engn, Shanghai 200062, Peoples R China
来源
关键词
Log replication; Database recovery; Paxos; OceanBase;
D O I
10.1007/978-3-319-39958-4_13
中图分类号
TP [自动化技术、计算机技术];
学科分类号
0812 ;
摘要
Log replication is the key component of high available database system. To guarantee data consistency and reliability, modern database systems often use Paxos protocol to replicate log in multiple database instance sites. Since the replicated logs need to contain some metadata such as committed log sequence number (LSN), this increases the overhead of storage and network. It has significantly negative impact on the throughput in the update intensive work load. In this paper, we present an implementation of log replication and database recovery, which adopts the idea of piggybacking, i.e. committed LSN is embedded in the commit logs. This practice not only retains virtues of Paxos replication, but also reduces disk and network IO effectively, which enhances performance and decreases recovery time. We implemented and evaluated our approach in a main memory database system (Oceanbase), and found that our method can offer 1.3x higher throughput than traditional log replication with synchronization mechanism.
引用
收藏
页码:159 / 170
页数:12
相关论文
共 50 条
  • [1] A low overhead index structure for dynamic main memory database management systems
    Jeon, HS
    Kim, TJ
    Noh, SH
    Lee, J
    Lim, HC
    [J]. IEICE TRANSACTIONS ON INFORMATION AND SYSTEMS, 2001, E84D (09): : 1164 - 1170
  • [2] Low-Overhead Asynchronous Checkpointing in Main-Memory Database Systems
    Ren, Kun
    Diamond, Thaddeus
    Abadi, Daniel J.
    Thomson, Alexander
    [J]. SIGMOD'16: PROCEEDINGS OF THE 2016 INTERNATIONAL CONFERENCE ON MANAGEMENT OF DATA, 2016, : 1539 - 1551
  • [3] A database redo log system based on virtual memory disk
    Wu, Haiping
    Yu, Hongliang
    Li, Bigang
    Wei, Xue
    Zheng, Weimin
    [J]. COMPUTATIONAL SCIENCE - ICCS 2006, PT 3, PROCEEDINGS, 2006, 3993 : 656 - 662
  • [4] IMPLEMENTATION TECHNIQUE RESEARCH FOR MAIN MEMORY DATABASE SYSTEM
    肖勤贤
    韩启龙
    [J]. Journal of Shanghai Jiaotong University(Science), 1997, (02) : 74 - 79
  • [5] Low overhead agent replication for the reliable mobile agent system
    Park, T
    Byun, I
    [J]. EURO-PAR 2003 PARALLEL PROCESSING, PROCEEDINGS, 2003, 2790 : 1170 - 1179
  • [6] Recommender system architecture based on Mahout and a main memory database
    Zhegao Piao
    Seong Joon Yoo
    Yeong Hyeon Gu
    Jaechun No
    Zhiyan Jiang
    Helin Yin
    [J]. The Journal of Supercomputing, 2018, 74 : 105 - 121
  • [7] Recommender system architecture based on Mahout and a main memory database
    Piao, Zhegao
    Yoo, Seong Joon
    Gu, Yeong Hyeon
    No, Jaechun
    Jiang, Zhiyan
    Yin, Helin
    [J]. JOURNAL OF SUPERCOMPUTING, 2018, 74 (01): : 105 - 121
  • [8] Effects of update techniques on main memory database system performance
    Gruenwald, L
    Chen, YW
    Huang, J
    [J]. IEEE TRANSACTIONS ON KNOWLEDGE AND DATA ENGINEERING, 1998, 10 (05) : 859 - 861
  • [9] Main memory database systems
    Faerber, Franz
    Kemper, Alfons
    Larson, Per-Åke
    Levandoski, Justin
    Neumann, Thomas
    Pavlo, Andrew
    [J]. Foundations and Trends in Databases, 2017, 8 (1-2): : 1 - 130
  • [10] Main memory database for supporting database migration
    Hara, T
    Harumoto, K
    Tsukamoto, M
    Nishio, S
    Okui, J
    [J]. 1997 IEEE PACIFIC RIM CONFERENCE ON COMMUNICATIONS, COMPUTERS AND SIGNAL PROCESSING, VOLS 1 AND 2: PACRIM 10 YEARS - 1987-1997, 1997, : 231 - 234