Optimizer statistics and cost model for in-memory tables
Abstract
Techniques are provided for determining costs for alternative execution plans for a query, where at least a portion of the data items required by the query are in in-memory compression-units within volatile memory. The techniques involve maintaining in-memory statistics, such as statistics that indicate what fraction of a table is currently present in in-memory compression units, and the cost of decompressing in-memory compression units. Those statistics are used to determine, for example, the cost of a table scan that retrieves some or all of the necessary data items from the in-memory compression-units.
Interactive Citation Constellation Global Citation Ranking
Interactive SVG Citation Constellation renders in Rust/WebAssembly. Prior art cited: 50 · Forward citations: 7.
Claims (1 — 1 Independent, 0 Dependent)
- Claim 1Independent Claim
A method comprising: receiving, at a database server, a query that requires performance of particular operations; wherein the particular operations include operations that access a particular set of data items; wherein copies of the data items of the particular set of data items reside in a particular row-major table on persistent storage; wherein additional copies of at least a subset of the particular set of data items reside, in volatile memory, in one or more column-major in-memory compression-units; evaluating a plurality of alternative execution plans for performance of the particular op
Technical Overview & Description
Full multi-page specification text is archived at the issuing office. Read complete official specification ↗
Cited By — Indexed Forward Citations (7 of 7 total)
References Cited — Backward Prior Art (50)
Non-Patent Literature (5)
- "Column Store features" monetdb, available: http://www.moneydb.org/Home/Features, 2008-2013, 3 pages.
- "MonetDB", Wikipedia, available: http://en.wikipedia.org/wiki/MonetDB, May 16, 2012, 3 pages.
- Brewer et al., "Remote Queues: Exposing Message Queues for Optimization and Atomicity", dated 1995 ACM, 12 pages.
- CCCP: Accelerator Virtualization, http://cccp.eecs.umich.edu/research/virtual.php, printed on Jul. 4, 2012, 3 pages.
- Claims from PCT Application No. PCT/US2012/068526, dated Mar. 2013, 3 pages.