264
Storage Engine” documentation (https://dev.mysql.com/doc/internals/en/customengine.html) to find all the information for creating an engine from scratch.
Understanding the Storage Layer
MariaDB provides a pluggable architecture for storage engines that makes it easier
to develop and deploy new storage engines. A pluggable storage engine architecture
also makes it possible to create new storage engines and add them to a running
MariaDB server without recompiling the server itself. The storage engine provides data
storage and index management for MariaDB. The MariaDB server communicates with
the storage engines through a well-defined API.
In our code, we implement a prototype of a pluggable persistent memory–enabled
storage engine for MariaDB using the libpmemobj library from the Persistent Memory
Development Kit (PMDK).
Figure 13-1 shows how the storage engine communicates with libpmemobj to
manage the data stored in persistent memory. The library is used to turn a persistent
memory pool into a flexible object store.
Figure 13-1. MariaDB storage engine architecture diagram for persistent memory
Chapter 13 enabling persistenCe Using a real-World appliCation
Storage Engine” documentation (https://dev.mysql.com/doc/internals/en/customengine.html) to find all the information for creating an engine from scratch.
Understanding the Storage Layer
MariaDB provides a pluggable architecture for storage engines that makes it easier
to develop and deploy new storage engines. A pluggable storage engine architecture
also makes it possible to create new storage engines and add them to a running
MariaDB server without recompiling the server itself. The storage engine provides data
storage and index management for MariaDB. The MariaDB server communicates with
the storage engines through a well-defined API.
In our code, we implement a prototype of a pluggable persistent memory–enabled
storage engine for MariaDB using the libpmemobj library from the Persistent Memory
Development Kit (PMDK).
Figure 13-1 shows how the storage engine communicates with libpmemobj to
manage the data stored in persistent memory. The library is used to turn a persistent
memory pool into a flexible object store.
Figure 13-1. MariaDB storage engine architecture diagram for persistent memory
Chapter 13 enabling persistenCe Using a real-World appliCation
