-
公开(公告)号:WO2021050292A1
公开(公告)日:2021-03-18
申请号:PCT/US2020/048420
申请日:2020-08-28
Applicant: ORACLE INTERNATIONAL CORPORATION
Inventor: LEE, J. William , BRIDGE, JR., William H. , KEMKAR, Ankur , GOKHALE, Vipin , SOMA, Sivaram Prasad , SELVAKUMAAR, Vishvesh Mohanarangam , LOAIZA, Juan R. , HU, Wei-Ming , MACNAUGHTON, Neil J.S. , LEE, Adam Y.
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.
-
公开(公告)号:EP4028901A1
公开(公告)日:2022-07-20
申请号:EP20772146.5
申请日:2020-08-28
Applicant: Oracle International Corporation
-