Skip to main content
Journal cover image

The CQL continuous query language: Semantic foundations and query execution

Publication ,  Journal Article
Arasu, A; Babu, S; Widom, J
Published in: VLDB Journal
June 1, 2006

CQL, a continuous query language, is supported by the STREAM prototype data stream management system (DSMS) at Stanford. CQL is an expressive SQL-based declarative language for registering continuous queries against streams and stored relations. We begin by presenting an abstract semantics that relies only on "black-box" mappings among streams and relations. From these mappings we define a precise and general interpretation for continuous queries. CQL is an instantiation of our abstract semantics using SQL to map from relations to relations, window specifications derived from SQL-99 to map from streams to relations, and three new operators to map from relations to streams. Most of the CQL language is operational in the STREAM system. We present the structure of CQL's query execution plans as well as details of the most important components: operators, interoperator queues, synopses, and sharing of components among multiple operators and queries. Examples throughout the paper are drawn from the Linear Road benchmark recently proposed for DSMSs. We also curate a public repository of data stream applications that includes a wide variety of queries expressed in CQL. The relative ease of capturing these applications in CQL is one indicator that the language contains an appropriate set of constructs for data stream processing.

Duke Scholars

Altmetric Attention Stats
Dimensions Citation Stats

Published In

VLDB Journal

DOI

ISSN

1066-8888

Publication Date

June 1, 2006

Volume

15

Issue

2

Start / End Page

121 / 142

Related Subject Headings

  • Information Systems
  • 4605 Data management and data science
  • 0806 Information Systems
  • 0805 Distributed Computing
  • 0804 Data Format
 

Citation

APA
Chicago
ICMJE
MLA
NLM
Arasu, A., Babu, S., & Widom, J. (2006). The CQL continuous query language: Semantic foundations and query execution. VLDB Journal, 15(2), 121–142. https://doi.org/10.1007/s00778-004-0147-z
Arasu, A., S. Babu, and J. Widom. “The CQL continuous query language: Semantic foundations and query execution.” VLDB Journal 15, no. 2 (June 1, 2006): 121–42. https://doi.org/10.1007/s00778-004-0147-z.
Arasu A, Babu S, Widom J. The CQL continuous query language: Semantic foundations and query execution. VLDB Journal. 2006 Jun 1;15(2):121–42.
Arasu, A., et al. “The CQL continuous query language: Semantic foundations and query execution.” VLDB Journal, vol. 15, no. 2, June 2006, pp. 121–42. Scopus, doi:10.1007/s00778-004-0147-z.
Arasu A, Babu S, Widom J. The CQL continuous query language: Semantic foundations and query execution. VLDB Journal. 2006 Jun 1;15(2):121–142.
Journal cover image

Published In

VLDB Journal

DOI

ISSN

1066-8888

Publication Date

June 1, 2006

Volume

15

Issue

2

Start / End Page

121 / 142

Related Subject Headings

  • Information Systems
  • 4605 Data management and data science
  • 0806 Information Systems
  • 0805 Distributed Computing
  • 0804 Data Format