首页> 外国专利> Distributed database system and method of detecting contention in data update involved in replication of database data

Distributed database system and method of detecting contention in data update involved in replication of database data

机译:分布式数据库系统和检测数据库数据复制中涉及的数据更新争用的方法

摘要

In a distributed database system including a plurality of database systems each having a database, wherein a database possessed by one of the database systems serves as an original database, and databases of the remaining database systems are produced by replicating the original database, the presence or absence of update contention of the same data in two database systems is detected. When data susceptible to detection of update contention is updated, an update serial number is produced for the data. The update serial number includes a system identifier for identifying a database system in which the data is updated and an update frequency related to the number of times of updates. The update serial number is accumulatively stored in an update serial number history associated with the data each time the data is updated. When the updated data and the update serial number history associated therewith are transferred to a receiving database system, the contents of the update serial number history associated with the received data is compared with the contents of an update serial number history associated with data corresponding to the received data (target data) in a database of the receiving database system, and a contending state of the received data with the target data is determined based on the result of the comparison in the receiving database system.
机译:在包括多个数据库系统的分布式数据库系统中,每个数据库系统具有一个数据库,其中由一个数据库系统拥有的数据库用作原始数据库,而其余数据库系统的数据库通过复制原始数据库,存在或复制来产生。检测到两个数据库系统中没有相同数据的更新争用。当更新易于检测到更新争用的数据时,将为该数据生成一个更新序列号。更新序列号包括用于识别其中更新了数据的数据库系统的系统标识符以及与更新次数有关的更新频率。每当数据被更新时,更新序列号被累积地存储在与数据相关联的更新序列号历史中。当更新的数据和与其相关联的更新序列号历史被传送到接收数据库系统时,将与接收到的数据相关联的更新序列号历史的内容与与对应的数据相关联的更新序列号历史的内容进行比较。接收数据库系统的数据库中的接收数据(目标数据),并且基于接收数据库系统中的比较结果来确定接收数据与目标数据的竞争状态。

著录项

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号