Invention Application
- Patent Title: PERSISTENT MEMORY FILE STORE FOR DIRECTLY MAPPED PERSISTENT MEMORY DATABASE
-
Application No.: US16812833Application Date: 2020-03-09
-
Publication No.: US20210081372A1Publication Date: 2021-03-18
- 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
- Main IPC: G06F16/182
- IPC: G06F16/182 ; G06F16/16 ; G06F12/02 ; G06F12/123 ; G06F9/4401 ; G06F9/52 ; G06F9/50

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
- US11645241B2 Persistent memory file store for directly mapped persistent memory database Public/Granted day:2023-05-09
Information query