Patents
US 8,832,073 B2#36345581 Most CitedActiveUnited States (USPTO)Utility

Method and apparatus for efficient aggregate computation over data streams

2Forward Citations (#36345581 Global)
0.2/yrCitation Velocity (#36374407 Global)
1.18Citation PageRank (#33061621 Global)
32Prior Art Cited
1Claims (1 Indep. · 0 Dep.)
0Drawings / Sheets

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)

  1. 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)

References Cited — Backward Prior Art (32)

PatentTitleYearCitations
WO 9,216,906 A1Computerised information-retrieval database systems—5
US 5,412,804 AExtending the semantics of the outer join operator for un-nesting queries to a data base1995256
EP 0,689,148 A1Query optimization by predicate move-around—12
US 5,548,755 ASystem for optimizing correlated SQL queries in a relational database using magic decorrelation1996153
US 5,659,725 AQuery optimization by predicate move-around1997220
EP 0,791,882 A1Method and apparatus for optimizing database queries involving aggregation predicates—3
US 5,742,806 AApparatus and method for decomposing database queries for database management system including multiprocessor digital data processing system1998296
US 5,812,996 ADatabase system with methods for optimizing query performance with a buffer manager1998172
US 5,822,750 AOptimization of correlated SQL queries in a relational database management system1998277
US 5,832,475 ADatabase system and method employing data cube operator for group-by operations1998184
JP H113354 AData cube control system—7
US 6,088,524 AMethod and apparatus for optimizing database queries involving aggregation predicates2000122
US 6,092,062 ARelational database query optimization to perform query evaluation plan, pruning based on the partition properties2000295
US 6,112,198 AOptimization of data repartitioning during parallel query optimization2000332
US 6,275,818 B1Cost based optimization of decision support queries using transient views2001219
US 6,338,055 B1Real-time query optimization in a decision support system2002121
US 6,345,267 B1Method and system for look ahead query evaluation planning based on interesting partition properties200279
US 6,529,896 B1Method of optimizing a query having an existi subquery and a not-exists subquery200391
EP 1,298,543 A2Providing a join plan using group-by operator—4
US 2003120682 A1Database query optimization apparatus and method that represents queries as graphs—112
US 6,625,593 B1Parallel query optimization strategies for replicated and partitioned tables2003117
US 2004220923 A1System and methodology for cost-based subquery optimization using a left-deep tree join enumeration algorithm—167
US 6,850,925 B2Query optimization by sub-plan memoization200561
US 2005027701 A1Optimized SQL code generation—54
US 6,915,290 B2Database query optimization apparatus and method that represents queries as graphs200543
US 7,035,843 B1Evaluation of database hierarchical cubes by nesting rollup operators associated with multiple groupings200653
US 7,080,062 B1Optimizing database queries using query execution plans derived from automatic summary table determining cost based queries2006107
US 7,177,855 B2Compile-time optimizations of queries with SQL spreadsheet200750

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.