Flag Commit: Supporting Efficient Transaction Recovery in Flash-Based DBMSs

  • Authors:
  • Sai Tung On;Jianliang Xu;Byron Choi;Haibo Hu;Bingsheng He

  • Affiliations:
  • Hong Kong Baptist University, Hong Kong;Hong Kong Baptist University, Hong Kong;Hong Kong Baptist University, Hong Kong;Hong Kong Baptist University, Hong Kong;Nanyang Technological University, Singapore

  • Venue:
  • IEEE Transactions on Knowledge and Data Engineering
  • Year:
  • 2012

Quantified Score

Hi-index 0.00

Visualization

Abstract

Owing to recent advances in semiconductor technologies, flash disks have been a competitive alternative to traditional magnetic disks as external storage media. In this paper, we study how transaction recovery can be efficiently supported in database management systems (dbmss) running on slc flash disks. Inspired by the classical shadow-paging approach, we propose a new commit scheme, called flagcommit, to exploit the unique characteristics of flash disks such as fast random read access, out-place updating, and partial page programming. To minimize the need of writing log records, we embed the transaction status into flash pages through a chain of commit flags. Based on flagcommit, we develop two recovery protocols, namely commit-based flag commit (cfc) and abort-based flag commit (afc), to meet different performance needs. They are flexible to support no-force buffer management and fine-grained concurrency control. Our performance evaluation based on the tpc-c benchmark shows that both cfc and afc outperform the state-of-the-art recovery protocols.