A Flash-Aware Buffering Scheme with the On-the-Fly Redo for Efficient Data Management in Flash Storage

Kyosung Jeong1, Sungchae Lim2, Kichun Lee3 and Sang-Wook Kim4

  1. Dept. of Computer and Software, Hanyang University, Korea
    ksjeong@saltlux.com
  2. Dept. of Computer Science, Dongduk Women’s University, Korea
    sclim@dongduk.ac.kr
  3. Dept. of Industrial Engineering, Hanyang University, Korea
    skylee@hanyang.ac.kr
  4. Dept. of Computer and Software, Hanyang University, Korea
    wook@hanyang.ac.kr

Abstract

Thanks to remarkably fast random reads and rapidly decreasing prices per bit, flash storage has been regarded as a promising alternative to traditional hard disk drives (HDDs). Although flash storage has many distinguished hardware features, it still suffers from the poor I/O performance in the case of update operations. Due to the absence of in-place updates, differently from HDDs, flash storage needs to modify data through out-of-place updates. For this reason, it is required to continuously renew the mapping information between a logical page address and its new physical address, invalidating its old physical address. When the invalidated pages swallow most of free space in flash storage, the actions of garbage reclamation are needed. Since the actions of garbage reclamation are very costly, it is crucial to reduce the number of update operations for the use of flash storage in enterprise-scale database systems. In this light, we propose a new buffering scheme that evicts dirty pages without writing them to storage, thereby reducing the amount of update operations considerably. That is, our buffering scheme enables the flushing-less evictions of dirty pages. To correctly read a page undergoing its flushing-less eviction, we propose a new on-the-fly redo mechanism that enables restoring the lost updates of the page in normal database processing. For fast execution of the on-the-fly redo, we maintain memory-resident log data of a reasonable size. To show the performance advantages of the proposed scheme, we performed extensive experiments based on the TPC-C benchmark, by running them on the open-sourced Berkeley DB equipped with/without our scheme. The results show that our scheme yields a much better performance by reducing the amount of page updates significantly.

Key words

flash storage, buffering scheme, database system, recovery

Digital Object Identifier (DOI)

https://doi.org/369–392

Publication information

Volume 14, Issue 2 (June 2017)
Year of Publication: 2017
ISSN: 2406-1018 (Online)
Publisher: ComSIS Consortium

Full text

DownloadAvailable in PDF
Portable Document Format

How to cite

Jeong, K., Lim, S., Lee, K., Kim, S.: A Flash-Aware Buffering Scheme with the On-the-Fly Redo for Efficient Data Management in Flash Storage. Computer Science and Information Systems, Vol. 14, No. 2. (2017), https://doi.org/369–392