Hi,
We have couple Merge replication publications and now we noticed that distribution database log file is about 60gb. We would like to reduce size of log file.
What I have tried:
EXEC dbo.sp_MSdistribution_cleanup @min_distretention = 0, @max_distretention = 12 EXEC dbo.sp_MShistory_cleanup @history_retention = 12 DBCC SHRINKFILE (N'distribution_log',471)
but no luck.
These does not return anything:
select * FROM [distribution].[dbo].[MSrepl_transactions](nolock) select * FROM [distribution].[dbo].[MSrepl_commands](nolock)
log_reuse_wait_desc shows NOTHING:
SELECT log_reuse_wait_desc,name from sys.databases
Subscription expiration is set to 36 hours on all publications.
Any ideas?
Thanks