Encyclopedia of Database Systems

2018 Edition
| Editors: Ling Liu, M. Tamer Özsu

Continuous Query

  • Shivnath Babu
Reference work entry
DOI: https://doi.org/10.1007/978-1-4614-8265-9_85

Synonyms

Standing query

Definition

A continuous query Q is a query that is issued once over a database D, and then logically runs continuously over the data in D until Q is terminated. Q lets users get new results from D without having to issue the same query repeatedly. Continuous queries are best understood in contrast to traditional SQL queries over D that run once to completion over the current data in D.

Key Points

Traditional database systems expect all data to be managed within some form of persistent data sets. For many recent applications, where the data is changing constantly (often exclusively through insertions of new elements), the concept of a continuous data stream is more appropriate than a data set. Several applications generate data streams naturally as opposed to data sets, e.g., financial tickers, performance measurements in network monitoring, and call detail records in telecommunications. Continuous queries are a natural interface for monitoring data streams. In...

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

Recommended Reading

  1. 1.
    Babu S, Widom J. Continuous queries over data streams. ACM SIGMOD Rec. 2001;30(3):109–20.CrossRefGoogle Scholar
  2. 2.
    Barbara D. The characterization of continuous queries. Int J Coop Inform Syst. 1999;8(4):295–323.CrossRefGoogle Scholar
  3. 3.
    Terry D, Goldberg D, Nichols D, Oki B. Continuous queries over append-only databases. In: Proceedings of the ACM SIGMOD International Conference on Management of Data; 1992. p. 321–30.CrossRefGoogle Scholar

Copyright information

© Springer Science+Business Media, LLC, part of Springer Nature 2018

Authors and Affiliations

  1. 1.Duke UniversityDurhamUSA

Section editors and affiliations

  • Uĝur Çetintemel
    • 1
  1. 1.Brown UniversityProvidenceUSA