Reply
Synchronize databases over network
Old 05-08-2008, 11:00 AM Synchronize databases over network
Junior Talker

Posts: 1
Hi,

I have the following scenario:
There are 3 web applications in a local network which all have a local copy of the same database. Each of them can alter their local database (just the data, not the structure), and every time that happens the databases of the other applications should be updated immediately.
Are there any solutions out there for that? I found that most tools like slony only mirror one master database to multiple slaves, but I want every database to be able to be the starting point.
There could also be a central syn server, like in subversion..

Greets,
Patrick
patrick3006 is offline
Reply With Quote
View Public Profile
 
Sponsored Links (We share ad revenue):
 
Old 05-08-2008, 05:43 PM Re: Synchronize databases over network
Learning Newbie's Avatar
Moderator

Latest Blog Post:
My Favorite Isaac Asimov Story
Posts: 4,069
Name: John Alexander
Log shipping.

Why does each box have its own database? The point of networked database servers is to eliminate that exact scenario. I imagine the overhead of synchronizing them all will be more than the overhead of using one centralized database.
__________________
HungarianNotation is the last resort of scoundrels. Why not the first resort? That's where it counts!
Learning Newbie is online now
Reply With Quote
View Public Profile
 
Old 05-09-2008, 07:39 PM Re: Synchronize databases over network
joder's Avatar
Flipotron

Posts: 5,161
Name: James
Location: In the ocean.
If there are they wouldn't be free.

What you have is a setup nightmare with three databases. On MySQL with two you could set up master to master replication. One would have to use even primary keys and the other odd. For three I suppose you could start the third servers primary key to a number far above what the other two would reach.

But why do that. If your updating the same tables, have the application servers update to one master and each could read from a different slave.
joder is online now
Reply With Quote
View Public Profile
 
Old Yesterday, 03:51 AM Re: Synchronize databases over network
Novice Talker

Posts: 13
One practical solution for you to do is to integrate all three web applications into a single computer by using virtualization. The other two computers can be setup for the database servers, a master and slave replication. Or, you could create a high available cluster Mysql.
__________________
Just do it!
hellojavablues is offline
Reply With Quote
View Public Profile
 
Sponsored Links (We share ad revenue):
 
Reply     « Reply to Synchronize databases over network
 

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off




   
RSS Feed  Feeds: RSS   JS   XML
RSS Feed  Feeds for this forum: RSS   JS   XML


Page generated in 0.16814 seconds with 14 queries