How To Test Master-Master / Master-Slave / Standard / Circular Replication on MySQL

By Angsuman Chakraborty, Gaea News Network
Saturday, September 1, 2007

Working with replication systems is not easy. Learning and testing different kind of MySQL replications and fine-tuning it to your specific needs is a time-consuming endeavor. Also you need to have several MySQL servers at your disposal. To overcome these limitations, Stardata created a MySQL 5 Replication Playground, a painless installation of 4 replicating nodes in one server, using MySQL 5.

Replication Playground creates four nodes in either standard or circular replication, using MySQL 5.0 or 5.1 tables. It will install four nodes under your home directory, and it will provide some useful commands to start, use and stop each node. With this package you can play with replication all you want.

You can download it here.

BTW: Did you know that you can actually create Master-Master replication (with mutual master-slave relationship) with MySQL 5.1 database with failover, a solution which is much cheaper than MySQL clustering which is memory bound. So now you can make changes to both the database simultaneously. However don’t forget to configure the automatic id generator parameters. You can use up to 10 servers without appreciable performance impact.

Discussion

top 10 web hosting
October 23, 2009: 12:37 am

We provide the best-suited web hosting services according to the requirement of customer’s need. For the nascent one, who doesn’t know much about the top 10 web hosting services, we not only make aware to him/her but also provide the best-packaged service close to customer’s needs.

February 27, 2009: 4:04 pm

[...] multiple MySQL instances in a master-slave ( as WordPress.con does ) or master-master replication (notes). Interestingly, despite our heavy and ever increasing traffic, we managed to avoid [...]

YOUR VIEW POINT
NAME : (REQUIRED)
MAIL : (REQUIRED)
will not be displayed
WEBSITE : (OPTIONAL)
YOUR
COMMENT :