Click here to monitor SSC
SQLServerCentral is supported by Red Gate Software Ltd.
 
Log in  ::  Register  ::  Not logged in
 
 
 
        
Home       Members    Calendar    Who's On


Add to briefcase 12»»

autogrowth Expand / Collapse
Author
Message
Posted Wednesday, November 28, 2012 12:09 PM
SSCommitted

SSCommittedSSCommittedSSCommittedSSCommittedSSCommittedSSCommittedSSCommittedSSCommitted

Group: General Forum Members
Last Login: Yesterday @ 1:56 PM
Points: 1,773, Visits: 3,206
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
Posted Wednesday, November 28, 2012 12:17 PM


SSCertifiable

SSCertifiableSSCertifiableSSCertifiableSSCertifiableSSCertifiableSSCertifiableSSCertifiableSSCertifiableSSCertifiable

Group: General Forum Members
Last Login: Today @ 11:42 AM
Points: 6,250, Visits: 7,405
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
Posted Wednesday, November 28, 2012 12:24 PM
SSC Veteran

SSC VeteranSSC VeteranSSC VeteranSSC VeteranSSC VeteranSSC VeteranSSC VeteranSSC Veteran

Group: General Forum Members
Last Login: Sunday, May 25, 2014 10:09 AM
Points: 283, Visits: 1,114
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.



Check Your SQL Servers Quickly and Easily
www.sqlcopilot.com
Post #1390058
Posted Wednesday, November 28, 2012 8:13 PM


Hall of Fame

Hall of FameHall of FameHall of FameHall of FameHall of FameHall of FameHall of FameHall of FameHall of Fame

Group: General Forum Members
Last Login: Wednesday, August 20, 2014 9:31 AM
Points: 3,900, Visits: 7,138
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
Posted Wednesday, November 28, 2012 9:22 PM


SSC-Enthusiastic

SSC-EnthusiasticSSC-EnthusiasticSSC-EnthusiasticSSC-EnthusiasticSSC-EnthusiasticSSC-EnthusiasticSSC-EnthusiasticSSC-Enthusiastic

Group: General Forum Members
Last Login: Wednesday, August 13, 2014 10:51 PM
Points: 112, Visits: 1,209
I found this interesting KB article Considerations for the "autogrow" and "autoshrink" settings in SQL Server..



SQL Database Recovery Expert
Post #1390265
Posted Thursday, November 29, 2012 5:46 AM


SSCoach

SSCoachSSCoachSSCoachSSCoachSSCoachSSCoachSSCoachSSCoachSSCoachSSCoachSSCoach

Group: General Forum Members
Last Login: Yesterday @ 10:09 AM
Points: 15,661, Visits: 28,050
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
Posted Thursday, November 29, 2012 9:51 AM
SSCommitted

SSCommittedSSCommittedSSCommittedSSCommittedSSCommittedSSCommittedSSCommittedSSCommitted

Group: General Forum Members
Last Login: Yesterday @ 1:56 PM
Points: 1,773, Visits: 3,206
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
Posted Thursday, November 29, 2012 10:02 AM


SSCoach

SSCoachSSCoachSSCoachSSCoachSSCoachSSCoachSSCoachSSCoachSSCoachSSCoachSSCoach

Group: General Forum Members
Last Login: Yesterday @ 10:09 AM
Points: 15,661, Visits: 28,050
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
Posted Thursday, November 29, 2012 10:46 AM
SSCommitted

SSCommittedSSCommittedSSCommittedSSCommittedSSCommittedSSCommittedSSCommittedSSCommitted

Group: General Forum Members
Last Login: Yesterday @ 1:56 PM
Points: 1,773, Visits: 3,206
So, it doesnot send any kind of alerts to DBA proactively?
Post #1390724
Posted Thursday, November 29, 2012 10:50 AM


SSCoach

SSCoachSSCoachSSCoachSSCoachSSCoachSSCoachSSCoachSSCoachSSCoachSSCoachSSCoach

Group: General Forum Members
Last Login: Yesterday @ 10:09 AM
Points: 15,661, Visits: 28,050
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 »

Add to briefcase 12»»

Permissions Expand / Collapse