Solved

percent filegrowth settings

Posted on 2014-04-10
4
225 Views
Last Modified: 2014-04-16
can I ask what risks/issues are caused by using percent filegrowth settings? Please keep answer tech free management freindly if possible? Healthcheck scanners say this setting can lead to out of control filegrowth, why so?
0
Comment
Question by:pma111
[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
4 Comments
 
LVL 35

Assisted Solution

by:YZlat
YZlat earned 125 total points
ID: 39991656
it's not bad for small databases, but when database is rather large, even 10-15% growth can cause performance issues
0
 
LVL 10

Assisted Solution

by:PadawanDBA
PadawanDBA earned 125 total points
ID: 39991658
I usually recommend actual size amounts (512 MB, 1024 MB, etc.).  The reason for this being that as the database grows larger it will grow by larger and larger amounts.  If you don't have some settings set on your database server (what's called instant file initialization), this can cause all activity in the database to stop until it is done growing the file(s).

My best advice is to make the size of the data files as large as they need to be to handle growth up to a point in time where you would migrate the database(s) to new hardware and allow for the filegrowth as a last resort.  I say last resort because I absolutely don't advise anyone to disable filegrowth because it will essentially offline your database if you hit the limit and it can't grow.

Edit:

Forgot to mention that when you decide how much you want your database to grow in the event that it needs to autogrow, you introduce physical fragmentation every time it auto grows, so you will want to make it grow by a large enough size that it doesn't happen often (or at least gives you time to address the issue)
0
 
LVL 22

Accepted Solution

by:
Steve Wales earned 125 total points
ID: 39991789
The reason it can cause out of control file growth is because it's not growing by a percentage of the size of the file at the time it was created, but by the current size.

So you start with 100GB with 10% growth.  After the first grow, you're at 110GB.  Next time you're at 121 GB, then 132.1 GB etc.  Each growth gets a little larger.

If you set larger growth percentages, it's obviously worse:

100 GB at 50% - 150 GB - 225 GB - 332.5 GB etc.

As mentioned above, not so much of an issue on smaller databases, but on larger databases with larger growth percentages it can be an issue.

Autogrowth vs No autogrowth is also an argument I've seen discussed many times in both the SQL Server and Oracle technical forums.

I always monitor freespace in my databases carefully so that I can control growth on my terms in a manner and timeframe that suits me - so I try to avoid databases auto growing by themselves - but the feature is still turned on.
0
 
LVL 69

Assisted Solution

by:Scott Pletcher
Scott Pletcher earned 125 total points
ID: 39992062
I suggest never using percentage growth.  I've found it to be slower than a fixed amount.

Change the size settings on the model db to a fixed amount of what a "typical" db in your environment would need.
0

Featured Post

MIM Survival Guide for Service Desk Managers

Major incidents can send mastered service desk processes into disorder. Systems and tools produce the data needed to resolve these incidents, but your challenge is getting that information to the right people fast. Check out the Survival Guide and begin bringing order to chaos.

Question has a verified solution.

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

When it comes to protecting Oracle Database servers and systems, there are a ton of myths out there. Here are the most common.
This post contains step-by-step instructions for setting up alerting in Percona Monitoring and Management (PMM) using Grafana.
Viewers will learn how to use the UPDATE and DELETE statements to change or remove existing data from their tables. Make a table: Update a specific column given a specific row using the UPDATE statement: Remove a set of values using the DELETE s…
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…

729 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