Invention Grant
- Patent Title: Persistent memory file store for directly mapped persistent memory database
-
Application No.: US16812833Application Date: 2020-03-09
-
Publication No.: US11645241B2Publication Date: 2023-05-09
- Inventor: J. William Lee , William H. Bridge, Jr. , Ankur Kemkar , Vipin Gokhale , Sivaram Prasad Soma , Vishvesh Mohanarangam Selvakumaar , Juan R. Loaiza , Wei-Ming Hu , Neil J. S. MacNaughton , Adam Y. Lee
- Applicant: Oracle International Corporation
- Applicant Address: US CA Redwood Shores
- Assignee: Oracle International Corporation
- Current Assignee: Oracle International Corporation
- Current Assignee Address: US CA Redwood Shores
- Agency: Hickman Becker Bingham Ledesma LLP
- Agent Brian N. Miller
- Main IPC: G06F16/182
- IPC: G06F16/182 ; G06F16/16 ; G06F9/4401 ; G06F9/50 ; G06F9/52 ; G06F12/02 ; G06F12/123

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.
Public/Granted literature
- US20210081372A1 PERSISTENT MEMORY FILE STORE FOR DIRECTLY MAPPED PERSISTENT MEMORY DATABASE Public/Granted day:2021-03-18
Information query