首页> 外国专利> Versioned relational database system with an optimistic constraint model

Versioned relational database system with an optimistic constraint model

机译:具有乐观约束模型的版本化关系数据库系统

摘要

Techniques for doing optimistic constraint checking in a versioned relational database system. The techniques find a subset of the versions of a table that contain all of the rows that need be checked for violation of a constraint when a given version is modified. When the versions of a table are organized into a directed acyclic graph (DAG), the subset for a given version is the ancestry of the given version, that is, the given version plus the ancestors of the given version in the DAG. Within the ancestry, the set of rows that must be checked is termed the version view. A row that belongs to the set has a primary key that is the latest version of the primary key in the given version's ancestry. The technique may be used for constraints including the referential integrity constraint and the unique key constraint. The metadata used to compute the version view is disclosed, as well as the manner in which the constraint checking techniques interact with the workspaces that provide access to the versions. The workspaces may be organized as a DAG. The manner in which the workspaces are organized determines how changes are propagated in the versioned relational database and thus the versions whose ancestry has to be checked for constraint violations.
机译:在版本关系数据库系统中进行乐观约束检查的技术。该技术查找表版本的子集,其中包含修改给定版本时需要检查是否违反约束的所有行。将表的版本组织成有向无环图(DAG)时,给定版本的子集是给定版本的祖先,即给定版本加上DAG中给定版本的祖先。在祖先中,必须检查的行集称为版本视图。属于该集合的行具有主键,该主键是给定版本祖先中主键的最新版本。该技术可以用于包括参照完整性约束和唯一密钥约束的约束。公开了用于计算版本视图的元数据,以及约束检查技术与提供对版本访问权限的工作空间进行交互的方式。工作空间可以被组织为DAG。工作空间的组织方式决定了如何在版本化的关系数据库中传播更改,从而确定了必须检查其祖先的版本是否违反了约束。

著录项

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号