Method and apparatus for efficient runtime memory access in a database
Abstract
A method and apparatus for efficient runtime memory access in a database is provided. A buffer pool is pre-allocated in cache. Buffers in the buffer pool are sized to accommodate average case queries and frequently executed queries. Buffers from the buffer pool are allocated to query working sets during runtime to reduce cache misses.
Interactive Citation Constellation Global Citation Ranking
Interactive SVG Citation Constellation renders in Rust/WebAssembly. Prior art cited: 2 · Forward citations: 4.
Claims (1 — 1 Independent, 0 Dependent)
- Claim 1Independent Claim
A method for managing memory used for query execution, the method comprising the computer-implemented steps of: allocating a buffer map table with locations that correspond to a buffer pool in a cache memory; wherein the cache memory is managed by a cache memory manager; wherein the buffer map table is managed by a buffer pool manager that is distinct from said cache memory manager; wherein the buffer pool includes a plurality of buffers; in response to a need to cache a query working set of a query in the cache memory, the buffer pool manager allocating to the query working set a buffer from
Technical Overview & Description
Full multi-page specification text is archived at the issuing office. Read complete official specification ↗