两台服务器Postgres数据库之间的同步 [英] synchronization Between two Servers Postgres Database
本文介绍了两台服务器Postgres数据库之间的同步的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我在不同的linux服务器上有两个postgres数据库,问题是我想将在SERVER A中插入,更新,删除的所有数据同步到SERVERB。
有什么方法可以做到这一点。 ...?
有人帮我...吗?
I have two postgres database in different linux server, the thing is that I want to synchronize all the data which are inserted , updated, deleted in SERVER A to SERVER B. Is there any way to do this....? Any one help me ...?
推荐答案
自9.0以来,PostgreSQL提供了自己的复制。如果您使用8.x,则可以尝试其他解决方案。我个人使用了slony,对此感到非常满意。
Since 9.0 PostgreSQL supplies it own replication. If you use 8.x you can try other solutions. Personally I used slony and was quite pleased with it.
这篇关于两台服务器Postgres数据库之间的同步的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文