Solved

Sql server data file size limitation?

Posted on 2007-11-20
4
1,318 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
Comment Utility
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
Comment Utility
Yep I have it set to By 1 MB , unrestricted growth..
0
 
LVL 8

Accepted Solution

by:
doobdave earned 300 total points
Comment Utility
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
Comment Utility
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

6 Surprising Benefits of Threat Intelligence

All sorts of threat intelligence is available on the web. Intelligence you can learn from, and use to anticipate and prepare for future attacks.

Join & Write a Comment

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.
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.
Polish reports in Access so they look terrific. Take yourself to another level. Equations, Back Color, Alternate Back Color. Write easy VBA Code. Tighten space to use less pages. Launch report from a menu, considering criteria only when it is filled…

744 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

Need Help in Real-Time?

Connect with top rated Experts

12 Experts available now in Live!

Get 1:1 Help Now