Snapshot isolation and integrity constraints in replicated databases

Author:

Lin Yi1,Kemme Bettina1,Jiménez-Peris Ricardo2,Patiño-Martínez Marta2,Armendáriz-Iñigo José Enrique3

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)

Subject

Information Systems

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

同舟云学术

1.学者识别学者识别

2.学术分析学术分析

3.人才评估人才评估

"同舟云学术"是以全球学者为主线,采集、加工和组织学术论文而形成的新型学术文献查询和分析系统,可以对全球学者进行文献检索和人才价值评估。用户可以通过关注某些学科领域的顶尖人物而持续追踪该领域的学科进展和研究前沿。经过近期的数据扩容,当前同舟云学术共收录了国内外主流学术期刊6万余种,收集的期刊论文及会议论文总量共计约1.5亿篇,并以每天添加12000余篇中外论文的速度递增。我们也可以为用户提供个性化、定制化的学者数据。欢迎来电咨询!咨询电话:010-8811{复制后删除}0370

www.globalauthorid.com

TOP

Copyright © 2019-2024 北京同舟云网络信息技术有限公司
京公网安备11010802033243号  京ICP备18003416号-3