Looking for breakthrough ideas for innovation challenges? Try Patsnap Eureka!

Versioned relational database system with an optimistic constraint model

a relational database and constraint model technology, applied in the field of relational database systems, can solve problems such as constraint violations

Inactive Publication Date: 2006-04-11
ORACLE INT CORP
View PDF7 Cites 98 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Benefits of technology

[0051]The object of the invention is achieved by a versioned relational database system in which there is a set of versions of a table and metadata which makes it possible to define a proper subset of the versions of the table that includes those versions in which a constraint...

Problems solved by technology

The versioned relational data base system may then use the metadata to locate rows in the versions of the subset for which the operation may result in a violation of a constraint.

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Versioned relational database system with an optimistic constraint model
  • Versioned relational database system with an optimistic constraint model
  • Versioned relational database system with an optimistic constraint model

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0072]The following Detailed Description will begin with a general discussion of constraint violations and will then provide an overview of an optimistic model for detecting constraint violations and will describe the metadata used to implement the optimistic model. Thereupon, details will be presented of particular optimistic models for detecting unique key constraint violations, RIC violations, and constraint violations in a VRDBS that permits a workspace to have more than one parent.

Integrity Constraints Generally

[0073]An integrity constraint is a rule that limits what values may occur in a column of a table or in columns of related tables. The Oracle 8i database system supports integrity constraints including the following:[0074]primary key constraints: these constraints involve a record's primary key, that is, a field in the record that should be unique in the table to which the record belongs and that is used as the record's primary key;[0075]unique key constraints: these cons...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

PUM

No PUM Login to View More

Abstract

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.

Description

RELATED APPLICATIONS[0001]The present patent application is a continuation-in-part of U.S. Ser. No. 09 / 557,592, Ramkrishna Chatterjee, et al., System and method for enforcing referential constraints between versioned database tables, filed Apr. 22, 2000, and having the same assignee as the present patent application. U.S. Ser. No. 09 / 557,592 issued June 24, 2003 as U.S. Pat. No. 6,584,476. That patent is further incorporated by reference in its entirety into the present patent application. The portion of the present application which is taken from the parent is in the section titled RIC checking in a VRDBS. The present application is also closely related to U.S. Ser. No. 10 / 205,084. Sanjay Agarwal and Ramkrishna Chatterjee, Versioned database system with multi-parent versions, filed on even date with the present patent application and having the same assignee.BACKGROUND OF THE INVENTION[0002]1. Field of the Invention[0003]The invention relates to relational database systems generall...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

Application Information

Patent Timeline
no application Login to View More
IPC IPC(8): G06F17/30
CPCG06F17/30309G06F17/30548Y10S707/956Y10S707/99954Y10S707/954G06F16/219G06F16/2474
Inventor VASUDEVAN, RAMESHAGARWAL, SANJAYCHATTERJEE, RAMKRISHNASPECKHARD, BENJAMIN
Owner ORACLE INT CORP
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Patsnap Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Patsnap Eureka Blog
Learn More
PatSnap group products