arXivDaily arXiv每日学术速递 周一至周五更新
北美退伍军人节(Veterans Day),12 日无更新
arXiv 1208.4172cs.DB
收藏

基于事务日志的应用程序错误恢复和时间点查询

Transaction Log Based Application Error Recovery and Point In-Time Query

Tomas Talius, Robin Dhamankar, Andrei Dumitrache, Hanuma Kodavalla

摘要:

数据库备份传统上被用作从硬件和用户错误中恢复的主要机制。高可用性解决方案维护数据的冗余副本,可用于从除用户或应用程序错误之外的大多数故障中恢复。数据库备份在从用户错误中恢复时既没有空间效率,也没有时间效率,用户错误通常发生在最近,只影响数据库的一小部分。此外,定期完整备份会影响用户工作负载并增加存储成本。在本文中,我们提出了一个计划,可用于用户和应用程序的错误恢复从当前状态开始,并使用事务日志倒回数据库的时间。虽然我们提供了过去某个时间点的整个数据库的一致视图,但实际的先前版本仅针对访问的数据生成。我们通过与Microsoft SQL Server中的数据库快照功能集成,使任意时间点的查询都可以访问数据。

英文摘要:

Database backups have traditionally been used as the primary mechanism to recover from hardware and user errors. High availability solutions maintain redundant copies of data that can be used to recover from most failures except user or application errors. Database backups are neither space nor time efficient for recovering from user errors which typically occur in the recent past and affect a small portion of the database. Moreover periodic full backups impact user workload and increase storage costs. In this paper we present a scheme that can be used for both user and application error recovery starting from the current state and rewinding the database back in time using the transaction log. While we provide a consistent view of the entire database as of a point in time in the past, the actual prior versions are produced only for data that is accessed. We make the as of data accessible to arbitrary point in time queries by integrating with the database snapshot feature in Microsoft SQL Server.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑