简体   繁体   English

MYSQL Cluster(NDB)与Galera进行复制

[英]MYSQL Cluster (NDB) vs Galera for replication

  1. what is difference between Galera and NDB. Galera和NDB有什么区别。
  2. who is the best replication for maria DB or MYSQL. 谁是maria DB或MYSQL的最佳复制者。
  3. what is the advantages and disadvantages. 有什么优点和缺点。

1: Galera replication with mysql or mariadb simply duplicates your entire database onto multiple servers. 1:使用mysql或mariadb进行Galera复制,只需将整个数据库复制到多台服务器上。 Each server is identical and can be used for read and write. 每个服务器都是相同的,可以用于读取和写入。 Galera can be used with WAN replication, and is less sensitive to network latency. Galera可以与WAN复制一起使用,并且对网络延迟不太敏感。 NDB can be used for scale-out with partitioning, whereas galera mysql or mariadb will require manual sharding. NDB可用于通过分区进行横向扩展,而galera mysql或mariadb将需要手动分片。

2: MariaDB and MySQL are similar products. 2:MariaDB和MySQL是相似的产品。 It depends on your requirements, although if you want to use Galera in particular I would suggest MariaDB because it is supported by the MariaDB foundation, whereas Oracle is pushing MySQL Cluster and has nothing to do with Galera. 这取决于您的要求,尽管特别要使用Galera,但我建议使用MariaDB,因为它受MariaDB基金会的支持,而Oracle正在推广MySQL Cluster,而与Galera无关。

3: No idea what you are asking. 3:不知道你在问什么

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM