I cannot stop or lock tables on the master webapps write data to it constantly.
I am copying over the binlogs and applying them to the slave.
It is taking a long time so I just want to know if load data or copying tables
over would bring replication back to where it is.
I
Renato Golin <[EMAIL PROTECTED]> wrote:
On Tuesday 29 March 2005 11:26, Shamim Shaik wrote:
> Can I run load data from master on myisam tables where my table size is
> approx 30G?
- stop slave
- on master do:
- lock tables
- tar cpf - /var/lib/mysql/tbl | ssh -C slave tar xpf - -C /var/lib/mysql/tbl
- start slave
- on master again:
- unlock tables
It's faster, but will keep you out of order untill all data is copied.
--rengolin
-
Do you Yahoo!?
Yahoo! Small Business - Try our new resources site!