Method and apparatus for efficient aggregate computation over data streams
Abstract
Improved techniques are disclosed for processing data stream queries wherein a data stream is obtained, a set of aggregate queries to be executed on the data stream is obtained, and a query plan for executing the set of aggregate queries on the data stream is generated. In a first method, the generated query plan includes generating at least one intermediate aggregate query, wherein the intermediate aggregate query combines a subset of aggregate queries from the set of aggregate queries so as to pre-aggregate data from the data stream prior to execution of the subset of aggregate queries such that the generated query plan is optimized for computational expense based on a given cost model. In a second method, the generated query plan includes identifying similar filters in two or more aggregate queries of the set of aggregate queries and combining the similar filters into a single filter such that the single filter is usable to pre-filter data input to the two or more aggregate queries.
Interactive Citation Constellation Global Citation Ranking
Interactive SVG Citation Constellation renders in Rust/WebAssembly. Prior art cited: 32 · Forward citations: 2.
Claims (1 — 1 Independent, 0 Dependent)
- Claim 1Independent Claim
A method, comprising: obtaining a data stream; obtaining a set of aggregate queries to be executed on the data stream; and generating a query plan for executing the set of aggregate queries on the data stream, wherein the generated query plan comprises generating at least one intermediate aggregate query, wherein the intermediate aggregate query combines a subset of aggregate queries from the set of aggregate queries so as to pre-aggregate data from the data stream prior to execution of the subset of aggregate queries such that the generated query plan is optimized for computational expense ba
Technical Overview & Description
Full multi-page specification text is archived at the issuing office. Read complete official specification ↗
Cited By — Indexed Forward Citations (2 of 2 total)
| Patent | Title | Year | Citations |
|---|---|---|---|
| US 2017255906 A1 | Candidate selection for job search ranking | — | 16 |
| US 10,732,928 B1 | Data flow windowing and triggering | 2020 | 4 |
References Cited — Backward Prior Art (32)
Non-Patent Literature (5)
- A. Arasu et al., "Resource Sharing in Continuous Sliding-Window Aggregates," Procs. of the 30th VLDB Conference, 2004, pp. 336-347, Canada.
- A. Arasu et al., "STREAM: The Stanford Stream Data Manager," IEEE Data Engineering Bulletin, 2003, pp. 1-8.
- A. Dobra et al., "Sketch-Based Multi-Query Processing Over Data Streams," EDBT, 2004, 18 pages.
- Aris Tsois, Timos Sellis; The generalized pre-grouping transformation: aggregate-query optimization in the presence of dependencies, 2003; Very Large Data Bases, Proceedings of the 29th international conference on Very large data bases-vol. 29, pp. 644-655; retrieved from ACM digital library.
- Bin Cao, Antonio Badia; A nested relational approach to processing SQL subqueries, 2005;International Conference on Management of Data, Proceedings of the 2005 ACM SIGMOD international conference on Management of data , pp. 191-202; retrieved from ACM digital library.