Patents
US 9,535,952 B2#79981694 Most CitedActiveUnited States (USPTO)Utility

Dynamic selection of optimal grouping sequence at runtime for grouping sets, rollup and cube operations in SQL query processing

0Forward Citations (#79981694 Global)
0.0/yrCitation Velocity (#79981694 Global)
0.56Citation PageRank (#79981694 Global)
13Prior Art Cited
1Claims (1 Indep. · 0 Dep.)
0Drawings / Sheets

Abstract

A method, apparatus, and article of manufacture for optimizing a query in a computer system. Grouping operations are optimized during execution of the query in the computer system by: (1) translating the grouping operations into a plurality of levels, wherein each of the levels is comprised of one or more grouping sets with the same number of grouping expressions; (2) deriving the grouping sets on a level-by-level basis, wherein the grouping sets in a base level are obtained from the database and the grouping sets in a next one of the levels are derived by selecting as an input a smallest one of the grouping sets in a previous one of the levels with which it has a derivation relationship; and (3) combining the derived grouping sets into an output for the query.

Interactive Citation Constellation Global Citation Ranking

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

Claims (1 — 1 Independent, 0 Dependent)

  1. Claim 1Independent Claim

    A method of performing a query in a computer system, the query being performed to retrieve data from a database stored on the computer system, the method comprising: (a) optimizing grouping operations during execution of the query in the computer system by: (1) constructing a Super Group Block when a GROUPBY operation with one or more super group operations is encountered in the query, wherein the super group operations comprise GROUPING SETS, ROLLUP and CUBE operations; (2) translating the GROUPBY operation with the super group operations into grouping sets arranged in a plurality of levels u

Technical Overview & Description

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

Cited By — Indexed Forward Citations (0 of 0 total)

No indexed citing patents in this generation yet. Ingest USPTO/PatentsView bulk citation tables via patents-ingest to expand the local forward citation graph.

Non-Patent Literature (1)

  • Cheng, et al. "Implementation of Two Semantic Query Optimization Techniques in DB2 Universal Database", 1999, Morgan Kaufmann Publishers, Inc., Proceedings of the 25th International Conference on Very Large Data Bases, pp. 687-698.