Non-volatile memory (NVM) is an emerging technology, which has the persistence characteristics of large capacity storage devices(e.g., HDDs and SSDs), while providing the low access latency and byte-addressablity of traditional DRAM memory. This unique combination of features open up several new design considerations when building database management systems (DBMSs), such as replacing DRAM (as the main working space memory) or block devices (as the persistent storage), or complementing both at the same time for several DBMS components (such as access methods,storage engine, buffer management, logging/recovery, etc). However, interacting with NVM requires changes to application software to best use the device (e.g. mmap and clflush of small cache lines instead of write and fsync of large page buffers). Before introducing (potentially major) code changes to the DBMS for NVM, developers need a clear understanding of NVM performance in various conditions to help make better design choices. In this paper, we provide extensive performance evaluations conducted with a recently released NVM device, Intel Optane DC Persistent Memory (PMem), under different configurations with several micro-benchmark tools. Further, we evaluate OLTP and OLAP database workloads (i.e., TPC-C and TPC-H) with Microsoft SQL Server 2019 when using the NVM device as an in-memory buffer pool or persistent storage. From the lessons learned we share some recommendations for future DBMS design with PMem, e.g.simple hardware or software changes are not enough for the best use of PMem in DBMSs.
翻译:非挥发性内存(NVM)是一种新兴技术,具有大型容量存储装置(例如,HDD和SSDs等)的持久性缓冲特性,同时提供传统 DRAM 内存的低存时间和字面内存。这种独特的特征组合在建立数据库管理系统(DBMS)时打开了几种新的设计考虑,例如替换 DRAM(作为主要工作空间内存)或区块装置(作为持久性储存),或同时补充DBMS 的若干组成部分(例如,存取方法、存储引擎、缓冲管理、记录/回收等)。然而,与NVM 互动需要改变应用软件,以便最好地使用该设备(例如,mmapap和clflshlash,而不是书写和fsync)小页缓冲。在为NVMM(作为主要工作空间内存)或区块内存储器,开发者需要明确了解NBMM的绩效,以便帮助作出更好的设计选择。在本文件中,我们提供了与最近推出的 INVMQ(不是T-OP-OL OrmalS)设备、In-Trading Sdeal-Trading Smal-TradingS 数据库数据库数据库数据库内的一些持续性战略数据库内,使用S-deal-deal-deal-demodustreval-delemental、D-de