all groups > sql server replication > january 2005 >
You're in the

sql server replication

group:

Preventing subscrition expiration?



Preventing subscrition expiration? MTurner
1/20/2005 9:11:08 AM
sql server replication: How can I prevent a subscription to a transactional publication from expiring?

Here's a brief overview of our situation. We have 2 db's on one server. One
of the db's is used for update, the other is used for search and retrieval
(read-only). Both db's have tables that are fulltext indexed. We would like
to be able to set up transactional replication so that updates can be applied
"on demand" without requiring that the indexes be rebuilt.

We've been successful at getting transactional replication to support this
scenario ... for a few days at a time! We have the need to go an extended
period of time (up to 2-3 weeks in extreme cases) without synchronizing,
however, it appears that the subscription expires and requires
re-synchronizing after 3 days.

The db that is getting updated is not very large (500mb) and only one user
performs updates on it. We have plenty of storage available, so space is not
a problem. I just need to figure out how to prevent to subscription from
expiring so that we can truly replicate "on-demand".

Thanks

MT

P.S. – we've ordered the recommended book on replication but it is not
scheduled to arrive until next week.
Re: Preventing subscrition expiration? Jose Molina
1/20/2005 9:31:56 AM
Hi MT,
If you right-click the publication in EM, you will see an option to change
the subscription expiration properties. You can set the hours to 32767
(about 3.7 years). The other option is to select the "Subscriptions never
expire, but they can be deactivated until they are reinitalized." This can
lead to other issues and I would opt for the former and not the later.

-Jose


[quoted text, click to view]

Re: Preventing subscrition expiration? Paul Ibison
1/20/2005 9:47:55 AM
You'll also need to change the transaction retention
period, and the history retention period.
Rgds,
Paul Ibison SQL Server MVP, www.replicationanswers.com
(recommended sql server 2000 replication book:
http://www.nwsu.com/0974973602p.html)
Re: Preventing subscrition expiration? MTurner
1/20/2005 10:15:04 AM
Thanks - I think this is the piece of the puzzle that I've been missing.

I hate to ask but I'm not finding anything in books on-line - how do you
change the retention periods?

Thanks again

[quoted text, click to view]
Re: Preventing subscrition expiration? Paul Ibison
1/20/2005 7:52:26 PM
Right-click on the replication monitor and select the distributor
properties - you'll see the settings there.
Rgds,
Paul Ibison SQL Server MVP, www.replicationanswers.com
(recommended sql server 2000 replication book:
http://www.nwsu.com/0974973602p.html)


AddThis Social Bookmark Button