Home » Performance » MySQL » MySQL Cluster server requirements
MySQL Cluster server requirements [message #163] Thu, 14 September 2006 06:11 Go to next message
geelwortel  is currently offline geelwortel
Messages: 25
Registered: September 2006
Junior Member
Hi All
We are looking at setting up a MySQL V5.x cluster. We want to use 3 machines for this(1 Controller and 2 data servers). We have +- 15 Gb of data split over 42 databases. The total data grows by 100 - 200 mb per day and this will increase in the near future. We have 60 - 80 users connecting at the same time and running 300 - 800 qps depending on the day(Thursday and Friday avg. 750 qps) and transferring 1.5 mb - 2mb data per second.

What server hardware should we look at to begin with? I read somewhare that MySQL clustering needs alot of memory, is this true?
Re: MySQL Cluster server requirements [message #164 is a reply to message #163 ] Thu, 14 September 2006 06:35 Go to previous messageGo to next message
Peter  is currently offline Peter
Messages: 405
Registered: August 2006
Senior Member
Super Guru
MySQL Cluster in 5.0 requires all data and indexes to be stored in memory. This means if you want to have 2 copies of data you need at least 3x amount of memory. So if you have 10GB of data to store you need 30GB, - 2 nodes by 16GB for example.

With MySQL 5.1 (currently in beta) some data can be stored on the disk.

Also make sure to evaluate cluster performance before you take a move. There are many surprising moving from Innodb for example, such as no instant deadlock detection, slow joins (often many times slower) etc.


Peter Zaitsev, MySQL Performance Expert
MySQL Performance Blog - http://www.mysqlperformanceblog.com
MySQL Consulting http://www.mysqlperformanceblog.com/mysql-consulting/
Re: MySQL Cluster server requirements [message #165 is a reply to message #163 ] Thu, 14 September 2006 06:46 Go to previous messageGo to next message
geelwortel  is currently offline geelwortel
Messages: 25
Registered: September 2006
Junior Member
Quote:

Also make sure to evaluate cluster performance before you take a move. There are many surprising moving from Innodb for example, such as no instant deadlock detection, slow joins (often many times slower) etc.


Can you ellaborate on this please.

What would you suggest if you had to give a solution for this "client"? Performance and redundancy is the main problems.
Re: MySQL Cluster server requirements [message #166 is a reply to message #165 ] Thu, 14 September 2006 09:10 Go to previous message
Peter  is currently offline Peter
Messages: 405
Registered: August 2006
Senior Member
Super Guru
Honestly I think replication is often better than MySQL Cluster in its current state for replication and HA. You also can use active-passive clustering (shared storage or DRBD) in very high avaiability requirements. There is also continuent solutions (commercial) which might be good.

MySQL Cluster is good for predictable applications which use very simple queries, very short transactions, have small data size and paramount availability. Most frequently telecom applications.

Note if you're serious about availability you rather need two clusters which are being replicated as it is possible for software to fail and bring all cluster down.


Peter Zaitsev, MySQL Performance Expert
MySQL Performance Blog - http://www.mysqlperformanceblog.com
MySQL Consulting http://www.mysqlperformanceblog.com/mysql-consulting/
Previous Topic:Mysql memory and server overload
Next Topic:query speed advice
Goto Forum:
  



Current Time: Thu Jan 8 22:01:48 EST 2009

Total time taken to generate the page: 0.00455 seconds
.:: Contact :: Home :: MySQL Support by Percona.com ::.

Powered by: FUDforum 2.7.5.
Copyright ©2001-2006 FUD Forum Bulletin Board Software

MySQL Performance | Forum authority Badge