首页> 外文会议>International conference on very large data bases;VLDB 2009 >Segment-Based Recovery: Write-ahead logging revisited
【24h】

Segment-Based Recovery: Write-ahead logging revisited

机译:基于分段的恢复:重新编写预写日志记录

获取原文

摘要

Although existing write-ahead logging algorithms scale to conventional database workloads, their communication and synchronization overheads limit their usefulness for modern applications and distributed systems. We revisit write-ahead logging with an eye toward finer-grained concurrency and an increased range of workloads, then remove two core assumptions: that pages are the unit of recovery and that times-tamps (LSNs) should be stored on each page.Recovering individual application-level objects (rather than pages) simplifies the handing of systems with object sizes that differ from the page size.We show how to remove the need for LSNs on the page, which in turn enables DMA or zero-copy I/O for large objects, increases concurrency, and reduces communication between the application, buffer manager and log manager. Our experiments show that the looser coupling significantly reduces the impact of latency among the components. This makes the approach particularly applicable to large scale distributed systems, and enables a "cross pollination" of ideas from distributed systems and transactional storage.However, these advantages come at a cost; segments are incompatible with physiological redo, preventing a number of important optimizations. We show how allocation enables (or prevents) mixing of ARIES pages (and physiological redo) with segments. We present an allocation policy that avoids undesirable interactions that complicate other combinations of ARIES and LSN-free pages, and then present a proof that both approaches and our combination are correct.Many optimizations presented here were proposed in the past. However, we believe this is the first unified approach.
机译:尽管现有的预写日志记录算法可扩展到常规数据库工作负载,但它们的通信和同步开销限制了它们对现代应用程序和分布式系统的实用性。我们重新审视了预写日志记录,着眼于更细粒度的并发性和增加的工作负载范围,然后删除了两个核心假设:页面是恢复的单位,而时间戳记(LSN)应存储在每个页面上。 恢复单个应用程序级对象(而不是页面)可以简化对象大小不同于页面大小的系统的处理。 我们在页面上显示了如何消除对LSN的需求,这反过来又为大型对象启用了DMA或零复制I / O,提高了并发性,并减少了应用程序,缓冲区管理器和日志管理器之间的通信。我们的实验表明,较松散的耦合可显着减少组件之间的延迟影响。这使得该方法特别适用于大规模分布式系统,并实现了来自分布式系统和事务存储的思想的“交叉授粉”。 但是,这些优点是有代价的。片段与生理重做不兼容,从而阻止了许多重要的优化。我们将展示分配如何使ARIES页面(和生理重做)与片段混合(或阻止)。我们提出了一种分配策略,避免了使ARIES和无LSN页面的其他组合复杂化的不良交互,然后提出了两种方法以及我们的组合都是正确的证明。 过去提出了此处提出的许多优化。但是,我们认为这是第一个统一方法。

著录项

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号