Title | An Efficient Database Backup and Recovery Scheme using Write-Ahead Logging |
Publication Type | Conference Paper |
Year of Publication | 2020 |
Authors | Kim, Hwajung, Yeom, Heon Young, Son, Yongseok |
Conference Name | 2020 IEEE 13th International Conference on Cloud Computing (CLOUD) |
Date Published | Oct. 2020 |
Publisher | IEEE |
ISBN Number | 978-1-7281-8780-8 |
Keywords | cloud computing, composability, Computer crashes, Conferences, data management, data mining, Database Backup and Recovery, database management system, Database systems, Human Behavior, i-o systems security, Instruction sets, Metrics, pubcrawl, relational database security, resilience, Resiliency, Write-Ahead Logging |
Abstract | Many cloud services perform periodic database backup to keep the data safe from failures such as sudden system crashes. In the database system, two techniques are widely used for data backup and recovery: a physical backup and a logical backup. The physical backup uses raw data by copying the files in the database, whereas the logical backup extracts data from the database and dumps it into separated files as a sequence of query statements. Both techniques support a full backup strategy that contains data of the entire database and incremental backup strategy that contains changed data since a previous backup. However, both strategies require additional I/O operations to perform the backup and need a long time to restore a backup. In this paper, we propose an efficient backup and recovery scheme by exploiting write-ahead logging (WAL) in database systems. In the proposed scheme, for backup, we devise a backup system to use log data generated by the existing WAL to eliminate the additional I/O operations. To restore a backup, we utilize and optimize the existing crash recovery procedure of WAL to reduce recovery time. For example, we divide the recovery range and applying the backup data for each range independently via multiple threads. We implement our scheme in MySQL, a popular database management system. The experimental result demonstrates that the proposed scheme provides instant backup while reducing recovery time compared with the existing schemes. |
URL | https://ieeexplore.ieee.org/document/9284224 |
DOI | 10.1109/CLOUD49709.2020.00062 |
Citation Key | kim_efficient_2020 |