- 专利标题: Persistent memory file store for directly mapped persistent memory database
-
申请号: US16812833申请日: 2020-03-09
-
公开(公告)号: US11645241B2公开(公告)日: 2023-05-09
- 发明人: 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
- 申请人: Oracle International Corporation
- 申请人地址: US CA Redwood Shores
- 专利权人: Oracle International Corporation
- 当前专利权人: Oracle International Corporation
- 当前专利权人地址: US CA Redwood Shores
- 代理机构: Hickman Becker Bingham Ledesma LLP
- 代理商 Brian N. Miller
- 主分类号: G06F16/182
- IPC分类号: G06F16/182 ; G06F16/16 ; G06F9/4401 ; G06F9/50 ; G06F9/52 ; G06F12/02 ; G06F12/123
摘要:
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.
公开/授权文献
信息查询