JOIN-BASED CONTAINMENT FOR SET OPERATION-BASED SUBQUERY REMOVAL

Patent №

US 11,714,810

Granted

2023-08-01

Filed 2021

Owner

ORACLE INTERNATIONAL CORPORATION

Lab

AI components

2

kr · hardware

Assignment

Recorded

Dataset

AIPD

2023_r1 edition

Application

17213034

Techniques are described herein for subquery removal given two set operation-based subqueries in a query, where one subquery contains the result of the other. The described optimization technique of subquery removal is enabled by join and set operation-based containment of the set operation-based subqueries where semantic equivalence can be established for a given pair of set operation-based subqueries when some table(s)—with associated join condition(s), correlation condition(s), and/or filter predicate(s)—in one subquery are not considered. Subquery removal reduces multiple access to the same table and multiple evaluations of the same join conditions required to evaluate the query. When a subquery is removed from a disjunction, this may lead to other optimizations such as subquery unnesting, e.g., when the original query configuration would not permit query unnesting and the rewritten query (with one or more removed subqueries) permits unnesting.

Knowledge representationAI hardwareG06F 16/24535G06F 16/24544G06F 16/24537

AI classification

Knowledge representation0.98
AI hardware0.88
Planning0.01
Natural language0.00
Evolutionary computation0.00
Vision0.00
Speech0.00
Machine learning0.00

Ownership

ORACLE INTERNATIONAL CORPORATION

assignment · 557390201

Assignors

AHMED, RAFI, BELLAMKONDA, SRIKANTH

On an employer assignment, the assignors are typically the inventors.

© 2026 NYSGPT2525 LLC