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

Starting with MariaDB 10.1, the wsrep API for Galera Cluster is included by default. This is available as a separate download for MariaDB 10.0 and MariaDB 5.5.


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

A great resource for Galera users is Codership on Google Groups (codership-team 'at' googlegroups (dot) com) - If you use Galera it is recommended you subscribe.


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 versionsIntroduced in MariaDB Galera Cluster
25.3.2610.3.14, 10.2.23
25.3.2510.3.12, 10.2.20, 10.0.38, 5.5.63
25.3.2410.3.10, 10.2.18, 10.1.37, 10.0.37, 5.5.62
25.3.2310.3.5, 10.2.13, 10.1.32, 10.0.35, 5.5.60
25.3.2210.3.3, 10.2.11, 10.1.29, 10.0.33, 5.5.59
25.3.2010.1.23, 10.0.31, 5.5.56
25.3.1910.1.20, 10.0.29, 5.5.54
25.3.1810.2.2, 10.1.18, 10.0.28, 5.5.53
25.3.1710.1.17, 10.0.27, 5.5.51
25.3.1510.1.13, 10.0.25, 5.5.49
25.3.1410.1.12, 10.0.24, 5.5.48
25.3.910.0.17, 5.5.42
25.3.5, 25.2.910.0.10, 5.5.37
25.3.2, 25.2.810.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.

See Also


Comments loading...