What is MariaDB Galera Cluster?
MariaDB Galera Cluster is a synchronous multi-master cluster for MariaDB. It is available on Linux only, and only supports the XtraDB/InnoDB storage engines (although there is experimental support for MyISAM - see the wsrep_replicate_myisam system variable).
- Synchronous replication
- Active-active multi-master topology
- Read and write to any cluster node
- Automatic membership control, failed nodes drop from the cluster
- Automatic node joining
- True parallel replication, on row level
- Direct client connections, native MariaDB look & feel
The above features yield several benefits for a DBMS clustering solution, including:
- No slave lag
- No lost transactions
- Both read and write scalability
- Smaller client latencies
The Getting Started with MariaDB Galera Cluster page has instructions on how to get up and running with MariaDB Galera Cluster.
MariaDB Galera Cluster uses the Galera library for the replication implementation. To interface with Galera replication, we have enhanced MariaDB to support the replication API definition in the wsrep API project.
The implementation of the replication API in MariaDB happens in the open source MySQL-wsrep project.
Galera wsrep provider Versions
The following table lists the versions of the Galera wsrep provider in the different MariaDB Galera Cluster releases.
|Galera wsrep provider versions||Introduced in MariaDB Galera Cluster|
|25.3.25||10.3.12, 10.2.20, 10.0.38, 5.5.63|
|25.3.24||10.3.10, 10.2.18, 10.1.37, 10.0.37, 5.5.62|
|25.3.23||10.3.5, 10.2.13, 10.1.32, 10.0.35, 5.5.60|
|25.3.22||10.3.3, 10.2.11, 10.1.29, 10.0.33, 5.5.59|
|25.3.20||10.1.23, 10.0.31, 5.5.56|
|25.3.19||10.1.20, 10.0.29, 5.5.54|
|25.3.18||10.2.2, 10.1.18, 10.0.28, 5.5.53|
|25.3.17||10.1.17, 10.0.27, 5.5.51|
|25.3.15||10.1.13, 10.0.25, 5.5.49|
|25.3.14||10.1.12, 10.0.24, 5.5.48|
|25.3.5, 25.2.9||10.0.10, 5.5.37|
|25.3.2, 25.2.8||10.0.7, 5.5.35|
For convenience, a galera package containing the preferred wsrep provider is included in the MariaDB YUM and APT repositories (the preferred versions are bolded in the table above).
See also Deciphering Galera Version Numbers.