Is it possible to set-up MySql Replication to have one slave listening to two different masters?
|
show 1 more comment
feedback
|
closed as off topic by Sathya♦ Feb 3 at 15:27
Questions on Super User are expected to generally relate to computer software or computer hardware, within the scope defined in the faq.
|
In a relational DB there is always the ACID principle: http://en.wikipedia.org/wiki/ACID Atomicity, concistency, isolation and durability. The problem with two masters is, how do you get consistency? If there are two masters with each their own records, one might alter a record and sync it to the slave. The other master might still expect the record to be the same as before the update of the other master. The result: inconsistent data, something you don't want in your MySQL database. It might be possible with tricks, but I wouldn't do it myself. A NoSQL database might be an option? | |||||
feedback
|
flagit. Otherwise this encourages cross posting or other issues. – slhck Feb 3 at 14:57it needs ♦ moderator attention => Otherand mention the migration to where over there. Thanks – Sathya♦ Feb 3 at 15:27