Invention Grant
- Patent Title: Outer join optimizations in database management systems
-
Application No.: US15177392Application Date: 2016-06-09
-
Publication No.: US10198472B2Publication Date: 2019-02-05
- Inventor: Pedro M. Barbas , Peter J. Duffy , Lei Pan , David M. Tilson
- Applicant: International Business Machines Corporation
- Applicant Address: US NY Armonk
- Assignee: International Business Machines Corporation
- Current Assignee: International Business Machines Corporation
- Current Assignee Address: US NY Armonk
- Agent Steven L. Fisher-Stawinski; Aaron N. Pontikos
- Main IPC: G06F17/30
- IPC: G06F17/30

Abstract:
In one embodiment, a method of processing a structured query language (SQL) statement is provided, comprising: determining whether a first query and a second query are equivalent, the first and second queries being respectively the left side and the right side operands of the OUTER JOIN operation; determining whether a SELECT output of the SQL statement does not refer to database columns from the left side of the OUTER JOIN operation which are not also partitioning columns of the OUTER JOIN operation; and responsive to determining that the first query and the second query are equivalent and that the SELECT output of the SQL statement does not refer to database columns from the left side of the OUTER JOIN operation which are not also partitioning columns of the OUTER JOIN operation, transforming the SQL statement into an optimized query SQL statement by removing the OUTER JOIN operation.
Public/Granted literature
- US20170031984A1 OUTER JOIN OPTIMIZATIONS IN DATABASE MANAGEMENT SYSTEMS Public/Granted day:2017-02-02
Information query