An algebraic approach to static analysis of active database rules
Authors:
Open Access
- 1 September 2000
- journal article
- Published by Association for Computing Machinery (ACM) in ACM Transactions on Database Systems
- Vol. 25 (3) , 269-332
Abstract
Rules in active database systems can be very difficult to program due to the unstructured and unpredictable nature of rule processing. We provide static analysis techniques for predicting whether a given rule set is guaranteed to terminate and whether rule execution is confluent (guaranteed to have a unique final state). Our methods are based on previous techniques for analyzing rules in active database systems. We improve considerably on the previous techniques by providing analysis criteria that are much less conservative: our methods often determine that a rule set will terminate or is confluent when previous methods could not make this determination. Our improved analysis is based on a “propagation” algorithm, which uses an extended relational algebra to accurately determine when the action of one rule can affect the condition of another, and determine when rule actions commute. We consider both conditon-action rules and event-condition-action-rules, making our approach widely applicable to relational active database rule languages and to the trigger language in the SQL:1999 standard.Keywords
This publication has 28 references indexed in Scilit:
- SQLACM SIGMOD Record, 1999
- Active Database Features in SQL31999
- Compile-time and runtime analysis of active behaviorsIEEE Transactions on Knowledge and Data Engineering, 1998
- An improved algorithm for the incremental recomputation of active relational expressionsIEEE Transactions on Knowledge and Data Engineering, 1997
- Modularization techniques for active rules designACM Transactions on Database Systems, 1996
- Static analysis techniques for predicting the behavior of active database rulesACM Transactions on Database Systems, 1995
- Automatic generation of production rules for integrity maintenanceACM Transactions on Database Systems, 1994
- Better Termination Analysis for Active Databases1994
- Incremental recomputation of active relational expressionsIEEE Transactions on Knowledge and Data Engineering, 1991
- Equivalence of Relational Algebra and Relational Calculus Query Languages Having Aggregate FunctionsJournal of the ACM, 1982