Posts Tagged ‘mysql cluster’

Pop Quiz: MySQL Cluster

By Sheeri Cabral March 15th, 2008 at 2:18 pm
Posted in MySQL
Tags:

If you have a 12-server MySQL Cluster with:

1 Management Node
3 SQL Nodes
2 Data Node Groups, 4 Data Nodes per group

And each machine is configured to allocate 1G of memory for its function, how much data (data + indexes) can you store in total in your cluster?

You can guess, but you get bonus points if you explain why and the explanation is correct.

What Applications Are Good For MySQL Cluster?

By Sheeri Cabral February 13th, 2008 at 9:41 am
Posted in Group Blog PostsMySQL
Tags:

Someone asked me what applications were good/bad for MySQL Cluster. As I’ve now actually had experience with a Cluster setup and a real-life application of it, and dug through the manual, I present a few characteristics of applications that will work with Cluster, and why they are so (so that if you have an application that meets some of the characteristics but not all of them, you can decide whether it’s worth it to use Cluster or not).

Firstly, I’ll state this — there’s actually a very limited application to MySQL cluster. I haven’t assessed the disk-based cluster, only the memory-based one, so I don’t know what really changes with disk-based. But after you see this list, you certainly will want to re-think your use of disk-based cluster if a lot of the inner workings don’t change.

The factors are listed below, but the “ruler” I keep in my mind is the fact that MySQL Cluster was developed for telecom applications. The basic characteristic is a lot of writes, small data in amounts that can fit into memory, and the data being transient in nature. Something like a “session” table is a great application.

So here are the characteristics of a good application for MySQL Cluster, with explanations of why: (more…)