On 19.04.2016 15:56, Craig Ringer
wrote:
Sorry, it is just matter of terms meaning. By multimaster I really mean "synchronous multimaster", because from my point of view the main characteristic of multimaster is symmetric access to all nodes. If there is no warranty that all cluster nodes have the same state, then, from my point of view, it is not a multimaster at all. But i have registered "multimaster" trademark, so can not insists on such treatment of this term:)
This is use case from real production system (Galera use case). If customer want to migrate data to new data center, then multimaster is one of the possible (and safest) ways to do it. You can ste-by-step and transparently for users redirect workload to new data center.
JSON is not is efficient format for it. And here performance may be critical.
We have tried both DTM with global arbiter (analogue of XL GTM) and DTM based on timestamps. In the last case there is no centralized arbiter. But we are using "raftable" - yet another our plugin which provides consistent distributed storage based on RAFT protocol. Using this raftable we build global deadlock graph based on local subgraphs.
Yes, for general purpose we need some DBMS-independent representation of DDL. But for multimaster needs original SQL statement will be enough.
-- Konstantin Knizhnik Postgres Professional: http://www.postgrespro.com The Russian Postgres Company |