An algebraic approach to static analysis of active database rules

Citation
E. Baralis et J. Widom, An algebraic approach to static analysis of active database rules, ACM T DATAB, 25(3), 2000, pp. 269-332
Citations number
43
Categorie Soggetti
Computer Science & Engineering
Journal title
ACM TRANSACTIONS ON DATABASE SYSTEMS
ISSN journal
03625915 → ACNP
Volume
25
Issue
3
Year of publication
2000
Pages
269 - 332
Database
ISI
SICI code
0362-5915(200009)25:3<269:AAATSA>2.0.ZU;2-4
Abstract
Rules in active database systems can be very difficult to program due to th e unstructured and unpredictable nature of rule processing. We provide stat ic analysis techniques for predicting whether a given rule set is guarantee d to terminate and whether rule execution is confluent (guaranteed to have a unique final state). Our methods are based on previous techniques for ana lyzing rules in active database systems. We improve considerably on the pre vious techniques by providing analysis criteria that are much less conserva tive: our methods often determine that a rule set Will terminate or is conf luent when previous methods could pot make this determination; Our improved analysis is based on a "propagation" algorithm, which uses an extended rel ational algebra to accurately determine when the action of one rule can aff ect the condition of another, and determine when rule actions commute. We c onsider both condition-action rules and event-condition-action rules, makin g our approach widely applicable to relational active database rule languag es and to the trigger language in the SQL:1999 standard.