Take the 2-minute tour ×
Database Administrators Stack Exchange is a question and answer site for database professionals who wish to improve their database skills and learn from others in the community. It's 100% free, no registration required.

Good day!

About MySQL Cluster, is it possible to set it up on only two machines? Is it advisable?

We currently have MySQL replication setup on our two databases, and we would like to implement R/W splitting between them. So you know how non-trivial it is to setup such scheme (from what I've been reading, I hope I'm wrong) on asynchronous replication-driven setup. So my thinking is, apply MySQL Cluster, so load balancing would become easier.

What are your thoughts about this?

Thank you very much!

share|improve this question

1 Answer 1

MySQL Cluster is a separate product in its own right from regular MySQL with replication, so you'd need to migrate your existing tables to MySQL Cluster to take advantage of it (though note that as a distributed database, there is a high likelihood your queries and schema will require optimisation to get full performance benefits)

MySQL Cluster is implemented as a storage engine, accessed via the MySQL Server or a series of NoSQL interfaces. Your tables are automatically distributed (sharded) across multiple redundant noes, allowing HA, and each node is master, allowing scaling of write as well as read operations without application-level sharding.

You can learn more about MySQL Cluster here: http://mysql.com/products/cluster/

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.