http://citeseerx.ist.psu.edu/viewdoc/summary?doi=10.1.1.49.2910
integrating a production rules facility into a database system … provides … database features including integrity constraint enforcement, derived data maintenance, triggers, alerts, … In addition, a database with rule processing capabilities provides a useful platform for large and efficient … system. Database with production rules are referred to as active databases …
conventional database systems are passive: they only execute queries or transactions explicitly submitted by a user or an application program. For many applications, however, it is important to monitor situations of interest, and to trigger a timely response when the situation occur.
a reference engine cycles through all the rules in the system … Of all the rules that match (the condition set), one is selected using some conflict resolution policy …
a link between the data that matches a rule’s condition and the behavior of the rule’s action
interplay between rule execution and the execution of user-initiated transactions is also an issue
tuple-oriented processing
rule processing in PostgresSQL is inherently recursive and synchronous (similar to a procedure call mechanism)
in PostgresSQL, two different mechanisms are implemented for rules: tuple-level processing and query rewrite
features for analyzing rule processing include the ability to trace rule execution, to display the current set of triggered rules, to query and browse the set of rules, and to cross-reference rules and data …
rule termination