276
914
current = iter;
915
iter = iter->next;
916
917
DBUG_RETURN(0);
918 }
This concludes the basic functionality our persistent memory enabled storage
engine set out to achieve. We encourage you to continue the development of this storage
engine to introduce more features and functionality.
Summary
This chapter provided a walk-through using libpmemobj from the PMDK to create
a persistent memory-aware storage engine for the popular open source MariaDB
database. Using persistent memory in an application can provide continuity in the
event of an unplanned system shutdown along with improved performance gained by
storing your data close to the CPU where you can access it at the speed of the memory
bus. While database engines commonly use in-memory caches for performance, which
take time to warm up, persistent memory offers an immediately warm cache upon
application startup.
Open Access This chapter is licensed under the terms of the Creative
Commons Attribution 4.0 International License (http://creativecommons.
org/licenses/by/4.0/), which permits use, sharing, adaptation, distribution and
reproduction in any medium or format, as long as you give appropriate credit to the
original author(s) and the source, provide a link to the Creative Commons license and
indicate if changes were made.
The images or other third party material in this chapter are included in the chapter’s
Creative Commons license, unless indicated otherwise in a credit line to the material. If
material is not included in the chapter’s Creative Commons license and your intended
use is not permitted by statutory regulation or exceeds the permitted use, you will need
to obtain permission directly from the copyright holder.
Chapter 13 enabling persistenCe Using a real-World appliCation
Précédent

- 300/457

Suivant