Quantcast
Channel: StackExchange Replication Questions
Viewing all articles
Browse latest Browse all 17268

(mysql) Database replication between 2 DB while 3rd DB as backup

$
0
0

I am not an advanced DB admin or designer. I am sure there are articles on this kind of scenario, probably too many. So I got confused and not sure which solution is appropriate/best for me.

I am setting up two DB on different region. Users will access/write to the nearest one. So these 2 DB should be 100% identical. Any insert, update, delete on a DB replicate same on the other instantly. (better if table structure on a DB can also alter other DB table)

See the attached diagram. Clients can use any of these DBs.

There is the 3rd DB. Clients won't ever access it or write to it. It's for backup purposes only. Any changes but "delete" from other DB will be replicate to this one.

Any suggestion?

enter image description here


Viewing all articles
Browse latest Browse all 17268

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>