Invention Grant
- Patent Title: Dimension context propagation techniques for optimizing SQL query plans
-
Application No.: US16248061Application Date: 2019-01-15
-
Publication No.: US11036735B2Publication Date: 2021-06-15
- Inventor: Harish Butani
- Applicant: Oracle International Corporation
- Applicant Address: US CA Redwood Shores
- Assignee: Oracle International Corporation
- Current Assignee: Oracle International Corporation
- Current Assignee Address: US CA Redwood Shores
- Agency: Kilpatrick Townsend & Stockton LLP
- Main IPC: G06F16/2453
- IPC: G06F16/2453 ; G06F16/2455 ; G06F16/28 ; G06F16/248

Abstract:
Techniques for efficient execution of queries. A query plan generated for the query is optimized and rewritten as an enhanced query plan, which when executed, uses fewer CPU cycles and thus executes faster than the original query plan. The query for which the enhanced query plan is generated thus executes faster without compromising the results obtained or the data being queried. Optimization includes identifying a set of one or more fact scan operations in the original query plan and then, in the rewritten enhanced query plan, associating one or more dimension context predicate conditions with one or more of the set of fact scan operations. This reduces the overall cost of scanning and/or processing fact records in the enhanced query plan compared to the original query plan and makes the enhanced query plan execute faster than the original query plan.
Public/Granted literature
- US20190220464A1 DIMENSION CONTEXT PROPAGATION TECHNIQUES FOR OPTIMIZING SQL QUERY PLANS Public/Granted day:2019-07-18
Information query