Results 1 to 6 of 6

Thread: Database Replication in MySQL

  1. #1
    Join Date
    Aug 2006
    Posts
    93

    Database Replication in MySQL

    I have created a large employee database in MySQL. I want to know the use of database Replication in MySQL. Does any one how to set up database replication in MySQL? Is it applicable in all database or selected database? What are the advantages?

  2. #2
    Join Date
    May 2008
    Posts
    2,297

    Re: Database Replication in MySQL

    MySQL replication has many uses including read scalability, backups, failover, online maintenance, upgrade testing and verification, Replication in MySQL gives the asynchronous replication, which means there are two server one it acts as master and another one slave. Software upgrades, alternative data or structure for performance queries and even benchmarking to name the popular uses.

  3. #3
    Join Date
    Nov 2005
    Posts
    1,323

    Re: Database Replication in MySQL

    Replication allows you to take one database, make an exact copy of it on another server, and set one of them (the slave) to take all its updates from the other (the master). MySQL Replication is powerful technology, but many things can trip you up. Sometimes the slaves get out of sync with the master, or dump errors into their logfiles.

  4. #4
    Join Date
    Apr 2008
    Posts
    2,005

    Re: Database Replication in MySQL

    Even though setting up MySQL Replication is a relatively simple task, there are several things that can be configured. Replication is not a backup policy. MySQL provides asynchronous replication in which a master database server is replicated to one or more slave server. You can configure the replication to include all or select databases or only select tables.

  5. #5
    Join Date
    May 2008
    Posts
    2,012

    Re: Database Replication in MySQL

    MySQL Cluster is a powerful peering system to add high availability and replication across multiple database servers. When the master-slave replication is configured a master is given a unique id. However, it is not possible to figure out the master's id while talking to the slave. It's not perfect, though. Using features of MySQL 5.0 and 5.1, it's possible to build a master/slave replication system with fail-over.

  6. #6
    Join Date
    Feb 2008
    Posts
    1,852

    Re: Database Replication in MySQL

    Replication capabilities allowing the databases on one MySQL server to be duplicated on another. MySQL replication can increase performance by allowing developers to spread queries over two servers. Replication is not a guarantee that the slave will be in sync with the master at any one point in time.

Similar Threads

  1. Connecting C# with MySQL database
    By Quattro in forum Software Development
    Replies: 5
    Last Post: 05-03-2010, 10:13 PM
  2. Replies: 3
    Last Post: 07-11-2009, 09:36 PM
  3. What is meant by Database Replication
    By Deep123 in forum Networking & Security
    Replies: 3
    Last Post: 21-08-2009, 06:06 PM
  4. How to add mysql database to localhost?
    By gazwsx in forum Software Development
    Replies: 3
    Last Post: 01-07-2009, 07:07 PM
  5. Restoring MySQL database
    By Sean J in forum Software Development
    Replies: 5
    Last Post: 18-02-2009, 01:46 PM

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Page generated in 1,713,989,826.17512 seconds with 17 queries