Automatic Generation of Update Rules to Enforce Consistency Constraints in Design Databases

Database systems for computer-aided design (CAD) are characterised by structural complexity and nonstandard relationship types. Integrity constraints typically describe the semantics of these relationships. Enforcing such constraints in the face of user-initiated changes to the database is necessary to ensure that the database is consistent and the corresponding design is valid. Typically, update rules are specified to maintain integrity constraints. In this paper, we concentrate on the automatic generation of update rules from integrity constraints. Our methodology generates two types of update rules, which are guaranteed to result in a consistent database state. The database designer is provided with the flexibility of alternative semantics as a result of the two update rule types. Tests for integrity violations and repair actions are both generated during a single analysis. The underlying formalism expresses constraints, updates, and rules within the same language; thus the same proof theory applies to all components. This simplifies the overall analysis and enables concise correctness proofs.

[1]  Lois M. L. Delcambre,et al.  Constraint Analysis: A Design Process for Specifying Operations on Objects , 1990, IEEE Trans. Knowl. Data Eng..

[2]  Jennifer Widom,et al.  Behavior of database production rules: termination, confluence, and observable determinism , 1992, SIGMOD '92.

[3]  B. Wuthrich On updates and inconsistency repairing in knowledge bases , 1993, Proceedings of IEEE 9th International Conference on Data Engineering.

[4]  Ronald Fagin,et al.  Horn clauses and database dependencies , 1982, JACM.

[5]  Stefano Paraboschi,et al.  A Review of Repairing Techniques for Integrity Maintenance , 1993, Rules in Database Systems.

[6]  Susan Darling Urban,et al.  CONTEXT: A CONstrainT EXplanation Tool , 1992, Data Knowl. Eng..

[7]  Jennifer Widom,et al.  Deriving Production Rules for Constraint Maintainance , 1990, VLDB.

[8]  Robert Demolombe Syntactical characterization of a subset of domain-independent formulas , 1992, JACM.

[9]  S.D. Urban,et al.  The implementation and evaluation of integrity maintenance rules in an object-oriented database , 1992, [1992] Eighth International Conference on Data Engineering.

[10]  Jean-Marie Nicolas,et al.  Integrity Checking in Deductive Data Bases , 1977, Logic and Data Bases.

[11]  James Vorbach,et al.  An Algorithmic Logic Approach to Formalizing Database Update Semantics , 1998, J. Appl. Non Class. Logics.

[12]  Glenn A. Kramer,et al.  Using degrees of freedom analysis to solve geometric constraint systems , 1991, SMA '91.

[13]  Letizia Tanca,et al.  Automatic generation of production rules for integrity maintenance , 1994, TODS.

[14]  Jeffrey D. Ullman,et al.  Principles Of Database And Knowledge-Base Systems , 1979 .

[15]  Umeshwar Dayal,et al.  The architecture of an active database management system , 1989, SIGMOD '89.

[16]  D. C. Anderson,et al.  A positioning algorithm for mechanical assemblies with closed kinematic chains in three dimensions , 1993, Solid Modeling and Applications.

[17]  Bernhard Thalheim,et al.  Integrity Enforcement in Object-Oriented Databases , 1992, FMLDO.

[18]  Xiaolei Qian,et al.  Synthesizing Database Transactions , 1990, VLDB.

[19]  Rodney W. Topor,et al.  Safety and translation of relational calculus , 1991, TODS.

[20]  Robert A. Kowalski,et al.  Integrity Checking in Deductive Databases , 1987, VLDB.