首页> 外国专利> Concurrency control protocols for management of replicated data items in a distributed database system

Concurrency control protocols for management of replicated data items in a distributed database system

机译:并发控制协议,用于管理分布式数据库系统中的复制数据项

摘要

The invention provides protocols for managing transactions operating on replicated data items at multiple physical sites in a distributed database system. The protocols make use of dynamically changing sets of data items referred to as "virtual sites" and a replication graph or other suitable globally consistent representation of the relationships between the transactions and the virtual sites. Illustrative embodiments of the invention include a static global serializability (SGS) protocol, a commit-oriented protocol (COP) and a multiversion optimistic protocol (MOP). The SGS protocol broadcasts the data access set of a given transaction to all physical sites, and applies the Thomas Write Rule (TWR) to write-write conflicts on secondary copies of data items. The COP protocol defers testing of the replication graph until a transaction is ready to commit, and each transaction is allowed to proceed at its origination site independently of other transactions that are executing at other sites. The MOP protocol uses two versions of each data item to ensure global multiversion serializability. The two versions are the current version of the data item, and a "last certified version" of the data item. All read-only transactions read the last certified version, and can therefore proceed without delay. The protocols ensure global serializability while substantially reducing communication overhead relative to conventional protocols.
机译:本发明提供了用于管理在分布式数据库系统中的多个物理站点上的复制数据项上操作的交易的协议。协议利用称为“虚拟站点”的动态变化的数据项集以及事务和虚拟站点之间关系的复制图或其他合适的全局一致表示。本发明的说明性实施例包括静态全局可串行化(SGS)协议,面向提交协议(COP)和多版本乐观协议(MOP)。 SGS协议将给定事务的数据访问集广播到所有物理站点,并将托马斯写规则(TWR)应用于数据项的辅助副本上的写冲突。 COP协议推迟对复制图的测试,直到准备好提交事务为止,并且允许每个事务独立于在其他站点执行的其他事务在其原始站点继续进行。 MOP协议使用每个数据项的两个版本来确保全局多版本可序列化。这两个版本是数据项的当前版本和数据项的“最后认证版本”。所有只读事务均读取最后的认证版本,因此可以立即进行。与传统协议相比,这些协议可确保全局可串行性,同时大大减少了通信开销。

著录项

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号