Quantcast
Channel: SQL Server High Availability and Disaster Recovery forum
Viewing all articles
Browse latest Browse all 4689

sp_delete_backuphistory is taking huge time to delete backup history from msdb

$
0
0

Hello,

I have around 800 DBs in my instance where I configured Full - daily, Diff - twice in a day and Log - every 15 mins. With this, my backup% tables resides in MSDB are rowing up very fast. I do have a maintenance plan which actually deletes these history from msdb everyday. But, this job taking a lot of time(like even 2 hours sometimes) which resulted to block other regular jobs like Log backups since Deleting acquires exclusive lock on tables.

Do we have any faster way to achieve this ? Appreciate your help. Thank you.

FYI, I am using SQL Server 2008R2 SP1 EE.


Viewing all articles
Browse latest Browse all 4689

Trending Articles



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