开发者

what kind of replication should I use?

I can't understand the difference between transactional replication and merge replication. This is my scenario: In an organization I have a SQL server 开发者_开发知识库which need to collect information from different sql servers which are located in different parts of organization or around the city and some report will create according to gathered information. Data in different SQL servers update every 5 or 6 minutes. I don't know should I use transactional or merge replication?


Transactional replication delivers incremental changes from a single publisher to one or more subscribers.

Merge replication brings changes from multiple subcribers together into a central publisher.

It sounds like you'll want merge replication in your scenario.


Merge. Each site is a master of it's own data.

Transactional is one way usually.

You need to share information so merge it is...

Edit, after comment

In which case, yes. Your question implies reporting at each location

However, for performance, I'd consider pushing all updates into a queue using a trigger and Service broker. This way, the write to the remote server is decoupled from the local transaction.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜