make a history of database size (aprox) using backup history..

how can you spin a query from msdb that can give approx. size of DB how it was historically.
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.

25112Author Commented:
msdb has history for 6 years.. so maybe a rpt like this for every first of month:

Jan 1 2012: ___GB
Feb 1 2012: ___GB
Mar 1 2012: ___GB
Apr 1 2012: ___GB

the GB___ can be approx.

is this the only way to gauge the historical db size (without having profiled it periodically, which would been ideal)
Deepak ChauhanSQL Server DBACommented:
Yes this is the best way to track the actual database size history.

select database_name, backup_size, compressed_backup_size , 
backup_start_date, backup_finish_date
from msdb.dbo.backupset where type='D'
order by backup_finish_date desc

Open in new window

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
25112Author Commented:
thanks.. now that is the compressed backup size, right? is there a way to deduce the actual db  size?
10 Tips to Protect Your Business from Ransomware

Did you know that ransomware is the most widespread, destructive malware in the world today? It accounts for 39% of all security breaches, with ransomware gangsters projected to make $11.5B in profits from online extortion by 2019.

Vitor MontalvãoMSSQL Senior EngineerCommented:
backup_size should return the db size. It's already in the select above.
25112Author Commented:
25112Author Commented:
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
Microsoft SQL Server 2008

From novice to tech pro — start learning today.