August 27, 2007 at 9:15 pm
Hello,
I am helping to check and report the size of a database weekly. I use stored procedure sp_spaceused to get database_size every monday. But in the past three weeks, I always got the same size of 108.50MB. It is weird because data are uploaded into database everyday, and database size should increase.
I am new on this. I did google it and couldn't find good answer. Can anyone help me?
Thanks a lot,
Shilong
August 27, 2007 at 11:01 pm
The database has been grown already by either a percentage or a fixed amount and if the new data fits into what was allotted, it will not grow again even if you add new data until the data no longer fits.
You need to read up about GROWTH and files sizes in Books Online. Lookup database properties and the like. Also, you say you are "helping to check and report the size of a database weekly". Doesn't whoever you're helping already know this? Why didn't you ask him/her?
--Jeff Moden
Change is inevitable... Change for the better is not.
August 28, 2007 at 12:43 am
If you look at the full result of sp_spaceused you should see that data and Index_size have been growing whilt unused is getting smaller. The database itself won't grow, until the unused space is too small to allacate the new data.
Markus
[font="Verdana"]Markus Bohse[/font]
Viewing 3 posts - 1 through 3 (of 3 total)
You must be logged in to reply to this topic. Login to reply