Abstract
Experience using active rules in database systems has shown that, while such rules can be utilised beneficially in a range of applications, it is not a straightforward task to implement, debug or maintain large rule bases. It is thus important for active rule systems to provide debugging and explanation facilities for two reasons: to inform the user which active rules have been fired during the execution of an operation thereby increasing the user’s confidence and understanding of the system, and to help the designer to refine and analyze interactions among rules at, execution time. The idiosyncrasies of the rule’s flow of control, where the rules to be fired cannot be known in advance, introduce some requirements different from those found in debuggers for conventional programming languages. This paper presents an approach to the design and implementation of a debugger for active rules in an object-oriented context. Due to the event-based nature of active systems, special attention has been paid to making explicit the context in which rules are fired, and on providing mechanisms to focus attention during the debugging process. These ideas have been tested empirically in an implementation of a rule debugger for the EXACT rule system of the object-oriented DBMS ADAM.
Access this chapter
Tax calculation will be finalised at checkout
Purchases are for personal use only
Preview
Unable to display preview. Download preview PDF.
References
A. Aitken, J. Widom, and J.M. Hellerstein. Behaviour of Database Production Rules: Termination, Confluence, and Observable Determinism ACM SIGMOD Conference, 59–68, 1992.
O. Diaz and S.M. Embury. Generating active rules from high-level specifications. In R. Lucas P.M.D. Gray, editor, Advanced Database Systems: Proc. BNCOD 10, pages 227–243. Springer-Verlag LNCS series, 1992.
O. Diaz and A. Jaime. EXACT: an Extensible approach to ACTive object-oriented databases. Submitted for publication, 1993.
M. Morgenstern. Constraint equations: Declarative expression of constraints with automatic enforcement. In Proc. Intl. Conf. on Very Large Data Bases, pages 153–299. Morgan Kaufmann, 1984.
N.W. Paton. ADAM: An Object-Oriented Database Implemented in Prolog. Proc 7th British National Conference on Databases, M.H. Williams, editor, pages 147–162, CUP, 1989.
N.W. Paton, G. al Qaimari, O. Diaz, and A. Jaime. On interface objects in object-oriented databases. In Submitted for publication, 1993.
A. Siebes, M. Van der Voort, L. Kersten Towards a Design Theory for Database Triggers. In Proc. Intl. Conf. on Database and Expert Systems Applications (DEXA), A.M. Tjoa, I. Ramos, editors, pages 338–344. Springer-Verlag, 1992.
M. Stonebraker. The Integration of Rule Systems and Database Systems. IEEE Trans. on Knowledge and Data Engineering, 4(5):415–423, 1992.
Author information
Authors and Affiliations
Editor information
Editors and Affiliations
Rights and permissions
Copyright information
© 1994 British Computer Society
About this paper
Cite this paper
Díaz, O., Jaime, A., Paton, N. (1994). DEAR: a DEbugger for Active Rules in an object-oriented context. In: Paton, N.W., Williams, M.H. (eds) Rules in Database Systems. Workshops in Computing. Springer, London. https://doi.org/10.1007/978-1-4471-3225-7_11
Download citation
DOI: https://doi.org/10.1007/978-1-4471-3225-7_11
Publisher Name: Springer, London
Print ISBN: 978-3-540-19846-8
Online ISBN: 978-1-4471-3225-7
eBook Packages: Springer Book Archive