Semantics and evaluation techniques for window aggregates in data streams
The DOI matches its Crossref record; 11 of the 11 references it cites were found in a registry or an index.
Abstract
A windowed query operator breaks a data stream into possibly overlapping subsets of data and computes a result over each. Many stream systems can evaluate window aggregate queries. However, current stream systems suffer from a lack of an explicit definition of window semantics. As a result, their implementations unnecessarily confuse window definition with physical stream properties. This confusion complicates the stream system, and even worse, can hurt performance both in terms of memory usage and execution time. To address this problem, we propose a framework for defining window semantics, which can be used to express almost all types of windows of which we are aware, and which is easily extensible to other types of windows that may occur in the future. Based on this definition, we explore a one-pass query evaluation strategy, the Window-ID (WID) approach, for various types of window aggregate queries. WID significantly reduces both required memory space and execution time for a large class of window definitions. In addition, WID can leverage punctuations to gracefully handle disorder. Our experimental study shows that WID has better execution-time performance than existing window aggregate query evaluation options that retain and reprocess tuples, and has better latency-accuracy tradeoffs for disordered input streams compared to using a fixed delay for handling disorder.
Overview
The claims and statistics of this paper haven’t been checked yet.
Free: it reads the open-access text and checks the first 5 claims that cite a source we can check. Create a free account to check every claim.
Integrity signals
Registry
Cites
Statistics
Verification
Claims the paper makes
The claims and statistics of this paper haven’t been checked yet.
Free: it reads the open-access text and checks the first 5 claims that cite a source we can check. Create a free account to check every claim.
Self-check
Percentages, sums and reported differences re-computed from the paper’s own numbers.
The self-check needs the paper’s full text.
Citations
Cites
Data mining and knowledge discovery: making sense out of data
Feyyad, U. M. (1996) · IEEE Expert · doi:10.1109/64.539013 · Cited by 4,612
Models and issues in data stream systems
Babcock, B., Babu, S., Datar, M., Motwani, R., & Widom, J. (2002) · Proceedings of the twenty-first ACM SIGMOD-SIGACT-SIGART symposium on Principles of database systems · doi:10.1145/543613.543615 · Cited by 2,495 · cited 1×
“Note that for time-based window queries, the PATTR parameter does not bring more expressive power—the effect of a PATTR attribute is the same as using it as a group-by attribute [4].”
MethodData Cube: A Relational Aggregation Operator Generalizing Group-By, Cross-Tab, and Sub-Totals
Gray, J., Chaudhuri, S., Bosworth, A., Layman, A., Reichart, D., Venkatrao, M., Pellow, F., & Pirahesh, H. (1997) · Data Mining and Knowledge Discovery · doi:10.1023/a:1009726021843 · Cited by 2,134 · cited 1×
“In addition, using panes to evaluate holistic aggregates [ 6 ] can reduce execution-time, which plain WID does not.”
MethodAurora: a new model and architecture for data stream management
Abadi, D. J., Carney, D., �etintemel, U., Cherniack, M., Convey, C., Lee, S., Stonebraker, M., Tatbul, N., & Zdonik, S. (2003) · The VLDB Journal The International Journal on Very Large Data Bases · doi:10.1007/s00778-003-0095-z · Cited by 1,495
The CQL continuous query language: semantic foundations and query execution
Arasu, A., Babu, S., & Widom, J. (2006) · The VLDB Journal · doi:10.1007/s00778-004-0147-z · Cited by 1,170
Gigascope: a stream database for network applications
Cranor, C., Johnson, T., Spataschek, O., & Shkapenyuk, V. (2003) · Proceedings of the 2003 ACM SIGMOD international conference on Management of data · doi:10.1145/872757.872838 · Cited by 687 · cited 2×
“to express almost all stream window aggregate queries we have seen [5, 15].”
BackgroundExploiting punctuation semantics in continuous data streams
Tucker, P. A., Maier, D., Sheard, T., & Fegaras, L. (2003) · IEEE Transactions on Knowledge and Data Engineering · doi:10.1109/tkde.2003.1198390 · Cited by 308 · cited 1×
“As a result, the exact content of each window extent tends to be confused with window operator implementation and physical stream properties.”
BackgroundSelf-citationFlexible time management in data stream systems
Srivastava, U., & Widom, J. (2004) · Proceedings of the twenty-third ACM SIGMOD-SIGACT-SIGART symposium on Principles of database systems · doi:10.1145/1055558.1055596 · Cited by 275 · cited 1×
“To evaluate sliding-window aggregate queries where consecutive window extents overlap (i.e., each tuple belongs to multiple window extents), most current proposals keep all active input tuples in an in-memory buffer.”
BackgroundNo pane, no gain: efficient evaluation of sliding-window aggregates over data streams
Li, J., Maier, D., Tufte, K., Papadimos, V., & Tucker, P. A. (2005) · ACM SIGMOD Record · doi:10.1145/1058150.1058158 · Cited by 271 · cited 1×
“One optimization possible with WID we investigated is to preaggregate tuples on panes (sub-windows), and then consider those pane aggregates to get full window aggregates [9].”
MethodSelf-citationThe Niagara Internet Query System.
Naughton, J. F., DeWitt, D. J., Maier, D., Aboulnaga, A., Chen, J., Galanis, L., Kang, J., Krishnamurthy, R., Luo, Q., Prakash, N., et al. (2001) · Cited by 197
Self-citationScheduling for shared window joins over data streams
Hammad, M. A., Aref, W. G., Elmagarmid, A. K., & Franklin, M. J. (2003) · Proceedings 2003 VLDB Conference · doi:10.1016/b978-012722442-8/50034-3 · Cited by 167 · cited 1×
“In addition, query processing—join processing in particular—may introduce disorder [8].”
Cited by
Akidau, T., Bradshaw, R., Chambers, C., Chernyak, S., Fernández-Moctezuma, R. J., Lax, R., McVeety, S., Mills, D., Perry, F., Schmidt, E., et al. (2015) · Proceedings of the VLDB Endowment · doi:10.14778/2824032.2824076 · Cited by 750
“Though captured in various places across the literature (particularly time management [28] and semantic models [9], but also windowing [22], out-of-order processing [23], punctuations [30], heartbeats [21], watermarks [2], frames [31]), the detailed examples in section 2.”
BackgroundMethodInfluentialOut-of-order processing: a new architecture for high-performance stream systems
Li, J., Tufte, K., Shkapenyuk, V., Papadimos, V., Johnson, T., & Maier, D. (2008) · Proceedings of the VLDB Endowment · doi:10.14778/1453856.1453890 · Cited by 177
“We have formally defined how to map a tuple to window-ids in our previous paper [16].”
BackgroundMethodInfluentialSelf-citationStreams and Tables: Two Sides of the Same Coin
Sax, M. J., Wang, G., Weidlich, M., & Freytag, J.-C. (2018) · Proceedings of the International Workshop on Real-Time Business Intelligence and Analytics · doi:10.1145/3242153.3242155 · Cited by 51
An order-aware dataflow model for parallel Unix pipelines
Handa, S., Kallas, K., Vasilakis, N., & Rinard, M. C. (2021) · Proceedings of the ACM on Programming Languages · doi:10.1145/3473570 · Cited by 4
“Semantics and Transformations : Prior work proposes semantics for streaming extensions to relational query languages based on dataflow [Arasu et al. 2006; Li et al. 2005].”
Metadata
- Authors
- Li, J., Maier, D., Tufte, K., Papadimos, V., & Tucker, P. A.
- Venue
- Proceedings of the 2005 ACM SIGMOD international conference on Management of data
- Publisher
- ACM
- Published
- 2005-06-14
- Pages
- 311-322
- ISSN
- 0730-8078 (ISSN-L)
- OpenAlex
- W2165207129
- Cited by
- 248
- References
- 11
- FWCI
- 9.05
- Type
- conference paper
- Language
- en
- Open access
- closed
About these checks
Registry, retraction, Cites and statistics results are computed, not judged, with one exception: a printed reference that no index lists is read once by a model before it counts as a citation error. Claims are extracted by a model and kept only when their quote appears verbatim in the text; each cited source is then checked, with a model’s help, for whether it says what the claim relies on. Those verdicts can be wrong — read the claim’s quote and the cited source before relying on one.
Statistics and arithmetic are recomputed, not judged.
Confidence bands are shown only for fields calibrated on our annotated test set. None is calibrated yet, so no band is shown.
What counts as a claim ›How we measure confidence ›How we check this ›
Are you an author, or do you see a problem with this page? Request a review
Data sources
Bibliographic data: Semantic Scholar, OpenAlex, Crossref.
Contains information from the Semantic Scholar Academic Graph Datasets, made available under the ODC Attribution License (ODC-BY 1.0).
Semantic Scholar’s data is described in: Kinney, R., et al. (2023). The Semantic Scholar Open Data Platform. arXiv:2301.10140.