On Usage of Non-Volatile Memory as Primary Storage for Database Management Systems

Fuente: arXiv
Salvato in:
Dettagli Bibliografici
Autori principali: Mustafa, Naveed Ul, Armejach, Adri`a, Ozturk, Ozcan, Cristal, Adrian, Unsal, Osman S.
Natura: Preprint
Pubblicazione: 2025
Soggetti:
Accesso online:
Tags: Aggiungi Tag
Nessun Tag, puoi essere il primo ad aggiungerne!!
_version_ 1866909491985907712
author Mustafa, Naveed Ul
Armejach, Adri`a
Ozturk, Ozcan
Cristal, Adrian
Unsal, Osman S.
author_facet Mustafa, Naveed Ul
Armejach, Adri`a
Ozturk, Ozcan
Cristal, Adrian
Unsal, Osman S.
contents 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.
format Preprint
id arxiv_https___arxiv_org_abs_2502_09431
institution arXiv
publishDate 2025
record_format arxiv
spellingShingle On Usage of Non-Volatile Memory as Primary Storage for Database Management Systems
Mustafa, Naveed Ul
Armejach, Adri`a
Ozturk, Ozcan
Cristal, Adrian
Unsal, Osman S.
Databases
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.
title On Usage of Non-Volatile Memory as Primary Storage for Database Management Systems
topic Databases
url https://arxiv.org/abs/2502.09431