- 专利标题: OUTER JOIN OPTIMIZATIONS IN DATABASE MANAGEMENT SYSTEMS
-
申请号: US14814544申请日: 2015-07-31
-
公开(公告)号: US20170031989A1公开(公告)日: 2017-02-02
- 发明人: Pedro M. Barbas , Peter J. Duffy , Lei Pan , David M. Tilson
- 申请人: International Business Machines Corporation
- 主分类号: G06F17/30
- IPC分类号: G06F17/30
摘要:
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.
公开/授权文献
- US10127277B2 Outer join optimizations in database management systems 公开/授权日:2018-11-13
信息查询