2002 · 93 citations · 19 references
ComputingComputer ScienceInformation SystemsData ManagementDatabasesFormal MethodsDatabase ManagementQuery ProcessingRelational AlgebraRelational Data ModelRelational DatabasesStructured Query LanguageAbstract SemanticsData Stream Management SystemsData Stream ModelData Stream ProcessingQuery Language DesignRelational Query LanguagesSql Query LanguagesStreaming Databases
Despite the recent surge of research in query processing over data streams, little attention has been devoted to defining precise semantics for continuous semantics based on several building blocks: formal definitions for streams and relations, mappings among them, and any relational query language. From these basics we define a precise interpretation for continuous queries over streams and relations. We then propose a concrete language, CQL (for Continuous Query Language), which instantiates the abstract semantics using SQL as the relational query language and window specifications derived from SQL-99 to map from streams to relations. We identify some equivalences that can be used to rewrite CQL queries for optimization, and we discuss some additional implementation issues arising from the language and its semantics. We have implemented a substantial fraction of CQL in a Data Stream Management System at Stanford, and we have developed a public repository of data stream applications that includes a wide variety of queries expressed in CQL. 1
19
Models and issues in data stream systems
Brian Babcock, Shivnath Babu, Mayur Datar et al. · 2002 · 2.5K citations
Random sampling with a reservoir
Jeffrey Scott Vitter · ACM Transactions on Mathematical Software · 1985 · 1.8K citations · Full text
Jianjun Chen, David J. DeWitt, Feng Tian et al. · ACM SIGMOD Record · 2000 · 1K citations
Continuous queries over data streams
Shivnath Babu, Jennifer Widom · ACM SIGMOD Record · 2001 · 724 citations