mysql - What is the best of two approaches to achieve DB Replication? -
we have 2 approaches achieve db replication:
- master-master replication.
- 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
Post a Comment