With all due respect to Paul I would not use updatable subscribers as
immediate updating will require that the publisher always be online, if it
goes off line the subscriber will be read only. If you use queued updating
it is not scalable as dml originating on the subscriber will have added
latency and queued can support only a small amount of the total dml
originating on the subscriber.
Merge replication uses triggers to track changes which will mean all dml on
the subscriber and publisher will have added latency, which may not offer
the performance you need for a web application.
Which leaves two alternatives bi-directional transactional replication or
peer to peer replication. Bi-directional transactional replication is ideal
but difficult to set up. Peer to peer is simple to set up, but is not
resilient to conflicts. Updates to the same row occurring simultaneously
will lead to one of the updates being overwritten by the other. Microsoft
recommends that all updates occur on one node in your peer to peer topology
to minimize any chance of data loss.
Peer to peer offers much greater performance than merge replication.
--
Hilary Cotter
Director of Text Mining and Database Strategy
RelevantNOISE.Com - Dedicated to mining blogs for business intelligence.
This posting is my own and doesn't necessarily represent RelevantNoise's
positions, strategies or opinions.
Looking for a SQL Server replication book?
http://www.nwsu.com/0974973602.html Looking for a FAQ on Indexing Services/SQL FTS
http://www.indexserverfaq.com [quoted text, click to view] "Gary Lou" <garylou@gmail.com> wrote in message
news:1158792644.421402.125310@i42g2000cwa.googlegroups.com...
> Hi Paul,
>
> Thanks for the fast response. How does Peer-to-Peer recplication work
> compare to merge replication? Does Peer-to-Peer Replication handle
> record update conflicts automatically? Thanks.
>
> Gary
>
> Paul Ibison wrote:
>> Gary,
>> I'd recommend merge replication or transactional with updating
>> subscribers.
>> Merge has a greater array of conflict resolution options, which might be
>> a
>> factor in determining which to use, as well as it can cope with BLOB
>> datatypes. Immediate updating transactional will need a constant
>> connection
>> to work. For queued updating and merge, you'll need to consider
>> partitioning
>> the identity ranges.
>> For the fault-tolerant part, RAID level 1 for the transaction log and
>> raid 5
>> or 1+0 for the data files are pretty normal. For full server
>> high-availability, you can consider a cluster and you might consider
>> database mirroring as an alternative
>> Cheers,
>> Paul Ibison SQL Server MVP,
www.replicationanswers.com .
>>
>>
>>
>>
>>
>>
>> "Gary Lou" <garylou@gmail.com> wrote in message
>> news:1158789498.164575.261430@m7g2000cwm.googlegroups.com...
>> > Hi All,
>> >
>> > We are going to upgrade to SQL 2005 in the next couple months. We are
>> > not sure which version (either standare or enterprise) yet.
>> >
>> > Here is the situation. We have two servers, SQLSERVER1(internal user)
>> > and SQLSERVER2(web user). Both servers have the exact same data. We
>> > want to configure both servers to replicate data in real time, and
>> > allow insert/modify in both servers. The goal here is to load balance
>> > the workload.
>> >
>> > We also want to implement a fault tolerant solution on the Web DB
>> > (SQLSERVER2). What are the options here? Thanks.
>> >
>> > -Gary
>> >
>