Wait-free parallel data cache
Abstract
A system and method for managing a data cache in a central processing unit (CPU) of a database system. A method executed by a system includes the processing steps of adding an ID of a page p into a page holder queue of the data cache, executing a memory barrier store-load operation on the CPU, and looking-up page p in the data cache based on the ID of the page p in the page holder queue. The method further includes the steps of, if page p is found, accessing the page p from the data cache, and adding the ID of the page p into a least-recently-used queue.
Interactive Citation Constellation Global Citation Ranking
Interactive SVG Citation Constellation renders in Rust/WebAssembly. Prior art cited: 10 · Forward citations: 6.
Claims (1 — 1 Independent, 0 Dependent)
- Claim 1Independent Claim
A method for managing a data cache in a central processing unit (CPU) of a database system, the method comprising: adding an ID of a page p into a page holder queue of the data cache; executing a memory barrier store-load operation on the CPU; looking-up page p in the data cache based on the ID of the page p in the page holder queue; if page p is found in the data cache and not marked for expiration: accessing the page p from the data cache; and adding the ID of the page p into a least-recently-used (LRU) usage queue by writing the ID of page p at the head of the LRU usage queue and incrementi
Technical Overview & Description
Full multi-page specification text is archived at the issuing office. Read complete official specification ↗