Nothing Special   »   [go: up one dir, main page]

skip to main content
article
Free access

A structured approach for the definition of the semantics of active databases

Published: 01 December 1995 Publication History

Abstract

Active DBMSs couple database technology with rule-based programming to achieve the capability of reaction to database (and possibly external) stimuli, called events. The reactive capabilities of active databases are useful for a wide spectrum of applications, including security, view materialization, integrity checking and enforcement, or heterogeneous database integration, which makes this technology very promising for the near future. An active database system consists of a (passive) database and a set of active rules; the most popular form of active rule is the so-called event-condition-action (ECA) rule, which specifies an action to be executed upon the occurrence of one or more events, provided that a condition holds. Several active database systems and prototypes have been designed and partially or completely implemented. Unfortunately, they have been designed in a totally independent way, without the support of a common theory dictating the semantics of ECA rules, and thus often show different behaviors for rules with a similar form. In this article we consider a number of different possible options in the behavior of an active DBMS, based on a broad analysis of some of the best known implemented systems and prototypes. We encode these options in a user-readable form, called Extended ECA. A rule from any existing system can be rewritten in this formalism making all the semantic choices apparent. Then an EECA rule can be automatically translated into an internal (less readable) format, based on a logical style, which is called core format: the execution semantics of core rules is specified as the fixpoint of a simple transformation involving core rules. As an important premise to this research, a semantics for database updates and transactions has also been established, with respect to a notion of state that comprises both data and events. The article also presents an extensive bibliography on the subject of active databases.

References

[1]
ABITEBOUL, S. AND VIANU, V. 1991. Generic computation and its complexity. In Proceedings of the ACM-SIGACT Symposium on the Theory of Computing (New Orleans, LA, May), 209-219.
[2]
AGRAWAL, R., COCHRANE, R. J., AND LINDSAY, B. 1991. On maintaining priorities in a production rule system. In Proceedings of the Seventeenth International Conference on Very Large Da,~a Bases (Barcelona, Sept. 3-6), G. M. Lohman, A. Sernadas, and R. Camps, Eds., 479-487.
[3]
ALLBASE 1992. Allbase Manuals.
[4]
ANW~, E., MAUG~S, L., AND CHAKRAVARTHY, S. 1993. A new perspective on rule support for object-oriented databases. In Proceedings of the ACM SIGMOD International Conference on Management of Data (Washington, D.C.), P. Buneman and S. Jajodia, Eds., 99-108.
[5]
ARLEEN, R., GAVA, J., GEHANI, N., AND LmUWEN, D. 1995. Ode 4.0 (OdeiEOS~) user manual. Tech. Rep. AT & T Bell Labs, Murray Hill, NJ.
[6]
BARALIS, E., CERI, S., MONTELEONE, G., AND PAm~BOSCm, S. 1994. An intelligent database system application: The design of EMS. In Proceedings of First International Conference on Applications of Databases ADB-94, (Vadstena, Sweden), Lecture Notes in Computer Science, W. Litwin and T. Risch, Eds., Springer-Verlag, Berlin, 172-189.
[7]
BEERI, C. AND MILO, T. 1991. A model for active object-oriented database. In Proceedings Seventeenth International Conference on Very Large Data Bases (Barcelona), G. M. Lohm, A. Sernadas and R. Camps, Eds., 337-349.
[8]
BONNER, A. J. AND KIFER, M. 1993a. Database programming in transaction logic. In Proceeding.~ of the Fourth International Workshop on Database Programming Languages (New York, Aug. 30-Sept. 1), 309-337.
[9]
BONNER, A. J., I<IFER, M. AND CONSENS, M.P. 1993b. Transaction logic programming. Tech. Rep. CSRI-270, University of Toronto. April (revised July 1, 1993).
[10]
BRANOING, H., BUCHMANN, A. P., KUDRASS, A., AND ZIMMERMANN, J. 1993. Rules in an open sysLem: The reach rule system. In Proceedings of the First Workshop on Rules in Database Systems (WICS, Edinburgh, Scotland), N. W. Paton and M. W. Williams, Eds. Springer-Verlag, Berlin, 111-126.
[11]
BROWNSTON, L., FARgELL, R., KANT, E., AND MARTIN, N. 1985. Programming Expert Systems in OPS5: An Introduction to Rule~Base Programming. Addison-Wesley, Reading, MA.
[12]
BUCHMANN, A. P., ZIMMERMANN, J., BLAKELEY, J., AND WELLS, D. 1995. Building an integrated active OODBMS: Requirements, architecture, and design decisions. In Proceedings of the Eleventh International Conference on Data Engineering (Taipei, Taiwan), 117 128.
[13]
CERI, S. AND FRATERNALL P. 1995. The IDEA methodology. Tech. Rep. IDEA.WP2.22P.001.03, ESPRIT Project no. 6333 IDEA.
[14]
CERI, S., FRATERNALI, P., PARABOSCHI, S., AND TANCA, L. 1994. Automatic generation of production rules for integrity maintenance. ACM Trans. Database Syst. 19, 3, 367-422.
[15]
CERI, S., FRATERNALI, P., PARABOSCHI, S., AND TANCA, L. 1995. Active rule management in Chimera. In Active Database System6, J. Widom, and S. Ceri, Ed., Morgan-Kaufmann, San MaLeo, CA.
[16]
CERI, S. AND MANTHE~, R. 1993. Consolidated specification of Chimera, the conceptual interface of Idea. Tech. Rep. IDEA.DD.2P.004, ESPRIT Project no. 6333 Idea.
[17]
CERL S. AND WmOM, J. 1990a. Deriving production rules for constraint maintenance. Tech. Rep. 90-013, Politecnico di Milano, Dipartimento di Elettronica e Informazione.
[18]
CERI, S. AND WIDOM, J. 1990b. Deriving production rules for constraint maintenance. In Proceedings of the Sixteenth International Conference on Very Large Data Bases (Brisbane, Australia), D. McLeod, R. Sacks-Davis, and II. Schek, Eds., 566-577.
[19]
CERI, S. AND WIDOM, J. 1991. Deriving production rules for incremental view maintenance. In Proceedzngs of the Seventeenth InternatzonaZ Conference on Very Large Data Bases (Barcelona), G. M. Lehman, A. Sernadas, and R. Camps, Eds, 577-589.
[20]
CHAKRAVARTHY, S., BLAUSTEIN, B., BUCHMANN, A., CAREY, M., DAYAL, U., GOLDHIRSCH, D., Ssu, M., JAUHARI, R., LADIN, R., LIVNI, M., McCARTHY, D., McKEE, R., AND ROSENTHAL, A. 1989. Hlpac: A research project in active, time-constrained database management Tech. Rep. XAIT-89-02, Xerox Advanced Information Technology
[21]
COLLET, C., COUPAYE, T., AND SVENSEN, Z. 1994. NAOS: Efficient and modular reactive capabilities in an object-oriented database system. In Proceedings of the Twentieth International Conference on Very Large Data Bases (Santiago), 132-143.
[22]
COMAI, S., FRATERNALI, P., PSAILA, G., AND TANCA, L. 1995. Active database semantms. Tech. Rep. 95-014, Politecnico di Milano, Dipartimento di Elettronica e Informazione.
[23]
DERANSART, P., JOURDAN, M., AND LORHO, B. 1988. Attribute Grammars, Vol. 323, Lecture Notes m Computer Science. Springer-Verlag, Berlin.
[24]
DIAZ, O. AND PATON, l~. 1991. Sharing behaviour in an object-oriented database using a rule-based mechanism In Proceedings of the Ninth British National Conference on Databases (Wolverhampton, UK), 17-37.
[25]
DIGITAL EQUIPMENT CORP. 1991. Rdb / VMS-SQL Reference Manual.
[26]
FRATENALI, P. AND TANCA, L. 1995. A structured approach for the definition of the semantics of active databases. Tech. Rep. 95-028, Politecnico di Milano, Dipartimento di Elettromca e Informazione. Avafiable at ftp://ftp.elet.polimi.it/pub/data/Letizia. Tanca/trep95028 ps.
[27]
GATZm, S. AND DITTRICH, K.R. 1992. Samos: An active object-oriented database system. IEEE Data Eng. 15, 1-4.
[28]
GATZIU, S., GEPPERT, A., AND DITTRICH, K.R. 1991. Integrating active concepts into an objectoriented database system. In Proceedings of the DBPL91 Conference (Nafiion, Greece, Aug. 27-30), 341-357.
[29]
GEHANI, ~q. AND JAGADISH, H.V. 1991. ODE as an active database: Constraints and triggers. In Proceedings of the Seventeenth International Conference on Very Large Data Bases (Barcelona) G. M. Lehman, A. Sernadas, and R. Camps, Eds., 327-336.
[30]
GEHANI, N., JAGADISH, H. V., AND SHMUELI, O. 1992a. Composite event specifications in active databases: Model and implementation. In Proceedings of the E~ghteenth International Conference on Very Large Data Bases (Vancouver, B.C ), Yuan, L.-Y., Ed., 321-338.
[31]
GEHANI, N., JAGAmSH, H. V., AND SHMUELL O. 1992b. Event specification in an active objectoriented database. In Proceedings of the ACM SIGMOD International Conference on Management of Data (San Diego, CA), Stonebraker, Ed., 81-90.
[32]
GRAY, J. AND REUTER, A. 1994. Transaction Processing' Concepts and Techniques. Morgan Kaufmann Publishers, San Mateo, CA.
[33]
HANSON, E. 1992. Rule condition testing and action execution in Ariel. In Procee&ngs of the ACM SIGMOD International Conference on Management of Data (San Diego, CA), M. Stonebraker, Ed., 49-58.
[34]
HANSON, E. I-I. AND WIDOM, J. 1993. An overview of production rules in database systems. Knowl. Eng. 8, 2, 121-143.
[35]
HAREL, D. 1987. Statecharts: A visual formalism for complex systems. Sc~. Comput. Program. 8, 231-274.
[36]
HULL, R. AND JACOBS, D. 1991. Language constructs for programming active databases. In Proceedings of the Seventeenth Internatzonal Conference on Very Large Data Bases (Barcelona), A. Sernadas and R. Camps, Eds., 455 467.
[37]
INFORMIX / i 1994. Informix guide to SQL, Syntax, Version 6. Part No. 000-7597.
[38]
INFORMIX / 2 1994. Informix guide to SQL, Tutorial, Version 6. Part No. 000-7598.
[39]
INGRES 1990. Ingres Database Administrator's Guide, Release 6.3.
[40]
INTERBASE 1990. DDL Reference Manual.
[41]
ISO-ANSI'94 1994. ISO-ANSI Working Draft: Database Language/SQL Foundation. Document DBL-RIO-004 and X3H2-94-329.
[42]
KAPPEL, G., RAUSCH-SCHO~W, S., AND RETSCHITZEGGER, W. 1994. Beyond coupling modes: Implementing active concepts on top of a commercial ooDBMS. Manuscript.
[43]
McC,~RTHY, D. R. AND DAYAL, U. 1989. The architecture of an active data base management system. In Proceedings of the ACM SIGMOD International Conference on Management of Data (Po'ctland, OR), J. Clifford, B. Lindsay, and D. Mater, Eds., 215-224.
[44]
On~CLE / I 1992. Oracle 7 Server Concepts Manual. No. 6693-70.
[45]
ORACLE / 2 1992. Oracle 7 server application developer's guide. No. 6695-70.
[46]
PALOPOLI, L. AND TORLONE, R. 1994. Modeling database applications using generalized production rules. In Fourth Internatzonal Workshop on Research Issues in Data Engineering: Active Database Systems (RIDE-ADS '94) (Houston, TX), 30-45.
[47]
PATON, N. W., DIAZ, O., WmLIAMS, M. H., C~PIN, J., DrNN, A., AND JAIME, A. 1993. Dimensions of active behaviour. In Proceedings of the First Workshop on Rules in Database Systems (WICS, Edinburgh, Scotland, Aug. 30-Sept. 1), N. W. Paten and M. H. Williams, Eds., Spfinger-Verlag, Berlin, 40-57.
[48]
P^TON, N. W. ANn WmL~S, M. H., Eos. 1993. Proceedings of First Workshop on Rules in Dalabase Systems (WICS, Edinburgh, Scotland, Aug. 30-Sept. 1), Springer-Verlag, Berlin.
[49]
PICOUET, P. AND VIANU, V. 1995. Semantics and expressiveness issues in active databases. In Proceedings of the ACM Symposium on Principles of Database Systems (San Jose, CA, May 22-25), 126-138.
[50]
SIMO~, E. AND KmRNAN, J. 1995. The A-RDL System. In Active Database Systems, Morgan Kaufmann, San Mateo, CA, 101-142.
[51]
STONEBRAKER, M. 1992. The integration of rule systems and database systems. IEEE Trans. Knowl. Data Eng. 4, 5, 415-423.
[52]
STONEBRAKER, M., JUINGRAN, A., GOH, J., AND POTAMIANOS, S. 1990. On rules, procedures, caching and views in database systems. In Proceedings of the ACM SIGMOD International Conference on Management of Data (Atlantic City, NJ), H. Garcia Molina, and H. V. Jagadish, E&'~., 281-290.
[53]
SYBASE 1994. Sybase SQL Server: Transact-SQL User's Guide, Release 10.0.
[54]
TANcA, L. 1991. (Re~)action in deductive database. In Proceedings of the Second International Workshop on Intelligent and Cooperatwe Information Systems (Como, Italy), 55-61.
[55]
URBAN, S. D., KA~_VIMCE, A. P., AND NANNAPANENI, R. B. 1992. The implementation and evaluation of integrity maintenance rules in an object-oriented database. In Proceedings of the Eighth International Conference on Data Engineering (Tempe, AZ), IEEE Computer Society Press, 565 572.
[56]
WIDOM, J. 1992. A denotational semantics for the Starburst production rule language. SIG- MOD Record 21, 3, 4-9.
[57]
WIDOM, J. AND CERI, S. 1995. Active Database Systems. Morgan-Kaufmann, San Mateo, CA.
[58]
WmOM, J., COCHRANE, R. J., AND LINDSAY, B.G. 1991. Implementing set-oriented production rules as an extension to Starburst. In Proceedings of the Seventeenth International Conference on Very Large Data Bases (Barcelona), G. M. Lohman, A. Sernadas, and R. Camps, Eds., 275-285.
[59]
WIDOM, J. AND FIN~LSTE~N, S.J. 1990. Set-oriented production rule in relational database systems. In Proceedings of ACM SIGMOD International Conference on Management of Data (Atlantic City, NJ), H. Garcia Molina, and H. V. Jagadish, Eds., 259-270.
[60]
YOA~Nmm, Y., AND SELUS, T.K. 1989. Conflict resolution of rules assigning values to virtual attributes. In Proceedings of the ACM SIGMOD International Conference on Management of Data (Portland, OR, May 31-June 2), 205-214.
[61]
ZANIOLO, C. 1993. A unified semantics for active and deductive databases. In Proceedings of the First Workshop on Rules in Database Systems (WICS, Edinburgh, Scotland), N. W. Paton and M. H. Williams, Eds., Springer-Verlag, Berlin, 271-288.
[62]
ZANIOLO, C. AND SADRI, R. 1994. A simple model for active rules and their behaviour in deductive databases. In Workshop on Deductive Database and Logic Programming (ICLP '94) (Santa Margherita Ligure, Italy), 13-26.

Cited By

View all

Recommendations

Reviews

Julia E. Hodges

This paper is intended for database specialists, particularly those interested in the application of artificial intelligence technology to database systems. An active database system can react to certain events, such as database operations or events external to the database. The reaction is in the form of the firing of appropriate rules. Fraternali and Tanca begin by demonstrating that it is possible that “rules with a similar form show different behaviors.” They illustrate this with a number of examples from various active database systems. They argue that the root of the problem is that there is no common theory defining the semantics. They then propose a semantic model for active database systems in which the semantics of the rules are clearly and unambiguously defined. Fraternali and Tanca do an excellent job of summarizing the problems as well as characterizing the approaches taken by existing systems. The model that they propose addresses the semantics of an active database system along several dimensions, such as the granularity of the rules (tuple-oriented versus set-oriented) and the rules' coupling modes (the synchronization of the event that triggers a rule, the condition that must be true for the rule to be activated, and the action portion of the rule). They also discuss additional aspects of active database systems that they intend to incorporate into their model in the future. This paper is a must-read for database specialists who have an interest in active database systems.

Access critical reviews of Computing literature here

Become a reviewer for Computing Reviews.

Comments

Please enable JavaScript to view thecomments powered by Disqus.

Information & Contributors

Information

Published In

cover image ACM Transactions on Database Systems
ACM Transactions on Database Systems  Volume 20, Issue 4
Dec. 1995
152 pages
ISSN:0362-5915
EISSN:1557-4644
DOI:10.1145/219035
  • Editor:
  • Won Kim
Issue’s Table of Contents

Publisher

Association for Computing Machinery

New York, NY, United States

Publication History

Published: 01 December 1995
Published in TODS Volume 20, Issue 4

Permissions

Request permissions for this article.

Check for updates

Author Tags

  1. active database systems
  2. database rule processing
  3. events
  4. fixpoint semantics
  5. rules
  6. semantics

Qualifiers

  • Article

Contributors

Other Metrics

Bibliometrics & Citations

Bibliometrics

Article Metrics

  • Downloads (Last 12 months)95
  • Downloads (Last 6 weeks)10
Reflects downloads up to 13 Feb 2025

Other Metrics

Citations

Cited By

View all
  • (2015)EVAInformation Systems10.1016/j.is.2014.07.00348:C(1-25)Online publication date: 1-Mar-2015
  • (2013)Fuzzy colored time Petri net and termination analysis for fuzzy Event-Condition-Action rulesInformation Sciences: an International Journal10.1016/j.ins.2012.12.030232(225-240)Online publication date: 1-May-2013
  • (2009)A Case for Meta-Triggers in Wireless Sensor NetworksProceedings of the 2009 Eighth IEEE International Symposium on Network Computing and Applications10.1109/NCA.2009.53(171-178)Online publication date: 9-Jul-2009
  • (2009)Specifying active databases as non-Markovian theories of actionsJournal of Intelligent Information Systems10.1007/s10844-007-0050-332:2(105-138)Online publication date: 1-Apr-2009
  • (2009)Integrating Logic Programming and Production Systems in Abductive Logic Programming AgentsProceedings of the 3rd International Conference on Web Reasoning and Rule Systems10.1007/978-3-642-05082-4_1(1-23)Online publication date: 14-Oct-2009
  • (2008)Efficient Maintenance of Continuous Queries for TrajectoriesGeoinformatica10.1007/s10707-007-0029-912:3(255-288)Online publication date: 1-Sep-2008
  • (2007)Adaptive and context-aware reconciliation of reactive and pro-active behavior in evolving systemsActive conceptual modeling of learning10.5555/1793834.1793839(30-46)Online publication date: 1-Jan-2007
  • (2007)Adaptive and Context-Aware Reconciliation of Reactive and Pro-active Behavior in Evolving SystemsActive Conceptual Modeling of Learning10.1007/978-3-540-77503-4_4(30-46)Online publication date: 2007
  • (2006)On active deductive databases: The statelog approachTransactions and Change in Logic Databases10.1007/BFb0055496(69-106)Online publication date: 28-May-2006
  • (2006)Evolving triggers for dynamic environmentsProceedings of the 10th international conference on Advances in Database Technology10.1007/11687238_60(1039-1048)Online publication date: 26-Mar-2006
  • Show More Cited By

View Options

View options

PDF

View or Download as a PDF file.

PDF

eReader

View online with eReader.

eReader

Login options

Full Access

Figures

Tables

Media

Share

Share

Share this Publication link

Share on social media