Hi @Alex P ,
Any possible issue if I lower down transaction / history retention to let's say half 24/12?
What else to look at
No possible issue. And this would be helpful.
You can also try code from this case: distribution-database-is-huge-in-size
use distribution
GO
declare @table table(PK int identity primary key, xact_seqno varbinary(16))
declare @rowcount int
declare @csgo int
declare @xact_seqno varbinary(16)
set @csgo =1
insert into @table
select xact_seqno from msrepl_transactions
where entry_time<getdate()
select @rowcount=@@rowcount
while @csgo <@rowcount
begin
select @xact_seqno =xact_seqno from @table
delete from msrepl_commands where xact_seqno=@xact_seqno
select @csgo =@csgo +1
end
And More information: sql-server-troubleshooting-distribution-database-size-is-increasing
BR,
Mia
If the answer is helpful, please click "Accept Answer" and upvote it.
Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.