David,

Monday, January 28, 2002, 10:39:12 AM, you wrote:

DS> Hi, I was wondering if any of you clever people out there can help me. I 
DS> have a client with a problem I'm sure some of you have fixed in the past ...

DS> Client has 3 geographically separate sites, running same application (mine, 
DS> of course) and generating data on MySQL database.
DS> Periodically (probably nightly), we want to push changes occurring on each 
DS> database into each of other 2 sites. Data volumes are low-ish (est max 5Meg 
DS> per database absolute worst case). Line cost is minimal (ADSL), and comms 
DS> issues I can work out just fine.

DS> This strikes me as a version of the multi-mysql-database replication 
DS> pattern, though sort of slow. Is replication setup acceptable, or are the 
DS> downtimes where databases are separate an issue, and is this using a 
DS> sledgehammer to crack a nut?

DS> The alternative that occurs to me (though it is a bit if a pain) is to 
DS> change my code slightly so each DB update query is written to a transaction 
DS> log at each site, and then manually apply each of these logs to the other 2 
DS> databases. I can do this fine, but it seems a bit, well, crude. Plus the 
DS> overhead of protecting the logs, and of clearing them on successful completion.

What about mysqldump? See http://www.mysql.com/doc/m/y/mysqldump.html
for more info about mysqldump.




-- 
For technical support contracts, goto https://order.mysql.com/
This email is sponsored by Ensita.net http://www.ensita.net/
   __  ___     ___ ____  __
  /  |/  /_ __/ __/ __ \/ /    Victoria Reznichenko
 / /|_/ / // /\ \/ /_/ / /__   [EMAIL PROTECTED]
/_/  /_/\_, /___/\___\_\___/   MySQL AB / Ensita.net
       <___/   www.mysql.com




---------------------------------------------------------------------
Before posting, please check:
   http://www.mysql.com/manual.php   (the manual)
   http://lists.mysql.com/           (the list archive)

To request this thread, e-mail <[EMAIL PROTECTED]>
To unsubscribe, e-mail <[EMAIL PROTECTED]>
Trouble unsubscribing? Try: http://lists.mysql.com/php/unsubscribe.php

Reply via email to