| ▲ | jjice 5 hours ago | ||||||||||||||||
Do other RDBMSs have this? I genuinely have no clue. I've been fortunate enough to be able to get away with one primary and multiple secondaries at my largest usage of Postgres. Multi-master is the kind of thing I am fully out of my depth on, so I'm curious if there's a well defined path for implementation here or what. | |||||||||||||||||
| ▲ | hylaride 3 hours ago | parent | next [-] | ||||||||||||||||
Commercial RDBMS (oracle/mssql) have had it in some form for awhile, with pluses and minuses. Open source DBs have had bolt-ons, including BDR for pgsql. Multi-master is hard. The main issue is what to do with commit/replication lag. It's far "easier" if support for eventual consistency is ok with your use case. In some cases it's not. Also, the problems related to read-only lag can happen on multi-master instances. If somebody does a giant long running query on one of the masters, the target instance needs to hold the data state for the query, even if the underlying DB is getting updates. It also needs to still keep up with other masters. This means the whole cluster can slow down if the multi-master replication is synchronous. Depending on a variety of factors, that can chew up disk space, memory, etc. There are ways of dealing with these issues (and others), but it comes with tradeoffs with performance, etc. | |||||||||||||||||
| ▲ | aynyc 4 hours ago | parent | prev [-] | ||||||||||||||||
MySQL has Galera cluster for that. | |||||||||||||||||
| |||||||||||||||||