DocumentCode :
140843
Title :
Rethinking main memory OLTP recovery
Author :
Malviya, Nirmesh ; Weisberg, Ariel ; Madden, Steve ; Stonebraker, M.
Author_Institution :
MIT CSAIL, Cambridge, MA, USA
fYear :
2014
fDate :
March 31 2014-April 4 2014
Firstpage :
604
Lastpage :
615
Abstract :
Fine-grained, record-oriented write-ahead logging, as exemplified by systems like ARIES, has been the gold standard for relational database recovery. In this paper, we show that in modern high-throughput transaction processing systems, this is no longer the optimal way to recover a database system. In particular, as transaction throughputs get higher, ARIES-style logging starts to represent a non-trivial fraction of the overall transaction execution time. We propose a lighter weight, coarse-grained command logging technique which only records the transactions that were executed on the database. It then does recovery by starting from a transactionally consistent checkpoint and replaying the commands in the log as if they were new transactions. By avoiding the overhead of fine-grained logging of before and after images (both CPU complexity as well as substantial associated 110), command logging can yield significantly higher throughput at run-time. Recovery times for command logging are higher compared to an ARIEs-style physiological logging approach, but with the advent of high-availability techniques that can mask the outage of a recovering node, recovery speeds have become secondary in importance to run-time performance for most applications. We evaluated our approach on an implementation of TPCC in a main memory database system (VoltDB), and found that command logging can offer 1.5 x higher throughput than a main-memory optimized implementation of ARIEs-style physiological logging.
Keywords :
relational databases; transaction processing; ARIES system; VoltDB system; coarse-grained command logging technique; fine-grained record-oriented write-ahead logging; high-throughput transaction processing systems; main memory OLTP recovery; main memory database system; online transaction processing; physiological logging approach; relational database recovery; transaction execution time; transactionally consistent checkpoint; Database systems;
fLanguage :
English
Publisher :
ieee
Conference_Titel :
Data Engineering (ICDE), 2014 IEEE 30th International Conference on
Conference_Location :
Chicago, IL
Type :
conf
DOI :
10.1109/ICDE.2014.6816685
Filename :
6816685
Link To Document :
بازگشت