System, method, and computer-readable medium for spool cache management
Abstract
A system, method, and computer-readable medium that facilitate efficient use of cache memory in a massively parallel processing system are provided. A residency time of a data block to be stored in cache memory or a disk drive is estimated. A metric is calculated for the data block as a function of the residency time. The metric may further be calculated as a function of the data block size. One or more data blocks stored in cache memory are evaluated by comparing a respective metric of the one or more data blocks with the metric of the data block to be stored. A determination is then made to either store the data block on the disk drive or flush the one or more data blocks from the cache memory and store the data block in the cache memory. In this manner, the cache memory may be more efficiently utilized by storing smaller data blocks with lesser residency times by flushing larger data blocks with significant residency times from the cache memory. The disclosed cache management mechanisms are effective for many workloads and are adaptable to various database usage scenarios without requiring detailed studies of the particular data demographics and workload.
Interactive Citation Constellation Global Citation Ranking
Interactive SVG Citation Constellation renders in Rust/WebAssembly. Prior art cited: 5 · Forward citations: 5.
Claims (1 — 1 Independent, 0 Dependent)
- Claim 1Independent Claim
A method of providing cache management in a parallel processing system, comprising: estimating a residency time of a first data block that is not stored in the parallel processing system but is to be stored in the parallel processing system, wherein the residency time is determined when the first data block is not stored in cache at least partly based on an estimation of time required for the first data block to be resident in the cache of the parallel processing system; calculating a metric for the first data block at least as a function of the residency time and size of the first data block
Technical Overview & Description
Full multi-page specification text is archived at the issuing office. Read complete official specification ↗