Automatic generation of production rules for integrity maintenance
- 1 September 1994
- journal article
- Published by Association for Computing Machinery (ACM) in ACM Transactions on Database Systems
- Vol. 19 (3), 367-422
- https://doi.org/10.1145/185827.185828
Abstract
In this article we present an approach to integrity maintenance, consisting of automatically generating production rules for integrity enforcement. Constraints are expressed as particular formulas of Domain Relational Calculus; they are automatically translated into a set of repair actions, encoded as production rules of an active database system. Production rules may be redundant (they enforce the same constraint in different ways) and conflicting (because repairing one constraint may cause the violation of another constraint). Thus, it is necessary to develop techniques for analyzing the properties of the set of active rules and for ensuring that any computation of production rules after any incorrect transaction terminates and produces a consistent database state. Along these guidelines, we describe a specific architecture for constraint definition and enforcement. The components of the architecture include a Rule Generator , for producing all possible repair actions, and a Rule Analyzer and Selector , for producing a collection of production rules such that their execution after an incorrect transaction always terminates in a consistent state (possibly by rolling back the transaction); moreover, the needs of applications are modeled, so that integrity-enforcing rules reach the final state that better represents the original intentions of the transaction's supplier. Specific input from the designer can also drive the process and integrate or modify the rules generated automatically by the method. Experimental results of a prototype implementation of the proposed architecture are also described.Keywords
This publication has 23 references indexed in Scilit:
- An overview of production rules in database systemsThe Knowledge Engineering Review, 1993
- A denotational semantics for the Starburst production rule languageACM SIGMOD Record, 1992
- CONTEXT: A CONstrainT EXplanation ToolData & Knowledge Engineering, 1992
- Updating relational views using knowledge at view definition and view update timeInformation Systems, 1991
- Reactive consistency control in deductive databasesACM Transactions on Database Systems, 1991
- Safety and translation of relational calculusACM Transactions on Database Systems, 1991
- A rule-based language with functions and setsACM Transactions on Database Systems, 1991
- Rule management and evaluation: an active DBMS perspectiveACM SIGMOD Record, 1989
- Properties and update semantics of consistent viewsACM Transactions on Database Systems, 1988
- Monitoring dynamic integrity constraints based on temporal logicInformation Systems, 1987