Invention Grant
- Patent Title: Optimization of JOIN queries for related data
- Patent Title (中): 优化相关数据的JOIN查询
-
Application No.: US13779811Application Date: 2013-02-28
-
Publication No.: US09275103B2Publication Date: 2016-03-01
- Inventor: Venkata Satya Gopal Chikkam , Chandrashekhar K. Jain , Vikas Pandey
- 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 Daniel R. Simek
- Main IPC: G06F17/30
- IPC: G06F17/30

Abstract:
Embodiments of the present invention disclose a method, computer program product, and system for optimizing execution of a query that includes a JOIN against a system utilizing data relationship concepts. A computer determines whether one or more data structures in JOIN include a parent/child relationship. The one or more data structures can be one or more tables. Responsive to determining that the one or more data structures in JOIN include a parent/child relationship, the computer determines whether the query that includes the JOIN includes a filter applied on one or more data structures in the JOIN with an OR condition between filters. Responsive to determining that the query that includes the JOIN does not include the filter applied on one or more data structures in JOIN with an OR condition between filters, the computer modifies the query that includes the JOIN into a query utilizing relationship constructs.
Public/Granted literature
- US20140244681A1 OPTIMIZATION OF JOIN QUERIES FOR RELATED DATA Public/Granted day:2014-08-28
Information query