How to synchronize databases in different servers in SQL Server 2008?

前端 未结 5 1540
你的背包
你的背包 2020-12-29 04:58

I have 2 databases that have the same structure, one on a local machine and one on the company\'s server. Every determined amount of time, the data from the local DB should

5条回答
  •  Happy的楠姐
    2020-12-29 05:48

    What you want is Peer-to-Peer Transactional Replication, which allows data to be updated at both databases yet keep them in sync through a contiguous merge of changes. This is the closes match to what you want, but is a fairly costly option (requires Enterprise Edition on both sites). Another option is Bidirectional Transactional Replication, but since this requires also two EE licenses, I say that peer-to-peer is easier to deploy for the same money.

    A more budget friendly option is Updatable Subscriptions for Transactional Replication, but updatable subscriptions are being deprecated and you'd bet your money on a loosing horse.

    Another option is to use Merge Replication. And finally, for the cases when the 'local' database is quite mobile there is Sync Framework.

    Note that all these options require some configuration and cooperation from the Company's server DB.

提交回复
热议问题