A twin-buffer scheme for high-throughput logging

  • Qingzhong Meng*
  • , Xuan Zhou
  • , Shan Wang
  • , Haiyan Huang
  • , Xiaoli Liu
  • *Corresponding author for this work

Research output: Chapter in Book/Report/Conference proceedingConference contributionpeer-review

3 Scopus citations

Abstract

For a transactional database system, the efficiency of logging is usually crucial to its performance. The emergence of new hardware, such as NVM and SSD, eliminated the traditional I/O bottleneck of logging and released the potential of multi-core CPUs. As a result, the parallelism of logging becomes important. We propose a parallel logging subsystem called TwinBuf and implemented it in PostgreSQL. This solution can make better use of multi-core CPUs, and is generally applicable to all kinds of storage devices, such as hard disk, SSD and NVM. TwinBuf adopts per-thread logging slots to parallelize logging, and a twin-log-buffer mechanism to make sure that logging can be performed in a non-stop manner. It performs group commit to minimize the persistence overheads. Experimental evaluation was conducted to demonstrate its advantages.

Original languageEnglish
Title of host publicationDatabase Systems for Advanced Applications - 23rd International Conference, DASFAA 2018, Proceedings
EditorsJian Pei, Shazia Sadiq, Jianxin Li, Yannis Manolopoulos
PublisherSpringer Verlag
Pages725-737
Number of pages13
ISBN (Print)9783319914572
DOIs
StatePublished - 2018
Event23rd International Conference on Database Systems for Advanced Applications, DASFAA 2018 - Gold Coast, Australia
Duration: 21 May 201824 May 2018

Publication series

NameLecture Notes in Computer Science (including subseries Lecture Notes in Artificial Intelligence and Lecture Notes in Bioinformatics)
Volume10828 LNCS
ISSN (Print)0302-9743
ISSN (Electronic)1611-3349

Conference

Conference23rd International Conference on Database Systems for Advanced Applications, DASFAA 2018
Country/TerritoryAustralia
CityGold Coast
Period21/05/1824/05/18

Fingerprint

Dive into the research topics of 'A twin-buffer scheme for high-throughput logging'. Together they form a unique fingerprint.

Cite this