Skip to main content

ECA Rules

  • Living reference work entry
  • First Online:
Encyclopedia of Database Systems

Synonyms

Event-condition-action rules; Reactive rules; Triggers

Definition

An ECA rule has three parts: an event, a condition, and an action. The semantics of an ECA rule are when the event has been detected, evaluate the condition, and if the condition is satisfied, execute the action.

Historical Background

ECA rules are used within active databases for supporting reactive behavior and were first proposed in the HiPAC project [2].

Foundations

The semantics of an ECA rule is straightforward: when an event is detected, evaluate the condition, and if the condition is true, then execute the action. There are a number of reasons why the reactive behavior is abstracted to three different parts [1]:

First of all, events, conditions, and actions have different roles. An event specifies when to trigger a rule, a condition specifies what to check, and an action specifies what to execute in response to the event. Thus, the semantics of an ECA rule is clean and avoids ad hoc mixing of events,...

This is a preview of subscription content, log in via an institution to check access.

Access this chapter

Institutional subscriptions

Recommended Reading

  1. Dayal U. Ten years of activity in active database systems: what have we accomplished? In: Proceedings of the first international workshop on active and real-time database systems; 1995. p. 3–22.

    Google Scholar 

  2. Dayal U, Blaustein B, Buchmann A, et al. S.C. HiPAC: a research project in active, time-constrained database management. Technical report. CCA-88-02. Cambridge, MA: Xerox Advanced Information Technology; 1988.

    Google Scholar 

Download references

Author information

Authors and Affiliations

Authors

Corresponding author

Correspondence to Mikael Berndtsson .

Editor information

Editors and Affiliations

Section Editor information

Rights and permissions

Reprints and permissions

Copyright information

© 2017 Springer Science+Business Media LLC

About this entry

Cite this entry

Berndtsson, M., Mellin, J. (2017). ECA Rules. In: Liu, L., Özsu, M. (eds) Encyclopedia of Database Systems. Springer, New York, NY. https://doi.org/10.1007/978-1-4899-7993-3_504-2

Download citation

  • DOI: https://doi.org/10.1007/978-1-4899-7993-3_504-2

  • Received:

  • Accepted:

  • Published:

  • Publisher Name: Springer, New York, NY

  • Print ISBN: 978-1-4899-7993-3

  • Online ISBN: 978-1-4899-7993-3

  • eBook Packages: Springer Reference Computer SciencesReference Module Computer Science and Engineering

Publish with us

Policies and ethics