mysql - What is the best of two approaches to achieve DB Replication? -


we have 2 approaches achieve db replication:

  1. master-master replication.
  2. master, 1 primary slave, 1 secondary slave.

i planning analyze these 2 approaches , prepare comparison report recommendation.currently, have setup replication environment using master-master replication.

please provide me pointers details analysis.

i put long, canonical answer general replication questions @ postgresql replication in rails data-fabric gem

this being said general advice worth noting here again. master-master replication incredibly complex , requires think through conflict resolution high level of detail. may require programming that.

if @ possible go master-slave. many solutions may "just work" here. master-master can never guaranteed "just work." requires lot of additional complexity make work way want to.


Comments

Popular posts from this blog

Add email recipient to all new Trac tickets -

400 Bad Request on Apache/PHP AddHandler wrapper -

php - Change action and image src url's with jQuery -