Are there issues with doing that mysqldump on 50GB of data?
> -----Original Message-----
> From: Marcus Bointon [mailto:marcus@stripped]
> Sent: Tuesday, February 26, 2008 10:18 AM
> To: lists@stripped
> Cc: replication@stripped
> Subject: Re: MySQL replication delaying issue
>
> On 26 Feb 2008, at 18:07, Jed Reynolds wrote:
>
> > The only drawback to I find to having just two masters is the
> > situation where one master gets disabled for a prolonged
> time and I
> > need to take a snapshot from the other master, then I have a few
> > seconds of downtime on the remaining master.
>
>
> If you use all InnoDB, you can do:
>
> mysqldump --single-transaction --master-data --opt <mydb> > dump.sql
>
> This does a transactional dump (so no need to lock tables), and
> includes the necessary 'SET MASTER' log and position commands
> for easy
> importing on the slave - and no downtime required!
>
> Marcus
> --
> Marcus Bointon
> Synchromedia Limited: Creators of http://www.smartmessages.net/
> UK resellers of info@hand CRM solutions
> marcus@stripped | http://www.synchromedia.co.uk/
>
>
>