Re: Merge vs. Transactional
From: Hilary Cotter (hilary.cotter_at_gmail.com)
Date: 12/03/04
- Next message: Hilary Cotter: "Re: synchrosie sql sever and sql server Ce using several pocket pc's"
- Previous message: Jorge: "Pre snapshot to apply permissions"
- In reply to: Mario Splivalo: "Merge vs. Transactional"
- Next in thread: Mario Splivalo: "Re: Merge vs. Transactional"
- Reply: Mario Splivalo: "Re: Merge vs. Transactional"
- Messages sorted by: [ date ] [ thread ]
Date: Fri, 3 Dec 2004 12:33:46 -0500
The decision on when to use transactional replication over merge replication
is not always cut and dried.
Transactional replication was designed for server to server data
transfer/replication when the publisher and subscriber tend to be always
connected - although this is not a requirement.
Transactional replication is one way, but you can make it bi-directional.
When you make it bi-directional (using updatable subscribers (immediate
updating or queued updating, or immediate with queued failover)) in general
it is not resilient to conflicts. The agents will either stop, or you will
lose the transaction.
Merge is designed for bi-directional replication from the ground up.
However, with transactional you are pretty well guaranteed to have
consistency between the publisher and subscriber. In other words a
transaction committed on the publisher will make it to the subscriber, or
the agent will report a failure and you will have to resolve it.
Merge on the other hand has a more loose consistent model. A transaction
which occurs on a subscriber can be rolled back by the publisher. These lost
transactions are stored in the conflict tables.
In general transactional replication requires less processing than merge
replication, but there are some exceptions.
HTH
-- Hilary Cotter Looking for a SQL Server replication book? Now available for purchase at: http://www.nwsu.com/0974973602.html "Mario Splivalo" <majk@fly.srk.fer.hr> wrote in message news:slrncr15gg.4qa.majk@fly.srk.fer.hr... >I have merge replication set up for more than 2 years now, I'm more than > happy with it. I have several dozens of publications, a lot of > subscribers, > totalny 7 databases being replicated (for various branches, all on one > central publisher). > > The bussines i'm serving is trade-import-export kind of thing. Remote > store-shops where people buy goods, documents traveling back and forth. > > So, maybe because of it, I'm kind of lost when it comes to transactional > replication. When would you need to use something like that? > > I have several snapshot publications wich delivers some key tables (as, > for > instance, articles, sock names, account numbers and stuff), all others are > merge. > > I don't think I would benefit from transactional replication, esp because > most of the subscribers are on analog modem lines or ISDN with dial on > demand. Between two 'head' offices there is high-bandwith leased line so I > set up immediate merge replication (i have a lot of inserts/updates on > both > publisher and subscriber). > > But, what would a scenario be when one would use transactional > replication? > > Mike > > -- > "I can do it quick. I can do it cheap. I can do it well. Pick any two." > > Mario Splivalo > msplival@jagor.srce.hr
- Next message: Hilary Cotter: "Re: synchrosie sql sever and sql server Ce using several pocket pc's"
- Previous message: Jorge: "Pre snapshot to apply permissions"
- In reply to: Mario Splivalo: "Merge vs. Transactional"
- Next in thread: Mario Splivalo: "Re: Merge vs. Transactional"
- Reply: Mario Splivalo: "Re: Merge vs. Transactional"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|