Log in
::
Register
::
Not logged in
Home
Tags
Articles
Editorials
Stairways
Forums
Scripts
Videos
Blogs
QotD
Books
Ask SSC
SQL Jobs
Training
Authors
About us
Contact us
Newsletters
Write for us
Recent Posts
Recent Posts
Popular Topics
Popular Topics
Home
Search
Members
Calendar
Who's On
Home
»
SQL Server 2008
»
SQL Server 2008 Administration
»
autogrowth
15 posts, Page 1 of 2
1
2
»»
autogrowth
Rate Topic
Display Mode
Topic Options
Author
Message
sqlfriends
sqlfriends
Posted Wednesday, November 28, 2012 12:09 PM
SSCommitted
Group: General Forum Members
Last Login: Today @ 5:35 PM
Points: 1,601,
Visits: 2,779
I would like to know as a dba practice, do you setup the autogrow for file size to a restricted file growth or unrestricted file growth.
Thanks
Post #1390047
Evil Kraig F
Evil Kraig F
Posted Wednesday, November 28, 2012 12:17 PM
SSCertifiable
Group: General Forum Members
Last Login: Today @ 6:32 PM
Points: 5,670,
Visits: 6,111
Personally, unrestricted with warnings that watch the drive(s) itself for space issues.
- Craig Farrell
Never stop learning, even if it hurts. Ego bruises are practically mandatory as you learn unless you've never risked enough to make a mistake.
For better assistance in answering your questions
|
Forum Netiquette
For index/tuning help, follow these directions.
|
Tally Tables
Twitter: @AnyWayDBA
Post #1390053
Richard Fryar
Richard Fryar
Posted Wednesday, November 28, 2012 12:24 PM
SSC Veteran
Group: General Forum Members
Last Login: Yesterday @ 6:18 AM
Points: 242,
Visits: 882
If you have the ability to receive alerts when disk space is getting low, then unrestricted growth makes sense.
On the other hand, you don't want one out-of-control database to create problems for other databases on a shared server, so for some environments it makes sense to set a restricted size and monitor file usage carefully.
Personally I receive alerts when a filegroup is getting full, and also when an autogrowth has occurred, so I get plenty of advance warning of potential space problems.
FREE DOWNLOAD
www.sqlcopilot.com
Post #1390058
MyDoggieJessie
MyDoggieJessie
Posted Wednesday, November 28, 2012 8:13 PM
SSCrazy
Group: General Forum Members
Last Login: Friday, May 17, 2013 8:50 AM
Points: 2,037,
Visits: 3,759
Reasoning for wanted to limit frequent file growth is because of the contention created by having to grow the data/log files on the disk(s). It's often best to choose an appropriate size in advance to minimize this growth, if the file does have to grown, consider choosing a large enough size in MB's so that it won't have to do it again.
______________________________________________________________________________
"Never argue with an idiot; They'll drag you down to their level and beat you with experience"
Post #1390237
prettsons
prettsons
Posted Wednesday, November 28, 2012 9:22 PM
SSC Journeyman
Group: General Forum Members
Last Login: Today @ 1:24 AM
Points: 99,
Visits: 1,029
I found this interesting KB article
Considerations for the "autogrow" and "autoshrink" settings in SQL Server
..
SQL Database Recovery Expert
Post #1390265
Grant Fritchey
Grant Fritchey
Posted Thursday, November 29, 2012 5:46 AM
SSChampion
Group: General Forum Members
Last Login: Today @ 3:04 PM
Points: 13,375,
Visits: 25,159
Personally, unrestricted with lots and lots and lots of monitoring and alerts in place so that I can try to prevent the disks from filling up. Either approach has downsides. If you restrict the growth, you avoid filling the drive, but, you put a database into read only mode. Depending on the database in your system, that could be a resume generating event.
----------------------------------------------------
"The credit belongs to the man who is actually in the arena, whose face is marred by dust and sweat and blood..." Theodore Roosevelt
The Scary DBA
Author of:
SQL Server 2012 Query Performance Tuning
SQL Server 2008 Query Performance Tuning Distilled
and
SQL Server Execution Plans
Product Evangelist for
Red Gate Software
Post #1390466
sqlfriends
sqlfriends
Posted Thursday, November 29, 2012 9:51 AM
SSCommitted
Group: General Forum Members
Last Login: Today @ 5:35 PM
Points: 1,601,
Visits: 2,779
Thanks, currently we do have own DiskspaceCheck sql job to monitor the disk space.
So we set it to unrestricted.
But I see some people are using restricted method.
I am curious if it is set to restricted size and if it is full, what will happen, does it generate any errors or an alert and notifiy DBA, how is this alert set up?
You said the database will become to readonly, is it automatically change it readonly mode?
Thanks
Post #1390687
Grant Fritchey
Grant Fritchey
Posted Thursday, November 29, 2012 10:02 AM
SSChampion
Group: General Forum Members
Last Login: Today @ 3:04 PM
Points: 13,375,
Visits: 25,159
Yes & no. It just stops allowing writes. You get errors. Reads work fine. All writes stop because there's nowhere for them to go.
----------------------------------------------------
"The credit belongs to the man who is actually in the arena, whose face is marred by dust and sweat and blood..." Theodore Roosevelt
The Scary DBA
Author of:
SQL Server 2012 Query Performance Tuning
SQL Server 2008 Query Performance Tuning Distilled
and
SQL Server Execution Plans
Product Evangelist for
Red Gate Software
Post #1390700
sqlfriends
sqlfriends
Posted Thursday, November 29, 2012 10:46 AM
SSCommitted
Group: General Forum Members
Last Login: Today @ 5:35 PM
Points: 1,601,
Visits: 2,779
So, it doesnot send any kind of alerts to DBA proactively?
Post #1390724
Grant Fritchey
Grant Fritchey
Posted Thursday, November 29, 2012 10:50 AM
SSChampion
Group: General Forum Members
Last Login: Today @ 3:04 PM
Points: 13,375,
Visits: 25,159
I wasn't aware that SQL Server on it's own EVER sent anything to the DBA proactively. All monitoring has to be built or bought.
----------------------------------------------------
"The credit belongs to the man who is actually in the arena, whose face is marred by dust and sweat and blood..." Theodore Roosevelt
The Scary DBA
Author of:
SQL Server 2012 Query Performance Tuning
SQL Server 2008 Query Performance Tuning Distilled
and
SQL Server Execution Plans
Product Evangelist for
Red Gate Software
Post #1390726
« Prev Topic
|
Next Topic »
15 posts, Page 1 of 2
1
2
»»
Permissions
You
cannot
post new topics.
You
cannot
post topic replies.
You
cannot
post new polls.
You
cannot
post replies to polls.
You
cannot
edit your own topics.
You
cannot
delete your own topics.
You
cannot
edit other topics.
You
cannot
delete other topics.
You
cannot
edit your own posts.
You
cannot
edit other posts.
You
cannot
delete your own posts.
You
cannot
delete other posts.
You
cannot
post events.
You
cannot
edit your own events.
You
cannot
edit other events.
You
cannot
delete your own events.
You
cannot
delete other events.
You
cannot
send private messages.
You
cannot
send emails.
You
may
read topics.
You
cannot
rate topics.
You
cannot
vote within polls.
You
cannot
upload attachments.
You
may
download attachments.
You
cannot
post HTML code.
You
cannot
edit HTML code.
You
cannot
post IFCode.
You
cannot
post JavaScript.
You
cannot
post EmotIcons.
You
cannot
post or upload images.
Copyright © 2002-2013 Simple Talk Publishing. All Rights Reserved.
Privacy Policy.
Terms of Use.
Report Abuse.