Visible to the public Fast Failure Recovery for Main-Memory DBMSs on Multicores

TitleFast Failure Recovery for Main-Memory DBMSs on Multicores
Publication TypeConference Paper
Year of Publication2017
AuthorsWu, Yingjun, Guo, Wentian, Chan, Chee-Yong, Tan, Kian-Lee
Conference NameProceedings of the 2017 ACM International Conference on Management of Data
PublisherACM
Conference LocationNew York, NY, USA
ISBN Number978-1-4503-4197-4
Keywordsdatabase logging, database recovery, main-memory dbms, pubcrawl, Resiliency, System recovery
Abstract

Main-memory database management systems (DBMS) can achieve excellent performance when processing massive volume of on-line transactions on modern multi-core machines. But existing durability schemes, namely, tuple-level and transaction-level logging-and-recovery mechanisms, either degrade the performance of transaction processing or slow down the process of failure recovery. In this paper, we show that, by exploiting application semantics, it is possible to achieve speedy failure recovery without introducing any costly logging overhead to the execution of concurrent transactions. We propose PACMAN, a parallel database recovery mechanism that is specifically designed for lightweight, coarse-grained transaction-level logging. PACMAN leverages a combination of static and dynamic analyses to parallelize the log recovery: at compile time, PACMAN decomposes stored procedures by carefully analyzing dependencies within and across programs; at recovery time, PACMAN exploits the availability of the runtime parameter values to attain an execution schedule with a high degree of parallelism. As such, recovery performance is remarkably increased. We evaluated PACMAN in a fully-fledged main-memory DBMS running on a 40-core machine. Compared to several state-of-the-art database recovery mechanisms, can significantly reduce recovery time without compromising the efficiency of transaction processing.

URLhttp://doi.acm.org/10.1145/3035918.3064011
DOI10.1145/3035918.3064011
Citation Keywu_fast_2017