Exploiting punctuation semantics in continuous data streams
Peter A. Tucker, David Maier, Tim Sheard et al. · IEEE Transactions on Knowledge and Data Engineering · 2003
As most current query processing architectures are already pipelined, it seems logical to apply them to data streams. However, two classes of query operators are impractical for processing long or infinite data streams. Unbounded stateful operators maintain state with no upper bound in size and, so, run out of memory. Blocking operators read an entire input before emitting a single output and, so, might never produce a result. We believe that a priori knowledge of a data stream can permit the use of such operators in some cases. We discuss a kind of stream semantics called punctuated streams. Punctuations in a stream mark the end of substreams allowing us to view an infinite stream as a mixture of finite streams. We introduce three kinds of invariants to specify the proper behavior of operators in the presence of punctuation. Pass invariants define when results can be passed on. Keep invariants define what must be kept in local state to continue successful operation. Propagation invariants define when punctuation can be passed on. We report on our initial implementation and show a strategy for proving implementations of these invariants are faithful to their relational counterparts.
Cited by 308 works. doi:10.1109/tkde.2003.1198390
Authors
References
- Query evaluation techniques for large databases
- Online aggregation
- Monitoring Streams — A New Class of Data Management Applications
- Eddies
- Fjording the stream: an architecture for queries over streaming sensor data
- Continuously adaptive continuous queries over streams
- Continuous queries over data streams
- Hancock
- Dataflow query execution in a parallel main-memory environment
- Surfing Wavelets on Streams: One-Pass Summaries for Approximate Aggregate Queries