Patents
US 6,691,101 B2#146208 Most CitedExpiredUnited States (USPTO)Utility

Database system providing optimization of group by operator over a union all

126Forward Citations (#146208 Global)
5.7/yrCitation Velocity (#200065 Global)
12.68Citation PageRank (#715632 Global)
5Prior Art Cited
2Claims (1 Indep. · 1 Dep.)
0Drawings / Sheets

Abstract

A database system providing improved methods for optimization and execution of queries aggregating information from multiple database tables is described. The improved method breaks serial operations into a group of child operations that can be individually optimized and processed in parallel. A query including a grouping operator over a union node is split by pushing the grouping operation down into each input arm of the union node. Specifically, grouping operators are inserted into each child arm of qualifying union nodes, enabling separate physical database tables to be summarized in parallel. Each of the child grouping operators concurrently groups data and generates summary results in parallel, taking advantage of capabilities of available parallel processing hardware. The aggregate operators of the original master grouping operator are modified to accept and correctly synthesize sub-aggregated results generated by each of the child grouping operators. The method also enables individual optimization of operations on each database table, including use of advantageous index-only execution plans.

Interactive Citation Constellation Global Citation Ranking

Interactive SVG Citation Constellation renders in Rust/WebAssembly. Prior art cited: 5 · Forward citations: 126.

Claims (2 — 1 Independent, 1 Dependent)

  1. Claim 1Independent Claim

    In a database system having a plurality of separate database tables, an improved method for query processing, the method comprising: receiving a query requesting grouping of data from a plurality of separate database tables; parsing said query to generate a query tree; for each union node of said query tree, determining whether it is advantageous to transform said union node; and for each said union node for which transformation is determined to be advantageous, transforming said union node by inserting grouping operators as children of said union node, said grouping operators enabling paralle

  2. Claim 2Depends on #1

    The method of claim 1 , wherein said query requesting grouping of data includes a query using a Structured Query Language (SQL) GroupBy operat

Technical Overview & Description

Full multi-page specification text is archived at the issuing office. Read complete official specification ↗