Hi.
I have a subsription that needs to be reinitialized because it has been
marked as inactive. Instead of reinitializing and then have to transfer
a new snapshot, that would caus all sorts of key violations, i would
like to do the following.
1.Drop the subscription.
2.Add subscription with option that the subscribers has the schema and
data.
3.Copy the pending transactions
The problem is, when you drop the subscription, the pending
transactions are truncated, so the question is.
How can i copy all the commands from the distribution agent, that is
supposed to go to a specific subscriber, so that i can just connect to
the subscriber and run them manually after i have set up the new
subscription?
Also have a second question.
We don't have a lot of changes, and it seems like having the log reader
running contuniously is not neccessary. Can i just change the log
reader job to run on a reccuring schedule with Enterprise Manager?
Than you!
Paul Ibison - 29 Nov 2006 12:21 GMT
The simplest solution is to drop the subscription, use DataCompare or
TABLEDIFF to sync up the tables then do a nosync initialization.
Generally the log-reader is set to run continuously. There are 2 main
reasons I can think why this is so - lower latency and minimise the size of
the transaction log (the log can't be truncated until it's been read by the
logreader).
Cheers,
Paul Ibison SQL Server MVP, www.replicationanswers.com .
Hilary Cotter - 29 Nov 2006 13:44 GMT
Do a no-sync subscription. Then run a validation to determine which tables
are out of sync. Then it is a matter of getting these back in
synchronization. You can use tablediff or RedGates data compare for this.

Signature
Hilary Cotter
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
> Hi.
>
[quoted text clipped - 22 lines]
>
> Than you!