Affiliation:
1. McGill University, Canada
2. Universidad Politécnica de Madrid, Spain
3. Universidad Pública de Navarra, Spain
Abstract
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.
Funder
Seventh Framework Programme
Federación Española de Enfermedades Raras
Madrid Regional Research Council
IMPIVA
Spanish National Science Foundation
Publisher
Association for Computing Machinery (ACM)
Reference35 articles.
1. The Cost of Serializability on Platforms That Use Snapshot Isolation
2. ]]ANSI X3.135-1992. 1992. American National Standard for Information Systems—Database Language- SQL. ]]ANSI X3.135-1992. 1992. American National Standard for Information Systems—Database Language- SQL.
3. A critique of ANSI SQL isolation levels
Cited by
41 articles.
订阅此论文施引文献
订阅此论文施引文献,注册后可以免费订阅5篇论文的施引文献,订阅后可以查看论文全部施引文献
1. Viper: A Fast Snapshot Isolation Checker;Proceedings of the Eighteenth European Conference on Computer Systems;2023-05-08
2. Elastic scalable transaction processing in LeanXcale;Information Systems;2022-09
3. DynaStar: Optimized Dynamic Partitioning for Scalable State Machine Replication;2019 IEEE 39th International Conference on Distributed Computing Systems (ICDCS);2019-07
4. RepliSmart;Proceedings of the ACM India Joint International Conference on Data Science and Management of Data;2019-01-03
5. Analysing Snapshot Isolation;Journal of the ACM;2018-04-30