Solved

Sql server data file size limitation?

Posted on 2007-11-20
4
1,319 Views
Last Modified: 2008-02-01
I have a sql diag software that is managing stats on my sql servers. I have a number of data files and log files that are at 99% used.  Where are the defined limits at?  What happens if those thresholds are met.  Can I changed these limits?

THanks,
0
Comment
Question by:mkurtzhals
  • 2
4 Comments
 
LVL 18

Expert Comment

by:Yveau
ID: 20320410
Put the files on autogrowth and the disksize of your HD will be the limit.
In SSMS, right click on the connected database, choose properties and go to the files page.
It's the fifth column: Autogrowth.

Hope this helps ...
0
 
LVL 2

Author Comment

by:mkurtzhals
ID: 20320541
Yep I have it set to By 1 MB , unrestricted growth..
0
 
LVL 8

Accepted Solution

by:
doobdave earned 300 total points
ID: 20321122
Hi there,

the "99% used" refers to the amount of space in the data & log files that is actually currently being used.
Once this reaches 100% and the DB needs to grow, it will autogrow (if this setting is turned on) by the amount specified in the AUTOGROW setting.
I would suggest a figure greater than 1MB for autogrow, though this depends on the DB.
If there are lots of updates & inserts I normally choose AUTOGROW by 10%.  If it's failry static then you can use a lower figure.
This reduces the overhead of having to grow the DB files frequently.

Best Regards,

David
0
 
LVL 18

Assisted Solution

by:Yveau
Yveau earned 200 total points
ID: 20322440
doobdave is correct, use a larger number than 1MB. Autogrowing is a lot of overhead, try to avoid lots of autogrowth moments, so if if has to happen, make a 'big leap'.
Also, once the database has grown again with more than 1MB, you will see that the number of free MB's will be larger and thus the 99% will drop.

Hope this helps ...
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

International Data Corporation (IDC) prognosticates that before the current the year gets over disbursing on IT framework products to be sent in cloud environs will be $37.1B.
For both online and offline retail, the cross-channel business is the most recent pattern in the B2C trade space.
Via a live example, show how to set up a backup for SQL Server using a Maintenance Plan and how to schedule the job into SQL Server Agent.
Using examples as well as descriptions, and references to Books Online, show the documentation available for datatypes, explain the available data types and show how data can be passed into and out of variables.

770 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