Change the cleanup cycle in Distribution clean up:distribution

Can I change EXEC dbo.sp_MSdistribution_cleanup @min_distretention = 0, @max_distretention = 72 to EXEC dbo.sp_MSdistribution_cleanup @min_distretention = 0, @max_distretention = 12 so that cleanup will take place every 12 hrs and my network drive does not get filled up.
more ▼

asked Sep 18 '12 at 01:26 PM in Default

Chitrarekha gravatar image

140 30 38 43

(comments are locked)
10|1200 characters needed characters left

1 answer: sort voted first

I have had to do this once or twice before. As the post below states, please test first

Use this post a reference..

more ▼

answered Sep 18 '12 at 07:17 PM

sp_lock gravatar image

9k 24 27 30

(comments are locked)
10|1200 characters needed characters left
Your answer
toggle preview:

Up to 2 attachments (including images) can be used with a maximum of 524.3 kB each and 1.0 MB total.

New code box

There's a new way to format code on the site - the red speech bubble logo will automatically format T-SQL for you. The original code box is still there for XML, etc. More details here.

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here



Answers and Comments

SQL Server Central

Need long-form SQL discussion? SQLserverCentral.com is the place.



asked: Sep 18 '12 at 01:26 PM

Seen: 556 times

Last Updated: Sep 18 '12 at 07:17 PM