Solved

SQL Server database size

Posted on 2009-05-14
7
467 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
Ransomware-A Revenue Bonanza for Service Providers

Ransomware – malware that gets on your customers’ computers, encrypts their data, and extorts a hefty ransom for the decryption keys – is a surging new threat.  The purpose of this eBook is to educate the reader about ransomware attacks.

 
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

Visualize your virtual and backup environments

Create well-organized and polished visualizations of your virtual and backup environments when planning VMware vSphere, Microsoft Hyper-V or Veeam deployments. It helps you to gain better visibility and valuable business insights.

Question has a verified solution.

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

Suggested Solutions

Everyone has problem when going to load data into Data warehouse (EDW). They all need to confirm that data quality is good but they don't no how to proceed. Microsoft has provided new task within SSIS 2008 called "Data Profiler Task". It solve th…
This article shows gives you an overview on SQL Server 2016 row level security. You will also get to know the usages of row-level-security and how it works
This video shows, step by step, how to configure Oracle Heterogeneous Services via the Generic Gateway Agent in order to make a connection from an Oracle session and access a remote SQL Server database table.
This video shows how to set up a shell script to accept a positional parameter when called, pass that to a SQL script, accept the output from the statement back and then manipulate it in the Shell.

685 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