Automated dump and import

+1  

We can run a query in each table to dump data that is newer than the last date we checked

YAML 想法

select * from table where version > lastUpdate

This would get all the records that have been updated since t he last update.

We could then import this data.

I don't know what to do about data that already exists, we would have to generate update record sql commands.

Whenever data is changed, update the lastUpdate field so that the next dump will cover that row.



(别通知) (可选) 请,登录

多主复制的复杂性不仅仅在于查找其他副本站点中的新增功能。我们可以使在一个节点上创建的数据只能通过与该节点进行交互来进行编辑,但是所有由每个节点创建的数据都将复制到所有其他节点。

The complexity of Multi-Master replication does not stop at looking up what's been new in other replica sites. We could make the data that was created on one node only editable via interacting with that node, but all created by every node replicated to all other nodes.


语言