首页> 外国专利> Generalized method for modeling complex ordered check constraints in a relational database system

Generalized method for modeling complex ordered check constraints in a relational database system

机译:关系数据库系统中复杂有序检查约束建模的通用方法

摘要

A system for enabling a user of a relational database to define and enforce ordered check constraints to insure that defined logical relationships are maintained between data values in pairs of adjacent rows when adjacency is defined by some ordering of the data. These inter-row conditions, here called “ordered check constraints,” are expressed by a logical expressions which define a required relationship between the attributes of a given row and its adjacent row or rows. Arbitrarily complex expressions involving these sets of attributes can be formed to model the constraints of interest. These expressions can be created by the database in support of, for example, traditional primary key or uniqueness constraints, or they can be provided by the database user to model new more complex constraints such as a requirement that there be no gaps in a list of serial numbers. These constraints can then be efficiently supported in the presence of a b-tree or another ordered index structure by identifying any inserted, updated or deleted rows and evaluating the expression in the context of those rows and any associated adjacent rows. This approach is similar to that typically used in existing database systems to support primary key and uniqueness constraints, providing the user with the ability to model a much richer set of constraints using a generalized expression which extends and enhances the functionality of check constraints to permit relationships of data in different rows to be defined and enforced.
机译:一种使关系数据库的用户能够定义和实施有序检查约束的系统,以确保在通过数据的某种顺序定义了邻接关系时,在相邻行对中的数据值之间保持定义的逻辑关系。这些行间条件(这里称为“有序检查约束”)由逻辑表达式表示,该逻辑表达式定义了给定行及其相邻行或多行之间的属性之间的必需关系。可以形成涉及这些属性集的任意复杂的表达式,以对感兴趣的约束进行建模。这些表达式可以由数据库创建以支持例如传统的主键或唯一性约束,或者可以由数据库用户提供,以对新的更复杂的约束进行建模,例如要求列表中没有空白。序列号。然后,在存在b树或其他有序索引结构的情况下,可以通过标识任何插入,更新或删除的行并在这些行和任何关联的相邻行的上下文中评估表达式来有效地支持这些约束。此方法与现有数据库系统中通常使用的方法相似,以支持主键和唯一性约束,从而使用户能够使用通用表达式来建模更丰富的约束集,该表达式扩展并增强了检查约束的功能以允许关系要定义和执行的不同行中的数据。

著录项

  • 公开/公告号US7328212B2

    专利类型

  • 公开/公告日2008-02-05

    原文格式PDF

  • 申请/专利权人 DOUGLAS VOSS;GEORGE EADON;

    申请/专利号US20010871338

  • 发明设计人 GEORGE EADON;DOUGLAS VOSS;

    申请日2001-05-31

  • 分类号G06F7/00;

  • 国家 US

  • 入库时间 2022-08-21 20:09:04

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号