- 专利标题: Dynamic selection of query execution operators
-
申请号: US15650658申请日: 2017-07-14
-
公开(公告)号: US10521430B1公开(公告)日: 2019-12-31
- 发明人: Michael Schreier , Thomas Neumann , Viktor Leis , Alfons Kemper , Tobias Muehlbauer , Jan Finis
- 申请人: Tableau Software, Inc.
- 申请人地址: US WA Seattle
- 专利权人: Tableau Software, Inc.
- 当前专利权人: Tableau Software, Inc.
- 当前专利权人地址: US WA Seattle
- 代理机构: Morgan, Lewis & Bockius LLP
- 主分类号: G06F17/30
- IPC分类号: G06F17/30 ; G06F16/2455 ; G06F16/2453 ; G06F16/22
摘要:
A method dynamically selects query execution operators for a database engine. The database engine receives a query and parses the query to form a query execution tree. The engine creates a first executable plan that includes in-memory operators, which execute within the volatile memory. While executing a first in-memory operator, the engine detects insufficient memory to complete the execution and aborts the execution. The engine then recompiles the query execution tree to form a second executable plan, which includes spooling operators. Each spooling operator executes within a fixed volatile memory budget. The engine executes the second executable plan, including the plurality of spooling operators, to identify a set of results from the database that is responsive to the query, and returns the results.
信息查询