Quantcast
Channel: SQL Server Replication forum
Viewing all articles
Browse latest Browse all 4054

MSRepl_Commands table is huge - 456Gb

$
0
0

I have a "MSRepl_Commands" table which has grown up to 456Gb in size. It keeps growing everyday. Can someone help me finding a fix or remedy to purge this table, please?

 

Work done so far:

  • Updated the sys.publications to set immediate_sync & allow_anonymous properties to FALSE and also set theSubscriptions Expire retention to48hrs.

 

  • Ensured that the delete procs "sp_MSdelete_publisherdb_trans" and "sp_MSdelete_dodelete" are altered as ‘Delete Top 100000’.

  • Ensured that the "Distribution cleanup" and "Agent history cleanup" jobs are running properly.

 

 

Any assistance and / guidance here is highly solicited and will be appreciated.


Viewing all articles
Browse latest Browse all 4054

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>