Title :
Using partial differencing for efficient monitoring of deferred complex rule conditions
Author :
Sköld, Martin ; Risch, Tore
Author_Institution :
Dept. of Comput. & Inf. Sci., Linkoping Univ., Sweden
fDate :
26 Feb-1 Mar 1996
Abstract :
Presents a difference calculus for determining changes to rule conditions in an active DBMS. The calculus has been used for implementing an algorithm to efficiently monitor rules with complex conditions. The calculus is based on partial differencing of queries derived from rule conditions. For each rule condition, several partially differentiated queries are generated that each considers changes to a single base relation or view that the condition depends on. The calculus considers both insertions and deletions. The algorithm is optimized for deferred rule condition monitoring in transactions with few updates. The calculus allows us to optimize both space and time. Space optimization is achieved since the calculus and the algorithm does not presuppose materialization of monitored conditions to find its previous state. This is achieved by using a breadth-first, bottom-up propagation algorithm and by calculating previous states by doing a logical rollback. Time optimization is achieved through incremental evaluation techniques. The algorithm has been implemented and a performance study is presented at the end of the paper
Keywords :
active databases; monitoring; optimisation; query processing; software performance evaluation; transaction processing; active DBMS; base relation; breadth-first bottom-up propagation algorithm; complex rule condition changes; database views; deferred rule condition monitoring; deletions; difference calculus; incremental evaluation techniques; insertions; logical rollback; monitored conditions; partial differencing; partially differentiated queries; performance; previous states; space optimization; time optimization; transactions; updates; Algebra; Calculus; Computerized monitoring; Condition monitoring; Database languages; Event detection; Information science; Optimizing compilers; Relational databases; Transaction databases;
Conference_Titel :
Data Engineering, 1996. Proceedings of the Twelfth International Conference on
Conference_Location :
New Orleans, LA
Print_ISBN :
0-8186-7240-4
DOI :
10.1109/ICDE.1996.492188