Quantcast
Channel: MySQL Forums - Replication
Viewing all articles
Browse latest Browse all 1562

160+gig (inno)DB .. copying raw files to slave (5 replies)

$
0
0
My question is simple,
We have a file-per-table innodb (with some MyISAM tables) that total about 162GB.
Can I simply stop the mysql master server, copy all the contents of the datadir to the slave, start both DB's (nothing will be writing to these DB's during this time, so I guess locking the tables will not be needed) then setup the replication log coordinates, etc and start slave ?

will this work? mysqldump and restore will take too long.

TIA!

Viewing all articles
Browse latest Browse all 1562

Trending Articles



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