Event specification in an active object-oriented database
- 1 June 1992
- proceedings article
- Published by Association for Computing Machinery (ACM)
- Vol. 21 (2), 81-90
- https://doi.org/10.1145/130283.130300
Abstract
We describe the integration of composite event specification in the context of O++, the database programming language for the Ode object database (1). We propose a new Event-Action (E-A) model, which is simpler than the E-C-A model. Not only have we eliminated the need for a separate ''condition'' part in the model — the condition is part of an event specification in our model — we have also eliminated the need to have special types of couplings as proposed in the E-C-A model. In fact, our event specification facility can model not just the E-C-A couplings discussed in the literature, but arbitrary additional types of couplings as well. We construct a formal model for the specification (and detection) of composite events, and show its equivalence in terms of expressive power to regular expressions over strings of logical events. On this basis we are able to compile arbitrary composite event specifications into finite automata, thereby rendering event detection particularly efficient. In many cases, one automaton per class is sufficient and objects need only record their states within this automaton. Time-based events are important for active databases and their incorporation into a general framework of addressing events is therefore desirable, if not mandatory. The issue of (true physical) time and the proper way of incorporating it with a ''logical'' system view presents many difficulties; see for example (11, 14). One obvious problem is that communication takes time (especially in a distributed system) and that internal events and state transitions are not instantaneous. Furthermore, transaction execution takes time. We propose a way for handling time and time related events. We also define serializability in the presence of (physical) time. Furthermore, we address the interaction of (physical) time events and traditional notions of a transaction system.Keywords
This publication has 9 references indexed in Scilit:
- Extensions to StarburstCommunications of the ACM, 1991
- Database systems: achievements and opportunitiesCommunications of the ACM, 1991
- The POSTGRES next generation database management systemCommunications of the ACM, 1991
- ODE (Object Database and Environment): the language and the data modelPublished by Association for Computing Machinery (ACM) ,1989
- The architecture of an active database management systemPublished by Association for Computing Machinery (ACM) ,1989
- Concurrency control for cooperating transactions in an object-oriented databaseACM SIGPLAN Notices, 1988
- The HiPAC project: combining active databases and timing constraintsACM SIGMOD Record, 1988
- Statecharts: a visual formalism for complex systemsScience of Computer Programming, 1987
- Object identityPublished by Association for Computing Machinery (ACM) ,1986