Skip to main content

Deploying MariaDB server on Dell PowerFlex

Oct 19, 2026
Deploying MariaDB server on Dell PowerFlex This reference architecture describes the logical architecture used to deploy a virtualized MariaDB server on PowerFlex in a two-layer configuration. This document also contains the best practices recommended for achieving high performance and resiliency.

Executive summary

Overview

MariaDB Server is one of the most popular open-source relational databases. It offers pluggable storage engines for running different workloads, scalability that leverages high-performance server environments and security features like end-to-end encryption. Organizations looking for a highly scalable and resilient database can use MariaDB server with features such as high availability MaxScale, scale out using MariaDB Xpand, and deploy MariaDB on cloud using MariaDB SkySQL.

The PowerFlex family offers key value propositions of traditional and cloud-native production workloads, deployment flexibility, linear scalability, predictable high performance, and enterprise-grade resilience.

VMware vSphere is a virtualization platform, which transforms data centers into aggregated computing infrastructures that include CPU, storage, and networking resources. vSphere manages these infrastructures as a unified operating environment and provides tools to administer data centers that participate in that environment.

This document outlines the deployment of the MariaDB servers on a VMware vSphere 7 cluster that is hosted on a two-layer PowerFlex system. This document also contains best practices to be followed in each layer such as in MariaDB, networking, PowerFlex, ESXi nodes, and VMs to achieve the best performance and resiliency that is offered by the system.

Audience

This document is intended for sales engineers, field consultants, IT administrators, customers, and anyone else interested in configuring and deploying MariaDB Server on PowerFlex with PowerFlex as the underlying software defined storage.

Readers are expected to have an understanding and working knowledge of MariaDB/MySQL Servers, PowerFlex, VMware vSphere, PowerFlex appliance, and PowerFlex Manager.

Terminology

The following table provides definitions for some of the terms that are used in this document.

Table 1.      Terminology

Term

Definition

CO

Compute Only

HCI

Hyperconverged Infrastructure

MDM

Meta Data Manager

OS

Operating System

RCM

Release Certification Matrix

SCSI

Small Computer System Interface

SDS 

Storage Data Server

SDC

Storage Data Client

SO

Storage Only

VM

Virtual Machine

VMDK

Virtual Machine Disk

VLAN

Virtual LAN

Products overview

Products overview

This section introduces the three main products that are used in this solution, PowerFlex, MariaDB Server, and VMware vSphere.

PowerFlex overview


PowerFlex family

PowerFlex is a software-defined infrastructure platform that reduces operational and infrastructure complexity. It empowers organizations to move faster by delivering flexibility, elasticity, and simplicity with extraordinary predictable performance for mission-critical workloads, while also providing resiliency at scale. The PowerFlex family provides a foundation that combines compute and high-performance storage resources in a managed, unified fabric.

PowerFlex delivers transformational value

Delivers stringent SLAs effortlessly 

PowerFlex uses software to unlock the full potential of rapid advances in industry-standard hardware and deliver extreme SLA outcomes. It aggregates resources across a broad set of nodes, unlocking massive input, output, and throughput performance while minimizing latency. Its self-balancing architecture eliminates any hotspots and ensures consistency and simplicity over time. You can scale the system while linearly scaling performance from a minimum of four nodes to thousands of nodes, on-demand and without disruption. With its self-healing architecture, PowerFlex can handle outages, upgrades, and maintenance without downtime, resulting in 99.9999 percent availability. 

Flexible and dynamic architecture 

PowerFlex delivers transformational agility that enables organizations to rapidly respond to changing business needs. It offers flexibility to mix and match storage, compute, and hyperconverged nodes in a dynamic deployment, allowing you to scale storage and compute resources together or independently, one node at a time. 

Shared platform for heterogeneous workloads 

PowerFlex supports a broad range of operating environments simultaneously such as bare metal operating systems, hypervisors, and container platforms with a unified underlying infrastructure platform and management. You can also support heterogeneous workloads with varying requirements on a flexible shared infrastructure platform and modernize your application architectures on your schedule.  

Extensive automation for predictability and simpler workflows 

PowerFlex offers full-stack IT Operations Management (ITOM) and Life Cycle Management (LCM) with PowerFlex Manager. It provides extensive automation capabilities with PowerFlex Manager REST APIs and custom Ansible modules to integrate with your infrastructure, application, and DevOps workflows. PowerFlex Manager enables automated deployments and expansions with minimal time for the IT team, letting them focus on other strategic initiatives.  

Broad ecosystem of workload solutions 

PowerFlex is designed to deliver superior outcomes at any scale for the most demanding mission-critical environments. It is optimized for a wide range of validated workload solutions ranging from traditional relational databases and modern cloud-native NoSQL databases to throughput-intensive analytics workloads.

   

Figure 1.       PowerFlex Family

PowerFlex software components

PowerFlex

The PowerFlex software provides software-defined storage services. It delivers high performance, highly resilient block storage service that can scale to thousands of nodes.

PowerFlex Manager

PowerFlex Manager simplifies the infrastructure management and orchestration with comprehensive ITOM and LCM capabilities that span compute and storage infrastructure, from BIOS and firmware to nodes, software, and networking. It also enables flexible APIs and extensive automation.       

 PowerFlex consumption options

PowerFlex is available with multiple consumption options to help you meet your project and data center requirements. PowerFlex appliance and PowerFlex rack provide customers with the flexibility to choose a deployment option to meet their exact requirements.

PowerFlex Rack

PowerFlex rack is a fully engineered system, with integrated networking that enables customers to simplify deployments and accelerate time to value. The preconfigured and flexible network options, ingrained security controls, end-to-end life cycle management, secure call home, and single call support are some of the many key features that help customers streamline day-2 operation, deliver agility and resilience, and maintain a security posture.

PowerFlex Appliance

PowerFlex appliance offers customers a smaller configuration of four nodes, while enabling them to use their existing network infrastructure.  

With PowerFlex, customers deploy to match their initial needs and easily expand with massive scale potential, without having to compromise on performance and resiliency.

Flexible consumption-based billing options

PowerFlex is available through APEX custom solutions by the APEX Flex on Demand and APEX Datacenter Utility for customers looking to adopt consumption-based OpEx models.  

APEX Flex on Demand  

APEX Flex on Demand allows you to pay for technology as you use it and provides immediate access to buffer capacity. Your payment adjusts to match your usage. 

APEX Datacenter Utility 

APEX Datacenter Utility provides the leading product portfolio from Dell Technologies that is coupled with your choice of professional services and support to manage your data center and its operations. A single invoice provides monthly payments that are based on a predictable rate and vary based on your usage. 

MariaDB Server overview

MariaDB server is a popular open source multithreaded relational database. It is made by the original developers of MySQL and is guaranteed to stay open source.

MariaDB turns data into structured information in a wide array of applications, ranging from banking to websites. Originally designed as an enhanced, drop-in replacement for MySQL, MariaDB is used because it is fast, scalable, and robust, with a rich ecosystem of storage engines, plugins, and many other tools that make it versatile for a wide variety of use cases.

MariaDB is remarkably scalable and can handle tens of thousands of tables and billions of rows of data. It can also manage small amounts of data quickly and smoothly, making it convenient for small businesses or personal projects.

For more information, see About MariaDB Server and About MariaDB Software.

VMware vSphere overview

VMware vSphere is a virtualization platform from VMware, which transforms data centers into aggregated computing infrastructures that include CPU, storage, and networking resources. vSphere manages these infrastructures as a unified operating environment and provides you with the tools to administer the data centers that participate in that environment.

vSphere 7

vSphere 7 delivers the essential services for the modern hybrid cloud. It powers the computing environment for modern applications, AI/ML, and business critical applications. Applications can be deployed using any combination of virtual machines, containers, and Kubernetes. The solution that is described in this reference architecture is deployed using virtual machines only.

Solution architecture

Overview

PowerFlex software-defined storage offers flexibility to help best meet the specific deployment and architectural requirements. PowerFlex can be deployed in a two-layer or single layer (Hyper Converged Infrastructure) architecture. In this reference architecture, PowerFlex is deployed using a two-layer architecture.

This section provides details regarding the components that are involved in this sample reference architecture solution. The design consists of a PowerFlex two-layer configuration with compute nodes running VMware ESXi hypervisor and storage nodes running embedded operating system. RHEL 8.4 VMs are installed on the ESXi compute cluster (one VM per compute node) where the MariaDB server was installed. These database instances are standalone and not clustered.

Logical architecture

This section describes how MariaDB can be deployed on a PowerFlex two-layer system. You can deploy this solution on the PowerFlex family of products.

The PowerFlex system consists of four physical servers acting as compute nodes and another four physical servers acting as storage nodes. Compute nodes and storage nodes have PowerFlex SDC and SDS components running on them respectively. Volumes are provisioned from a storage pool consisting of all SAS SSDs attached to storage nodes. Storage nodes belong to the same protection domain. Both compute and storage nodes are deployed using PowerFlex Manager.

The SDC component in compute nodes exposes PowerFlex volumes to ESXi hosts. Datastores are created out of these volumes which are then presented to the MariaDB server VMs.

For more details on the configuration, see Appendix A Configuration.

Graphical user interfaceDescription automatically generated

Figure 2.   Logical architecture

Network architecture

The following figure shows the network architecture of a two-layer PowerFlex system.

DiagramDescription automatically generated

Figure 3.   Network architecture

All nodes are connected to two Dell PowerSwitch S-5248F switches which are configured with VLT to enable interconnectivity and fault tolerance. All nodes are outfitted with 2 dual-port Mellanox 25GbE NICs which provide 4 25Gb ports on each server. One port from each NIC is connected to one switch and the other port is connected to the second switch. Moreover, ports are NIC teamed to provide high availability.

As per standard practices outlined for PowerFlex deployment, dedicated VLANs are used for vMotion, managing the hypervisor, customer network, managing PowerFlex, etc. For more information about  VLANs and their purpose, consult PowerFlex documentation.

Solution validation tests

Overview

This section contains details of the tests and tools that were used to validate the MariaDB server running on VMware vSphere hosted on the PowerFlex Rack.

Test methodology benchmarking tools

HammerDB

HammerDB is a popular benchmarking and stress testing software for many of the most popular databases, supporting Oracle Database, SQL Server, IBM Db2, MySQL, MariaDB, and PostgreSQL. HammerDB offers various features such as:

  • Complex transactional and analytic workloads based on industry standards
  • Bulk data generation and schema build to populate the database
  • GUI and command line interface that offers full automation
  • Database insights with metrics and performance reports

We used HammerDB to run OLTP workloads on all our database instances.

Test environment

The Test environment consists of Windows Server 2016 VMs with HammerDB installed. These VMs are only used as clients (simulating users) to generate the load and are not on PowerFlex compute nodes. HammerDB VMs and MariaDB instances are on the same network. Initially, MariaDB instances are each populated with around 1700 warehouses (approx. 160 GB of data) by running the schema build from HammerDB. 

Diagram, shape, polygonDescription automatically generated

Figure 4.   HammerDB workload generation on MariaDB VMs

Once the data is populated, a series of tests is done with varying numbers of virtual users from 10 to 60. Each HammerDB is connected to one MariaDB server. The test is seven minutes long with the first two minutes taken for ramp up, and workload run the for remaining five minutes. It is to be noted that workload is run on all 1700 warehouses simultaneously.

Test results

Performance metrics such as TPM, IOPS, and CPU usage collected from HammerDB, PowerFlex Presentation Server and Vmware vSphere respectively are shown in the following charts. 

Database performance

The following figure showcases NOPM (new orders per minute) and TPM reported by HammerDB

Figure 5.   TPM achieved with an increase in virtual users

The system achieved 2.01 Million IOPS when the benchmark was performed against 60 virtual users making queries on each database instance. The performance plateaued after this point and additional compute resources are required to continue to increase the scale. 

Insights on how PowerFlex performed during tests can be gathered from the following figure:

Figure 6.   IOPS and Latency observed in PowerFlex

Both IOPS and latency increases as the number of virtual users stepped up with each test. At 70 virtual users, PowerFlex reported a total IOPS of 262,000 with 0.39 millisecond read latency and 0.69 millisecond write latency. Additional compute only nodes would be able to support more virtual users. No bottlenecks were observed in the PowerFlex system during the tests. 

The following figure shows the ESXi CPU usage:

Figure 7.   CPU usage of one ESXi node with an increase in virtual users

It can be observed here that at 60 virtual users CPU usage reaches 85% and no significant improvement in performance was observed past this point. Comparing this behavior with other graphs in this section reveals that the CPU is the bottleneck in this system. Using a CPU with more cores or adding extra compute nodes to the system can increase performance. 

Best practices

Overview

This section describes the general best practices that are recommended for the software components described in this solution.

PowerFlex Rack

Perform the following best practices for the PowerFlex Rack:

  • For a two-layer PowerFlex system, use a minimum of four SO nodes and if virtualized compute environment is preferred, use a minimum of three CO nodes.
  • Change the passwords for all default accounts.
  • Ensure that the PowerFlex rack is compliant with an RCM.

PowerFlex

Perform the following best practices for PowerFlex: 

  • Enable Read Flash Cache. This feature is a read cache used to increase read performance and buffers writes to increase the performance of Read-after-Write IOs.
  • Create thick provisioned volumes.

Note: The following parameters can be set from PowerFlex CLI.

  • Increase the SDS threads to twelve.

scli --set_performance_parameters --all_sds --tech --sds_number_os_threads 12


PowerFlex networking and server nodes

Perform the following best practices for PowerFlex networking:

  • Change the grub template of all Storage Data Server (SDS) nodes to disable Intel CPU P-State and enable C-State.
  • Enable block multi-queue queueing mechanism in all SDS nodes. The MultiQueue Block IO Queueing Mechanism enables fast storage devices to achieve a huge number of input/output operations per second (IOPS) through queueing and submitting IO requests to block devices simultaneously, benefiting from the parallelism offered by the modern storage devices such as SSDs.
  • For ESXi compute only nodes, using esxcli, set the No of outstanding IOs with competing worlds to 256 for all volumes provisioned from PowerFlex. Increasing this value from default 32 to 256 enhances the performance.
  • Ensure that the server performance profile is set to High Performance.
  • Use jumbo frames (9000 Bytes MTU) throughout the networking infrastructure such as VMware vSwitches, VMkernel ports, and physical switches.

Guest VM configuration and tuning

Perform the following best practices for the guest VM:

  • Set VM power plan to High Performance.
  • Reserve the memory used by the VMs.
  • Use dedicated para virtual Small Computer System Interface (SCSI) controllers for each attached disk.
  • Use the XFS file system for all database volumes as it performs well on multithreaded environments with a high number of CPUs.
  • Create Virtual Machine Disks (VMDKs) as Eager Zero thick provisioned to improve the performance and security.
  • Enable block multi queue in the VMs.
  • Enable transparent huge pages.
  • Expand resource limits for mysql user. For more information, see MariaDB documentation.
  • Disable swap.

MariaDB

Perform the following best practices for the MariaDB Server:

  • Use dedicated volumes for MariaDB data, log, and temp database. For more information about changing default directories, see MariaDB documentation specifying datadir, tmpdir, and individual InnoDB data files.
  • Use a large buffer pool. For this solution, the buffer pool was sized to be a third of the database size.
  • Set InnoDB page size to 8 KB. Our experiments showed that setting this value any higher decreases performance.
  • Disable doublewrite buffer as PowerFlex provides data resiliency and protection. While the doublewrite buffer is ON, pages are written to the doublewrite buffer first when InnoDB performs page flush. This facility improves fault tolerance and disabling the doublewrite buffer increases performance.
  • Tune innodb_read_io_threads and innodb_write_io_threads until pending IO requests are zero most of the time. The pending number of IOs can be obtained by checking the InnoDB status as follows:

show engine innodb status \G

  • Set InnoDB IO capacity to be around the number of IOPS that can be handled by the system. The four node PowerFlex system that is used in this solution is capable of achieving 200,000+ IOPS under submillisecond latency. Hence this value is set to 200,000.
  • Properly stage the database for performing backup operations using BACKUP STAGE commands. For more information about Instructions for preparing the database, see the Snapshots section.

Snapshots

Overview

PowerFlex Snapshots

Snapshots in PowerFlex are consistent images in the form of storage volumes that are used to capture the state of source volumes at a specific point in time. Since snapshot target volumes are just like any other PowerFlex volume, they can be mapped to an SDC component, renamed, resized, and so on.

This section provides detailed instructions on how to mount a snapshot of a production volume to another environment for development or testing purposes.

Snapshot support in MariaDB Server

From MariaDB Server 10.4.1 release onwards, BACKUP STAGE commands have been introduced to facilitate the creation of database copies by taking snapshots of a file system, SAN, or some other kind of storage device. These commands are run to ensure that all non-transactional tables are properly quiesced (flushed to the disk) before the snapshot is created. For more information, see MariaDB Documentation.

Use case: Using snapshot in a test/dev environment

Snapshot target volumes can be mapped to any SDC just like regular volumes. This allows a developer or tester to take a snapshot of production volumes and use it without disrupting the production environment.

  1.   Log in to the MariaDB Server and run the following commands to stage the database for backup. 

BACKUP STAGE START;

BACKUP STAGE BLOCK_COMMIT;

  1.   To take a snapshot, select the wanted volumes and click more. Choose to create a snapshot from the drop-down list. The resulting pop-up is shown in the following figure. Name the snapshot and clear the Read Only option. We need to be able to read and write into the snapshot. To finish, click CREATE SNAPSHOT to finish the operation.

Figure 8.   Take a snapshot of wanted production volumes

  1.   After taking the snapshot, log in back to the MariaDB Server and run the following command to take the server out of backup staging.

BACKUP STAGE END;

  1.   Mapping a snapshot can be done in the same way a volume is mapped to an SDC. Select the snapshot and click on the mapping. Choose the map option from the drop-down list. Choose the wanted SDC component to which the snapshot should be mapped as shown in the following figure. Click APPLY to finish the process.

Figure 9.   Map snapshot to wanted SDC component

  1.   Log in to the vcenter and rescan storage for the snapshot volume to be detected by ESXi. Once the rescan is complete, start the new datastore creation wizard. Select the wanted datastore type as shown in the following figure.

Figure 10.    Choose wanted datastore type

  1.   Select the newly attached LUN from the list as shown in the following figure.

  

Figure 11.    Choose snapshot LUN from the list

  1.   Select the Assign a new signature option if the snapshot is mounted on the same ESXi cluster as the original volume as shown in the following figure.

Figure 12.    Assign new signature to snapshot datastore

  1.   Once a datastore is created, attach the VMDK to test the VM. Edit the VM settings and mount the snapshot VMDK by choosing the Add existing hard disk option. Snapshot VMDK can then be chosen from the list as shown in the following figure.

Figure 13.    Assign snapshot VMDK to test VM.

While using the dedicated data, log, and tmp volumes for MariaDB, follow steps 1 to 8 again to mount all the volumes to test the VM.

Conclusion

Summary

This paper showcases the deployment of a MariaDB server on a two-layer PowerFlex system. The validation tests could achieve 2 Million IOPS under submillisecond latency with the ability to scale linearly using additional or more powerful hardware.

This paper also describes the recommended best practices to achieve high database performance for the MariaDB server. Using the PowerFlex two-layer configuration will help achieve high performance while having the ability to scale compute and storage resources independently.

PowerFlex snapshots can be used to create MariaDB database consistent copies for purposes such as backup, or the creation of additional environments such as for test, development, and reporting.

Appendix

PowerFlex node configuration

The following tables contain the details on hardware and software components that are involved in the system used for this document:

Table 2. SO and CO node component details

Component

SO Node

CO Node

Server

PowerEdge R740

PowerEdge R640

CPU

2 * Intel(R) Xeon(R) Gold 6254 CPU @ 3.10 GHz (Core Count 18)

2 * Intel(R) Xeon(R) Gold 6132 CPU @ 2.60 GHz (Core Count 14)

Memory

768 GB (12 * 64 GB, 2933 MHz)

576 GB (18 * 32 GB, 2666 MHz)

Storage

20 * 1788.5 GB (SAS SSD), 4 * 1490.42 GB (NVME)

10 * 1788.5 GB SAS SSD

Network

  • Intel(R) Ethernet 10G 4P X710/I350 rNDC
  • 2 * Mellanox 25 GbE 2P ConnectX4LX Adapter
  • Intel(R) Ethernet 10G 4P X710 SFP+ rNDC
  • 2 * Mellanox 25 GbE 2P ConnectX4LX Adapter

Operating System

CentOS 7.9

VMware ESXi 7.0.2

Table 3. Hardware and software component details

Component

Details

PowerFlex

PowerFlex version 3.6.100.102

MariaDB Server VM

  • MariaDB v10.6.5
  • InnoDB engine
  • RedHat Enterprise Server 8.4
  • 56 vCPUs
  • 64 GB RAM

Benchmark tool

HammerDB v4.3

References