- 专利标题: Dynamic query optimization with pilot runs
-
申请号: US14301627申请日: 2014-06-11
-
公开(公告)号: US09836506B2公开(公告)日: 2017-12-05
- 发明人: Andrey Balmin , Vuk Ercegovac , Jesse E. Jackson , Konstantinos Karanasos , Marcel Kutsch , Fatma Ozcan , Chunyang Xia
- 申请人: International Business Machines Corporation
- 申请人地址: US NY Armonk
- 专利权人: INTERNATIONAL BUSINESS MACHINES CORPORATION
- 当前专利权人: INTERNATIONAL BUSINESS MACHINES CORPORATION
- 当前专利权人地址: US NY Armonk
- 代理机构: Cantor Colburn LLP
- 代理商 Bryan W Butler
- 主分类号: G06F17/30
- IPC分类号: G06F17/30
摘要:
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.
公开/授权文献
- US20150363466A1 DYNAMIC QUERY OPTIMIZATION WITH PILOT RUNS 公开/授权日:2015-12-17
信息查询