Invention Grant
- Patent Title: Generation of query execution plans
-
Application No.: US15335724Application Date: 2016-10-27
-
Publication No.: US10585890B2Publication Date: 2020-03-10
- Inventor: Shuo Li , Ke Wei Wei , Xin Ying Yang , Chen Xin Yu
- 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 Erik K. Johnson
- Main IPC: G06F16/2453
- IPC: G06F16/2453 ; G06F16/14

Abstract:
Aspects of the present disclosure relate to an approach for generating query execution plans for a database query. A computer-implemented method comprises determining whether a size of a file to be generated during execution of a database query is variable in response to obtaining the database query. The method further comprises determining a plurality of ranges for the size of the file in response to determining that the size of the file is variable. The method further comprises generating a plurality of query execution plans corresponding to the plurality of ranges. Accordingly, a plurality of query execution plans corresponding to different file sizes can be generated for the database query, and an efficient and cost effective query execution plan may be selected based on the actual file size during the execution of the database query.
Public/Granted literature
- US20180121507A1 GENERATION OF QUERY EXECUTION PLANS Public/Granted day:2018-05-03
Information query