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.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.