Tycoon Talk
Become a Big fish!
The number 1 forum for online business!
Post topics, ask questions, share your knowledge.
Tycoon Talk is part of Freelancer.com - find skilled workers online at a fraction of the cost.

The Database Forum


You are currently viewing our The Database Forum as a guest. Please register to participate.
Login



Reply
Synchronize databases over network
Old 05-08-2008, 12:00 PM Synchronize databases over network
Junior Talker

Posts: 1
Trades: 0
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
 
 
Register now for full access!
Old 05-08-2008, 06:43 PM Re: Synchronize databases over network
Learning Newbie's Avatar
Defies a Status

Latest Blog Post:
Astounding Republican Paranoia
Posts: 5,662
Name: John Alexander
Trades: 0
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.
__________________

Please login or register to view this content. Registration is FREE


Please login or register to view this content. Registration is FREE
Learning Newbie is offline
Reply With Quote
View Public Profile
 
Old 05-09-2008, 08:39 PM Re: Synchronize databases over network
joder's Avatar
Flipotron

Posts: 6,442
Name: James
Location: In the ocean.
Trades: 0
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 offline
Reply With Quote
View Public Profile
 
Old 05-12-2008, 04:51 AM Re: Synchronize databases over network
Novice Talker

Posts: 14
Trades: 0
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.
__________________

Please login or register to view this content. Registration is FREE
hellojavablues is offline
Reply With Quote
View Public Profile
 
Reply     « Reply to Synchronize databases over network
 

Thread Tools Search this Thread
Search this Thread:

Advanced Search

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

BB 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.74541 seconds with 12 queries