MSDB has grown to 85 gb.

On one of the sql server, the msdb databases has grown to 85 gb.
We do have a plan to back up or clean it but still not sure how it happened.

We have total of 900 databases on this server.

Now I need help how I can reduce the size of msdb, will shrink work here?
Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Raja Jegan RSQL Server DBA & Architect, EE Solution GuideCommented:
If msdb database is growing, then it might be due to the backup history details..
Try deleting the backup history details by running the below script:(To be sure that it is the backup tables, try generating the Disk Usage by top tables for msdb database and you should see the backup related tables there)
use msdb
exec sp_delete_backuphistory '2017-05-01' 

Open in new window

Vitor MontalvãoMSSQL Senior EngineerCommented:
Not really only Backup histories but it can be also the job histories as they are also stored in msdb database.

900 databases is really a lot for a SQL Server instance. You should start planning in distributing them on more servers and instances.

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
Raja Jegan RSQL Server DBA & Architect, EE Solution GuideCommented:
Yes, chances of job histories is less compared to Backups as ideally there will be at least one full backup and multiple transaction log backups per day and for these 900 databases, I suspect it should be Backup histories..
Anyhow, we can confirm it once author posts the disk usage by top tables report for msdb database..
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today

From novice to tech pro — start learning today.