首页> 外文期刊>ACM transactions on database systems >Snapshot Isolation and Integrity Constraints in Replicated Databases
【24h】

Snapshot Isolation and Integrity Constraints in Replicated Databases

机译:复制数据库中的快照隔离和完整性约束

获取原文
获取原文并翻译 | 示例

摘要

Database replication is widely used for fault tolerance and performance. However, it requires replica control to keep data copies consistent despite updates. The traditional correctness criterion for the concurrent execution of transactions in a replicated database is 1-copy-serializability. It is based on serializability, the strongest isolation level in a nonreplicated system. In recent years, however, Snapshot Isolation (SI), a slightly weaker isolation level, has become popular in commercial database systems. There exist already several replica control protocols that provide SI in a replicated system. However, most of the correctness reasoning for these protocols has been rather informal. Additionally, most of the work so far ignores the issue of integrity constraints. In this article, we provide a formal definition of 1-copy-SI using and extending a well-established definition of SI in a nonreplicated system. Our definition considers integrity constraints in a way that conforms to the way integrity constraints are handled in commercial systems. We discuss a set of necessary and sufficient conditions for a replicated history to be producible under 1-copy-SI. This makes our formalism a convenient tool to prove the correctness of replica control algorithms.
机译:数据库复制被广泛用于容错和性能。但是,尽管有更新,它仍需要副本控制来保持数据副本的一致性。在复制数据库中并发执行事务的传统正确性标准是1-副本可序列化。它基于可序列化性,这是非复制系统中最强的隔离级别。但是,近年来,隔离级别稍弱的快照隔离(SI)已在商业数据库系统中流行。已经存在几种在复制系统中提供SI的复制控制协议。但是,这些协议的大多数正确性推理都是非正式的。此外,到目前为止,大多数工作都忽略了完整性约束的问题。在本文中,我们提供了1-copy-SI的正式定义,该形式使用并扩展了非复制系统中SI的公认定义。我们的定义以与商业系统中处理完整性约束的方式一致的方式考虑完整性约束。我们讨论了在1拷贝SI下可产生复制历史的一组必要条件和充分条件。这使我们的形式主义成为证明副本控制算法正确性的便捷工具。

著录项

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号