Mysql Master Slave Replication on Large Database table (how to sync initial data)
Posted
by Brian Lovett
on Stack Overflow
See other posts from Stack Overflow
or by Brian Lovett
Published on 2010-05-10T21:37:57Z
Indexed on
2010/05/11
15:54 UTC
Read the original article
Hit count: 209
We have a production server and a dev server. We have found that backups are nearly impossible on the production server because of the query volume we experience. So, we're looking at setting up replication with our dev server being the slave. This is ideal because we can afford to lock the tables on that server and additionally it will be nice to have up to date data for the developers. Now, the issues. The production server can't really be taken down or locked at this point, at least not easily. We have a high query volume and fairly large 30+ GB innodb tables. Both servers are running all innodb and are also both on mysql 5.1. What can we do to sync the data initially to get replication started? I've tried a few options, but so far, none have worked.
© Stack Overflow or respective owner