Quantcast
Channel: StackExchange Replication Questions
Viewing all articles
Browse latest Browse all 17268

fixing mySQL replication (large DB)

$
0
0

I have a large mySQL database and I am replicating to two slaves. All three servers are windows (i know). One of my slaves seems to have corruption, the other is fine. This is huge DB, a few hundred gigs. I am trying to figure out the best way to fix the replication on the one slave that is corrupted. I need to minimize downtime to the master so a mySQLdump seems problematic unless its the only way. I was wondering if because I have two slaves and I am pretty sure all 3 environments are close to identical there might be another creative way to solve this. It is InnoDB but might I be able to shut all three down and do a directory copy of the good slave (datadir) and use it on the bad slave, restart? I think that might only take a few hours as opposed to a mySQLdump. Any thoughts on how to accomplish this correctly would be helpful.


Viewing all articles
Browse latest Browse all 17268

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>