Galera Cluster vs MySQL NDB Cluster
Galera Cluster: Synchronous multi-primary replication for MySQL and MariaDB, now owned by MariaDB plc. MySQL NDB Cluster: Shared-nothing, auto-sharded in-memory MySQL engine built for telecom-grade availability.
key differences
- Horizontal scaling is none in Galera Cluster and native in MySQL NDB Cluster.
- Only MySQL NDB Cluster has change data capture, in-memory, compression, online schema changes.
choose galera-cluster for
- +High-availability MySQL/MariaDB clusters
- +Zero-RPO failover inside a region
- +Geographically spread read replicas with consistent data
- +Active-active setups behind a load balancer such as MaxScale or ProxySQL
best at · OLTP
choose mysql-ndb-cluster for
- +Telecom subscriber databases (HLR, HSS, 5G UDM)
- +Online gaming player state
- +Session and user-profile stores needing five-nines uptime
- +Payment authorization with strict availability SLAs
best at · OLTP, Sessions, Cache
Galera Cluster vs MySQL NDB Cluster: FAQ
What is the difference between Galera Cluster and MySQL NDB Cluster?
Galera Cluster: Synchronous multi-primary replication for MySQL and MariaDB, now owned by MariaDB plc. MySQL NDB Cluster: Shared-nothing, auto-sharded in-memory MySQL engine built for telecom-grade availability. Horizontal scaling is none in Galera Cluster and native in MySQL NDB Cluster. Only MySQL NDB Cluster has change data capture, in-memory, compression, online schema changes.
When should I choose Galera Cluster over MySQL NDB Cluster?
Choose Galera Cluster for high-availability MySQL/MariaDB clusters, zero-RPO failover inside a region and geographically spread read replicas with consistent data. Choose MySQL NDB Cluster for telecom subscriber databases (HLR, HSS, 5G UDM); online gaming player state; and session and user-profile stores needing five-nines uptime.
Is Galera Cluster or MySQL NDB Cluster more popular?
MySQL NDB Cluster ranks #283 on the WhichDB Score (11.4/100) and Galera Cluster ranks #304 (10.0/100). Popularity is not fit: check the requirements that matter for your project.
Are Galera Cluster and MySQL NDB Cluster open source?
Yes. Galera Cluster is open source. License: GPL-2.0. Yes. MySQL NDB Cluster is open source. License: GPL-2.0 (Community) / commercial (CGE).