Solved

Sql server data file size limitation?

Posted on 2007-11-20
4
1,321 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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

Why You Need a DevOps Toolchain

IT needs to deliver services with more agility and velocity. IT must roll out application features and innovations faster to keep up with customer demands, which is where a DevOps toolchain steps in. View the infographic to see why you need a DevOps toolchain.

Question has a verified solution.

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

Ever wondered why sometimes your SQL Server is slow or unresponsive with connections spiking up but by the time you go in, all is well? The following article will show you how to install and configure a SQL job that will send you email alerts includ…
In the first part of this tutorial we will cover the prerequisites for installing SQL Server vNext on Linux.
Via a live example combined with referencing Books Online, show some of the information that can be extracted from the Catalog Views in SQL Server.
This videos aims to give the viewer a basic demonstration of how a user can query current session information by using the SYS_CONTEXT function

739 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