Solved

SQL Server database size

Posted on 2009-05-14
7
453 Views
Last Modified: 2012-06-21
When I right click on a database and select properties in the general tab I see that
Size is    6000.00 MB
Available space    0.00 MB.
So what should I do? Any help
0
Comment
Question by:aatishpatel
7 Comments
 
LVL 3

Expert Comment

by:crystal_tower
ID: 24387780
Do you encounter any problems with this situation?

Maybe try to run
DBCC UPDATEUSAGE
to update the value.

Also, you may consider looking at autogrowth parameter.
Do you maintain the database? (like do you run update stats?)
0
 
LVL 6

Expert Comment

by:bull_rider
ID: 24387825
Either you can set the autgrowth parameter or you can add one more file group to the database to increase the size of the database.
0
 
LVL 1

Expert Comment

by:jrroby
ID: 24387835
If you have autogrowth enabled for this database then you don't need to worry about the available space as it will acquire more space as needed. If you don't have autogrowth enabled, then you will need to go into the properties of the database and under files, change the initial size of the database to whatever size you think the database may expand to. Ultimately, I would recommend you switch to unrestricted growth under the autogrowth column so you don't have to keep going back and adjusting the size of the database. Once that is enabled, you will have to monitor your drive space to make sure you don't run out.
0
PRTG Network Monitor: Intuitive Network Monitoring

Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.

 
LVL 3

Accepted Solution

by:
crystal_tower earned 500 total points
ID: 24388009
Autogrowth,,..yes: it is said, that it is recommended to keep 10% for small and medium sized databases, but consider setting sth like 1Gb for large databases.
10% for 100Gb database can render problems, or at least unexpected slow downs.
0
 
LVL 7

Expert Comment

by:Hemantgiri S. Goswami
ID: 24392111
Hi Aatish,
What is the problem you are facing here!!  Is your server runing out of space!!  With autogrow enabled (w/o restriction, limitation) your database will grow and occupy the space from the Operating system as and when it needs.
Regards
Hemantgiri S. Goswami
0
 

Author Comment

by:aatishpatel
ID: 24403977
no the  disk space is a bit ok but i just saw that available size is 0.00 Mb and was worried
0
 

Author Closing Comment

by:aatishpatel
ID: 31581601
thanx
0

Featured Post

Efficient way to get backups off site to Azure

This user guide provides instructions on how to deploy and configure both a StoneFly Scale Out NAS Enterprise Cloud Drive virtual machine and Veeam Cloud Connect in the Microsoft Azure Cloud.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

This article explains how to reset the password of the sa account on a Microsoft SQL Server.  The steps in this article work in SQL 2005, 2008, 2008 R2, 2012, 2014 and 2016.
For both online and offline retail, the cross-channel business is the most recent pattern in the B2C trade space.
Viewers will learn how to use the INSERT statement to insert data into their tables. It will also introduce the NULL statement, to show them what happens when no value is giving for any given column.
Viewers will learn how to use the SELECT statement in SQL to return specific rows and columns, with various degrees of sorting and limits in place.

785 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question