System and method for adaptive vector size selection for vectorized query execution
Abstract
System and method embodiments are provided for adaptive vector size selection for vectorized query execution. The adaptive vector size selection is implemented in two stages. In a query planning stage, a suitable vector size is estimated for a query by a query planner. The planning stage includes analyzing a query plan tree, segmenting the tree into different segments, and assigning to the query execution plan an initial vector size to each segment. In a subsequent query execution stage, an execution engine monitors hardware performance indicators, and adjusts the vector size according to the monitored hardware performance indicators. Adjusting the vector size includes trying different vector sizes and observing related processor counters to increase or decrease the vector size, wherein the vector size is increased to improve hardware performance according to the processor counters, and wherein the vector size is decreased when the processor counters indicate a decrease in hardware performance.
Interactive Citation Constellation Global Citation Ranking
Interactive SVG Citation Constellation renders in Rust/WebAssembly. Prior art cited: 14 · Forward citations: 0.
Claims (2 — 1 Independent, 1 Dependent)
- Claim 1Independent Claim
A method for adaptive vector size selection for vectorized query execution, the method comprising: during a query planning time, at a query planner module, generating a query plan tree; splitting the query plan tree into a plurality of segments; calculating an initial vector size for each of the plurality of segments; assigning a vector size to each of the plurality of segments, wherein assigning the vector size to each of the plurality of segments comprises assigning the initial vector size to each of the plurality of segments; during a query execution time for the query plan tree, at a query
- Claim 2Depends on #1
The method of claim 1 , further comprising: calculating an initial vector size f
Technical Overview & Description
Full multi-page specification text is archived at the issuing office. Read complete official specification ↗
Cited By — Indexed Forward Citations (0 of 0 total)
No indexed citing patents in this generation yet. Ingest USPTO/PatentsView bulk citation tables via patents-ingest to expand the local forward citation graph.
References Cited — Backward Prior Art (14)
Non-Patent Literature (4)
- Boncz et al., "MonetDB/x100: Hyper-Pipeling Execution," CWI Kruislaan 413, Amsterdan, The Netherlands, Proceedings of the 2005 CIDR Conference, (no month, 2005), pp. 225-237.
- International Search Report received in PCT/CN2014/073286, mailed Jun. 18, 2014, 11 pages.
- Juliusz Sompolski et al.-" Vectorization vs. Compilation in Query Execution"-Published in: Proceeding DaMoN '11 Proceedings of the Seventh International Workshop on Data Management on New Hardware-Jun. 13, 2011, Athens, Greece.-pp. 33-40.
- Marcin Zukowski Niels Nes Peter Boncz-"DSM vs. NSM: CPU Performance Tradeoffs in Block-Oriented Query Processing"-Published in: Proceeding DaMoN '08 Proceedings of the 4th international workshop on Data management on new hardware-Jun. 13, 2008, Vancouver, Canada-pp. 47-54.