SQL database file size vs. database backup file size

I'm using SQL Express 2012. The database size shows as 3958.25 MB.  The size of the daily backup file for this database shows as 3045.38 MB.  Should they be the same size or does the backup compress the file?


Thanks,
cja
cja-tech-guyAsked:
Who is Participating?

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

x
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.

Vitor MontalvãoMSSQL Senior EngineerCommented:
Should they be the same size or does the backup compress the file
Compress feature is only available on Enterprise Edition. Size of the file doesn't mean that all file is filled with data. Usually is empty space inside the data files. Backup size (without compression) tells you the real size of data.

You can use SSMS to see the percentage of data in each data file by choosing the Disk Usage report:
SSMS-Reports.PNG
0

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
cja-tech-guyAuthor Commented:
Vitor

Attached is a screen shot of the "disk usage report".  It shows the database size as 2.9 Gb which is closer to the size of the backup file.  Do you think this is right?  I want to make sure I can restore the entire database from the backup file if necessary.

Thanks,
cja
disk-usage-report.pdf
0
Vitor MontalvãoMSSQL Senior EngineerCommented:
Yes. 3045.38MB / 1024 = 2.97400390625 GB
0
cja-tech-guyAuthor Commented:
thanks
0
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

From novice to tech pro — start learning today.