【24h】

Recovering from Main-Memory Lapses

机译:从主内存失止恢复

获取原文

摘要

Recovery activities, like logging, checkpointing and restart, are used to restore a database to a consistent state after a system crash has occurred. Recovery related overhead is particularly troublesome in a main-memory database where I/O activities are performed for the sole purpose of ensuring data durability. In this paper we present a recovery technique for main-memory databases, whose benefits are as follows. First, disk I/O is reduced by logging to disk only redo records during normal execution. The undo log is normally resident only in main memory, and is garbage collected after transaction commit. Second, our technique reduces lock contention on account of the checkpointer by allowing action consistent checkpointing - to do so, the check-pointer writes to disk relevant parts of the undo log. Third, the recovery algorithm makes only a single pass over the log. Fourth, our technique does not require the availability of any special hardware such as non-volatile RAM. Thus our recovery technique combines the benefits of several techniques proposed in the past. The ideas behind our technique can be used to advantage in disk-resident databases as well.
机译:恢复活动,如日志记录,检查点和重新启动,用于在发生系统崩溃后将数据库还原到一个一致的状态。恢复相关的开销是在主存储器数据库中特别麻烦,其中执行I / O活动,以确保数据耐用性。在本文中,我们为主内存数据库提供了一种恢复技术,其益处如下。首先,通过在正常执行期间仅记录磁盘重做记录来减少磁盘I / O.撤消日志通常仅在主内存中驻留,并且在事务提交后收集的垃圾。其次,我们的技术通过允许操作一致检查点 - 要执行此操作 - 要执行此操作,我们的技术会减少锁定争用 - 要执行此操作,则检查指针写入撤消日志的磁盘相关部分。第三,恢复算法仅在日志上单次通过。第四,我们的技术不需要任何特殊硬件(如非易失性RAM)的可用性。因此,我们的恢复技术结合了过去提出的若干技术的益处。我们的技术背后的想法也可用于磁盘驻留数据库中的优势。

著录项

相似文献

  • 外文文献
  • 中文文献
  • 专利
获取原文

客服邮箱:kefu@zhangqiaokeyan.com

京公网安备:11010802029741号 ICP备案号:京ICP备15016152号-6 六维联合信息科技 (北京) 有限公司©版权所有
  • 客服微信

  • 服务号