Presentation is loading. Please wait.

Presentation is loading. Please wait.

MySQL Cluster High-Availability Distributed Database.

Similar presentations


Presentation on theme: "MySQL Cluster High-Availability Distributed Database."— Presentation transcript:

1 MySQL Cluster High-Availability Distributed Database

2 The Problem A single MySQL daemon can only handle approximately 6000 connections. The AvantGo sync process currently exceeds this limit during peak sync times.

3 Possible Solutions MySQL Cluster MySQL Replication MySQL Software Modifications OS Kernel Modifications

4 What is MySQL Cluster? MySQL Cluster is a distributed, replicated, in-memory storage engine for the MySQL database.

5

6 Pros High Availability Data Redundancy No Single Point of Failure High Performance Load Distribution No Disk Reads Real-Time Replication No Master/Slave Lag

7 Cons Large Memory Requirements All Records are Fixed Size Creates Hidden Indexes Slow Restarts Inefficient for Some Queries No Query Caching No FULLTEXT Index Support

8 Memory Requirements Table Number of Rows Avg (Total) Record Size MyISAM Data Size Cluster Data Size MCPINSTANCE55100 (572)5KB256MB MCPUSER14M10 (24)140MB363MB MCPUSEREMAIL14M26 (148)370MB2.4GB

9 Reality Check Difficult to Configure Difficult to Debug Limited Community Support Still Under Development

10 Cluster vs. Replication Cluster Application Transparent Excessive Hardware Requirements Limited Industry Test-Cases Replication Requires Application Changes Master/Slave Lag Issues Easy to Configure Industry-Tested

11 Conclusion MySQL Cluster is a promising solution, but it does not appear to be ready for production use at this time.


Download ppt "MySQL Cluster High-Availability Distributed Database."

Similar presentations


Ads by Google