首页> 外国专利> A PERSISTENT MEMORY FILE STORE FOR DIRECTLY MAPPED PERSISTENT MEMORY DATABASE

A PERSISTENT MEMORY FILE STORE FOR DIRECTLY MAPPED PERSISTENT MEMORY DATABASE

机译:直接映射持久存储器数据库的持久内存文件存储存储

摘要

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.
机译:这里的技术存储在字节可寻址持久存储器(PMEM)中存储数据库块(DBB),并防止在没有死锁或等待的情况下撕裂。在一个实施例中,计算机托管DBMS。 DBMS的读取器处理在不锁定和从PMEM中的元数据中获得的第一存储器地址,用于直接访问PMEM中的DBB的当前版本,这是一个特定版本。同时且不锁定:a)读取器进程在PMEM中读取DBB中的特定版本,B)DBMS的写入器进程在PMEM中的元数据中替换,第一存储器地址具有用于直接访问A的第二存储器地址的第一存储器地址PMEM的新版本的DBB。在一个实施例中,计算机在没有锁定的情况下执行:a)在复制到易失性存储器中的PMEM,DBB,B)中,或读取DBB的图像,以及C)检测DBB的图像是否被撕裂。

著录项

相似文献

  • 专利
  • 外文文献
  • 中文文献
获取专利

客服邮箱:kefu@zhangqiaokeyan.com

京公网安备:11010802029741号 ICP备案号:京ICP备15016152号-6 六维联合信息科技 (北京) 有限公司©版权所有
  • 客服微信

  • 服务号