Persistent memory file store for directly mapped persistent memory database
Abstract
Techniques herein store database blocks (DBBs) in byte-addressable persistent memory (PMEM) and prevent tearing without deadlocking or waiting. In an embodiment, a computer hosts a DBMS. A reader process of the DBMS obtains, without locking and from metadata in PMEM, a first memory address for directly accessing a current version, which is a particular version, of a DBB in PMEM. Concurrently and without locking: a) the reader process reads the particular version of the DBB in PMEM, and b) a writer process of the DBMS replaces, in the metadata in PMEM, the first memory address with a second memory address for directly accessing a new version of the DBB in PMEM. In an embodiment, a computer performs without locking: a) storing, in PMEM, a DBB, b) copying into volatile memory, or reading, an image of the DBB, and c) detecting whether the image of the DBB is torn.
Interactive Citation Constellation Global Citation Ranking
Interactive SVG Citation Constellation renders in Rust/WebAssembly. Prior art cited: 18 · Forward citations: 0.
Claims (1 — 1 Independent, 0 Dependent)
- Claim 1Independent Claim
A method comprising: without locking, a reader process of a database management system (DBMS) obtaining, from metadata in persistent memory (PMEM), a first memory address for directly accessing a current version, which is a particular version, of a database block in the PMEM, wherein the PMEM does not comprise at least one selected from the group consisting of a disk and a block-oriented device; concurrently: the reader process reading the particular version of the database block in the PMEM, and a writer process of the DBMS replacing, in the metadata in the PMEM, the first memory address with
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 (18)
Non-Patent Literature (5)
- Arulra et al., “How to Build a Non-Volatile Memory Database Management System”, SIGMOD'17, May 14-19, 2017, Chicago, IL, USA, 6 pages.
- Chatzistergiou et al., “Rewind: Recovery WriteAhead System for InMemory NonVolatile DataStructures”, Proceedings of the VLDB Endowment, vol. 8, No. 2, dated Jan. 1, 2015, pp. 497-508.
- Haria, Swapnil, “Architecture and Software Support for Persistent and Vast Memory”, Date of final oral examination Jun. 10, 2019, 143 pages.
- Kelly, Terence, “Good Old Fashion Persistent Memory”, www.usenix.org, Winter 2019, vol. 44, No. 4, 6 pages.
- Liu et al., “PMTest: A Fast and Flexible Testing Framework for Persistent Memory Programs”, ASPLOS '19, Apr. 13-17, 2019, Providence, RI, USA, 15 pages.