最终一致性数据库中的不变控制

P. Flores, Frank Siqueira
{"title":"最终一致性数据库中的不变控制","authors":"P. Flores, Frank Siqueira","doi":"10.1145/3068839.3068844","DOIUrl":null,"url":null,"abstract":"Due to the requirements imposed by data-intensive applications, NoSQL and NewSQL databases are becoming more present in the IT Market. These products provide alternative data models to the relational databases, and most of them are intrinsically distributed. These database management systems (DBMSs) relax consistency to favor availability and performance. However, applications that use NoSQL/NewSQL databases in distributed environments have to perform consistency control to avoid anomalies, such as inconsistent data and behavior. New approaches suggest the use of replicated data types (RDTs) to control conflicting updates. Another strategy is the use of different consistencies models for each type of operation, using first-order logic and theorem provers to supply the programmer with tools to classify consistency in operations while maintaining system invariants. Notwithstanding, the use of RDT or the descriptions of application integrity constraints in languages using first-order logic is still difficult to be used by programmers. Aiming to simplify the definition of most common database constraints, this paper proposes a mechanism to extract usual integrity constraints in an intermediate model, taking into account the semantics of invariances, using a mix of RDTs and first-order logic. The aim of this paper is to demonstrate how the proposed mechanism simplifies and guarantees safer programming with consistency control being performed at the application level.","PeriodicalId":211805,"journal":{"name":"Proceedings of the 20th International Workshop on the Web and Databases","volume":null,"pages":null},"PeriodicalIF":0.0000,"publicationDate":"2017-05-14","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"0","resultStr":"{\"title\":\"Invariant Control in Eventually Consistent Databases\",\"authors\":\"P. Flores, Frank Siqueira\",\"doi\":\"10.1145/3068839.3068844\",\"DOIUrl\":null,\"url\":null,\"abstract\":\"Due to the requirements imposed by data-intensive applications, NoSQL and NewSQL databases are becoming more present in the IT Market. These products provide alternative data models to the relational databases, and most of them are intrinsically distributed. These database management systems (DBMSs) relax consistency to favor availability and performance. However, applications that use NoSQL/NewSQL databases in distributed environments have to perform consistency control to avoid anomalies, such as inconsistent data and behavior. New approaches suggest the use of replicated data types (RDTs) to control conflicting updates. Another strategy is the use of different consistencies models for each type of operation, using first-order logic and theorem provers to supply the programmer with tools to classify consistency in operations while maintaining system invariants. Notwithstanding, the use of RDT or the descriptions of application integrity constraints in languages using first-order logic is still difficult to be used by programmers. Aiming to simplify the definition of most common database constraints, this paper proposes a mechanism to extract usual integrity constraints in an intermediate model, taking into account the semantics of invariances, using a mix of RDTs and first-order logic. The aim of this paper is to demonstrate how the proposed mechanism simplifies and guarantees safer programming with consistency control being performed at the application level.\",\"PeriodicalId\":211805,\"journal\":{\"name\":\"Proceedings of the 20th International Workshop on the Web and Databases\",\"volume\":null,\"pages\":null},\"PeriodicalIF\":0.0000,\"publicationDate\":\"2017-05-14\",\"publicationTypes\":\"Journal Article\",\"fieldsOfStudy\":null,\"isOpenAccess\":false,\"openAccessPdf\":\"\",\"citationCount\":\"0\",\"resultStr\":null,\"platform\":\"Semanticscholar\",\"paperid\":null,\"PeriodicalName\":\"Proceedings of the 20th International Workshop on the Web and Databases\",\"FirstCategoryId\":\"1085\",\"ListUrlMain\":\"https://doi.org/10.1145/3068839.3068844\",\"RegionNum\":0,\"RegionCategory\":null,\"ArticlePicture\":[],\"TitleCN\":null,\"AbstractTextCN\":null,\"PMCID\":null,\"EPubDate\":\"\",\"PubModel\":\"\",\"JCR\":\"\",\"JCRName\":\"\",\"Score\":null,\"Total\":0}","platform":"Semanticscholar","paperid":null,"PeriodicalName":"Proceedings of the 20th International Workshop on the Web and Databases","FirstCategoryId":"1085","ListUrlMain":"https://doi.org/10.1145/3068839.3068844","RegionNum":0,"RegionCategory":null,"ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"","JCRName":"","Score":null,"Total":0}
引用次数: 0

摘要

由于数据密集型应用程序的需求,NoSQL和NewSQL数据库在IT市场上越来越多地出现。这些产品为关系数据库提供了可选的数据模型,其中大多数本质上是分布式的。这些数据库管理系统(dbms)放宽一致性,以支持可用性和性能。然而,在分布式环境中使用NoSQL/NewSQL数据库的应用程序必须执行一致性控制以避免异常,例如数据和行为不一致。新的方法建议使用复制数据类型(rdt)来控制冲突的更新。另一种策略是为每种类型的操作使用不同的一致性模型,使用一阶逻辑和定理证明器为程序员提供工具,以便在保持系统不变性的同时对操作中的一致性进行分类。尽管如此,程序员仍然很难使用RDT或在使用一阶逻辑的语言中描述应用程序完整性约束。为了简化最常见的数据库约束的定义,本文提出了一种利用rdt和一阶逻辑的混合来提取中间模型中常见的完整性约束的机制,该机制考虑了不变性的语义。本文的目的是演示所提出的机制如何通过在应用程序级别执行一致性控制来简化和保证更安全的编程。
本文章由计算机程序翻译,如有差异,请以英文原文为准。
Invariant Control in Eventually Consistent Databases
Due to the requirements imposed by data-intensive applications, NoSQL and NewSQL databases are becoming more present in the IT Market. These products provide alternative data models to the relational databases, and most of them are intrinsically distributed. These database management systems (DBMSs) relax consistency to favor availability and performance. However, applications that use NoSQL/NewSQL databases in distributed environments have to perform consistency control to avoid anomalies, such as inconsistent data and behavior. New approaches suggest the use of replicated data types (RDTs) to control conflicting updates. Another strategy is the use of different consistencies models for each type of operation, using first-order logic and theorem provers to supply the programmer with tools to classify consistency in operations while maintaining system invariants. Notwithstanding, the use of RDT or the descriptions of application integrity constraints in languages using first-order logic is still difficult to be used by programmers. Aiming to simplify the definition of most common database constraints, this paper proposes a mechanism to extract usual integrity constraints in an intermediate model, taking into account the semantics of invariances, using a mix of RDTs and first-order logic. The aim of this paper is to demonstrate how the proposed mechanism simplifies and guarantees safer programming with consistency control being performed at the application level.
求助全文
通过发布文献求助,成功后即可免费获取论文全文。 去求助
来源期刊
自引率
0.00%
发文量
0
×
引用
GB/T 7714-2015
复制
MLA
复制
APA
复制
导出至
BibTeX EndNote RefMan NoteFirst NoteExpress
×
提示
您的信息不完整,为了账户安全,请先补充。
现在去补充
×
提示
您因"违规操作"
具体请查看互助需知
我知道了
×
提示
确定
请完成安全验证×
copy
已复制链接
快去分享给好友吧!
我知道了
右上角分享
点击右上角分享
0
联系我们:info@booksci.cn Book学术提供免费学术资源搜索服务,方便国内外学者检索中英文文献。致力于提供最便捷和优质的服务体验。 Copyright © 2023 布克学术 All rights reserved.
京ICP备2023020795号-1
ghs 京公网安备 11010802042870号
Book学术文献互助
Book学术文献互助群
群 号:481959085
Book学术官方微信