用于多核上主内存DBMS的快速Failure Recovery
Fast Failure Recovery for Main-Memory DBMSs on Multicores
摘要:
内存数据库管理系统(DBMS)在现代多核机器上处理大量联机事务时具有优异的性能。但是现有的持久性机制,即元组级和事务级日志和恢复机制,要么降低了事务处理的性能,要么减慢了故障恢复的过程。在本文中,我们表明,通过利用应用语义,它是可能实现快速故障恢复,而不引入任何昂贵的日志开销的并发事务的执行。我们提出了PACMAN,一个并行数据库恢复机制,是专门为轻量级,粗粒度的事务级日志。PACMAN利用静态和动态分析的组合来并行化日志恢复:在编译时,PACMAN通过仔细分析程序内和程序间的依赖关系来分解存储过程;在恢复时间,PACMAN利用运行时参数值的可用性来获得具有高度并行性的执行时间表。因此,恢复性能显著提高。我们在一个运行在40核机器上的完全成熟的主存DBMS中评估了PACMAN。与几种最先进的数据库恢复机制相比,PACMAN可以在不影响事务处理效率的情况下显著缩短恢复时间。
英文摘要:
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, PACMAN can significantly reduce recovery time without compromising the efficiency of transaction processing.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。