关于将非易失性存储器用作数据库管理系统主存储的研究
On Usage of Non-Volatile Memory as Primary Storage for Database Management Systems
AI总结:
本文研究将非易失性存储器(NVM)用作数据库主存储的影响,以PostgreSQL为例修改存储引擎并开发预取库,实验显示查询执行时间较磁盘和NVM存储最多减少54%和17%,平均减少23%和8%。
摘要:
本文探讨了将非易失性存储器(NVM)用作数据库管理系统(DBMS)主存储的影响。我们研究了对传统关系型DBMS进行必要修改以利用NVM特性的方法。作为案例研究,我们修改了PostgreSQL的存储引擎(SE),使其能够高效使用NVM硬件。我们详细介绍了这些修改所需的变更和面临的挑战,并通过综合仿真平台对其进行评估。结果表明,与磁盘和NVM存储相比,我们修改后的SE将查询执行时间最多减少45%和13%,平均减少19%和4%。对结果的详细分析显示,虽然修改后的SE能更高效地访问数据,但数据在处理时并不靠近处理单元,导致长延迟缺失,影响性能。为解决此问题,我们开发了一个通用库,通过简单API使用辅助线程从NVM硬件预取数据。与磁盘和NVM存储相比,该库进一步将修改后SE的查询执行时间最多减少54%和17%,平均减少23%和8%。
英文摘要:
This paper explores the implications of employing non-volatile memory (NVM) as primary storage for a data base management system (DBMS). We investigate the modifications necessary to be applied on top of a traditional relational DBMS to take advantage of NVM features. As a case study, we modify the storage engine (SE) of PostgreSQL enabling efficient use of NVM hardware. We detail the necessary changes and challenges such modifications entail and evaluate them using a comprehensive emulation platform. Results indicate that our modified SE reduces query execution time by up to 45% and 13% when compared to disk and NVM storage, with average reductions of 19% and 4%, respectively. Detailed analysis of these results shows that while our modified SE is able to access data more efficiently, data is not close to the processing units when needed for processing, incurring long latency misses that hinder the performance. To solve this, we develop a general purpose library that employs helper threads to prefetch data from NVM hardware via a simple API. Our library further improves query execution time for our modified SE when compared to disk and NVM storage by up to 54% and 17%, with average reductions of 23% and 8%, respectively.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。