Invention Grant
- Patent Title: Dynamic query optimization with pilot runs
-
Application No.: US14301627Application Date: 2014-06-11
-
Publication No.: US09836506B2Publication Date: 2017-12-05
- Inventor: Andrey Balmin , Vuk Ercegovac , Jesse E. Jackson , Konstantinos Karanasos , Marcel Kutsch , Fatma Ozcan , Chunyang Xia
- 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
- Agency: Cantor Colburn LLP
- Agent Bryan W Butler
- Main IPC: G06F17/30
- IPC: G06F17/30

Abstract:
In one embodiment, a computer-implemented method includes selecting one or more sub-expressions of a query during compile time. One or more pilot runs are performed by one or more computer processors. The one or more pilot runs include a pilot run associated with each of one or more of the selected sub-expressions, and each pilot run includes at least partial execution of the associated selected sub-expression. The pilot runs are performed during execution time. Statistics are collected on the one or more pilot runs during performance of the one or more pilot runs. The query is optimized based at least in part on the statistics collected during the one or more pilot runs, where the optimization includes basing cardinality and cost estimates on the statistics collected during the pilot runs.
Public/Granted literature
- US20150363466A1 DYNAMIC QUERY OPTIMIZATION WITH PILOT RUNS Public/Granted day:2015-12-17
Information query