all groups > sql server replication > september 2007 >
You're in the

sql server replication

group:

Basic questions about choice of replication methods


Basic questions about choice of replication methods Phil
9/27/2007 9:12:04 PM
sql server replication:
Here's out situation:

We have a database with about 50 million records, full text indexing is
enabled for one column. About 200,000 new records are added every day
replacing an equal number of records that expire. All updates to the
database will be directed to the master server database, so we don't have to
worry about merging updates on multiple databases. We are using SQL Server
2005 with Windows server 2003 on RAID 0 disks.

We need to replicate the database to accomplish two things: (1) continuous
availability and redundancy for servicing queries at the rate of about
37,000 per hour from customers all over the world, (2) distributed
processing to improve performance. Our applications will distribute the
queries between the replicated servers. We are just looking for replication
to keep two SQL servers synchronized.

Transactional replication seems to be the best choice, but we are concerned
about an issue: According to the material we've read, a transaction log is
stored by the distributor until a new snapshot is created. First, we don't
understand why the log can't be cleared as transactions are posted to the
subscriber database. With 200,000 additions and 200,000 deletions per day,
we are concerned with how quickly the transaction would become unmanageable.
Also, we don't like the idea of having to stop updates to create snapshots
periodically.

What approach would allow replication to run continuously without requiring
snapshots?

Re: Basic questions about choice of replication methods Hilary Cotter
9/28/2007 10:57:52 PM
answers inline.

--
RelevantNoise.com - dedicated to mining blogs for business intelligence.

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]

This is not true. The transaction log can be truncated at any time. It will
be truncated to the last replication point - where the last transaction has
been read in the log. When you are using SQL 2005 or the concurrent snapshot
option in SQL 2000, the log is read after the snapshot is run to extract all
command which occur on published articles after the snapshot is started.

As long as your log reader agent it working your tlog should be clearable.


[quoted text, click to view]

There is not snapshot problem. Peer-to-peer also can use a backup of the
publication database to initialize the subscription.

AddThis Social Bookmark Button