Title :
Effective scheduling of detached rules in active databases
Author :
Ceri, Stefano ; Gennaro, Claudio ; Paraboschi, Stefano ; Serazzi, Giuseppe
Author_Institution :
Dipt. di Elettronica e Informazione, Politecnico di Milano, Italy
Abstract :
While triggers have become a classical ingredient of relational database systems, research in active databases is aiming at extending the functionality and expressive power of active rules beyond the scope of relational triggers. One of the most important current trend concerns the support of detached active rules, i.e., of rules which are executed as separate transactions, running outside of the scope of the transaction which generates the triggering event. Detached rules have important applications in workflow management and global integrity maintenance across transactions. One of the main issues in designing the rule engine for detached rules is determining their optimal scheduling. In this paper, we study the performance of a detached rule scheduler whose objective is to minimize the interference of detached rule execution with regard to the normal transactional load. This objective is achieved by executing detached rules at given periods of time and by assigning them a fixed amount of dedicated threads; we study the performance of the scheduler relative to the two most critical design parameters, the frequency of execution of the scheduler, and the number of dedicated execution threads.
Keywords :
active databases; knowledge based systems; scheduling; active databases; active rules; detached rules; global integrity maintenance; relational triggers; rule scheduling; separate transactions; transactions; triggers; workflow management; Computer languages; Database systems; Engines; Frequency; Interference; Optimal scheduling; Processor scheduling; Relational databases; Transaction databases; Yarn;
Journal_Title :
Knowledge and Data Engineering, IEEE Transactions on
DOI :
10.1109/TKDE.2003.1161578