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

allocate space Expand / Collapse
Author
Message
Posted Saturday, January 16, 2010 6:56 AM
Forum Newbie

Forum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum Newbie

Group: General Forum Members
Last Login: Sunday, January 17, 2010 12:46 PM
Points: 9, Visits: 12
How do i increase the size of space that the database can use after it runs out of the initial space.
Post #848726
Posted Saturday, January 16, 2010 9:55 AM


SSC-Dedicated

SSC-DedicatedSSC-DedicatedSSC-DedicatedSSC-DedicatedSSC-DedicatedSSC-DedicatedSSC-DedicatedSSC-DedicatedSSC-DedicatedSSC-DedicatedSSC-DedicatedSSC-DedicatedSSC-Dedicated

Group: Administrators
Last Login: Today @ 1:49 PM
Points: 32,768, Visits: 14,929
You can use the ALTER DATABASE command or right click the database, choose properties, change the file sizes.







Follow me on Twitter: @way0utwest

Forum Etiquette: How to post data/code on a forum to get the best help
Post #848745
Posted Saturday, January 16, 2010 10:32 AM


SSC-Insane

SSC-InsaneSSC-InsaneSSC-InsaneSSC-InsaneSSC-InsaneSSC-InsaneSSC-InsaneSSC-InsaneSSC-InsaneSSC-InsaneSSC-Insane

Group: General Forum Members
Last Login: Thursday, January 16, 2014 12:03 PM
Points: 21,376, Visits: 9,594
Are you also running out of space on the HD?.. or just in the DB file with error messages cropping up when trying to change some data?
Post #848752
Posted Sunday, January 17, 2010 5:15 AM
Forum Newbie

Forum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum Newbie

Group: General Forum Members
Last Login: Sunday, January 17, 2010 12:46 PM
Points: 9, Visits: 12
Not running out of space on HD. Just want to allocate a larger chunk when the database uses all it's alolcated space.
Post #848854
Posted Sunday, January 17, 2010 5:23 AM
Forum Newbie

Forum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum Newbie

Group: General Forum Members
Last Login: Sunday, January 17, 2010 12:46 PM
Points: 9, Visits: 12
I want to increase the free space allocation. Whne I highlight the database and right click to properties. I can't enter anything in the free space field ot the database size field???
Post #848855
Posted Sunday, January 17, 2010 9:20 AM


SSC-Insane

SSC-InsaneSSC-InsaneSSC-InsaneSSC-InsaneSSC-InsaneSSC-InsaneSSC-InsaneSSC-InsaneSSC-InsaneSSC-InsaneSSC-Insane

Group: General Forum Members
Last Login: Thursday, January 16, 2014 12:03 PM
Points: 21,376, Visits: 9,594
Check out alter database in books online. You can change the size from those command options.

In the GUI you must change the size of the files (free spaces is computed data from space used and file size).
Post #848872
Posted Sunday, January 17, 2010 9:35 AM
SSCertifiable

SSCertifiableSSCertifiableSSCertifiableSSCertifiableSSCertifiableSSCertifiableSSCertifiableSSCertifiableSSCertifiable

Group: General Forum Members
Last Login: Today @ 3:53 PM
Points: 5,845, Visits: 12,576
by default database are usually set to autogrow anyway. you may want to check this setting and confirm the growth factors are something sensible (50 - 100Mb usually good but is dependant on current database size).

If you know the size you want the database to be then growing it to that size in one chunk is the best way, but if you have the disk capacity and there is a chance of sudden unexpected growth then leaving autogrowth turned on is a good idea. Better to have the database grow a bit then run out of space.



---------------------------------------------------------------------

Post #848874
Posted Sunday, January 17, 2010 9:59 AM


SSC-Dedicated

SSC-DedicatedSSC-DedicatedSSC-DedicatedSSC-DedicatedSSC-DedicatedSSC-DedicatedSSC-DedicatedSSC-DedicatedSSC-DedicatedSSC-DedicatedSSC-DedicatedSSC-DedicatedSSC-Dedicated

Group: Administrators
Last Login: Today @ 1:49 PM
Points: 32,768, Visits: 14,929
Autogrow ought to be turned on. You don't want your database failing because you can't respond or you're asleep.

However, you want to grow in large chunks, and minimize growths as it can create physical fragmentation on the disk. Grow enough space for 3-4 months. Keep watching, grow again as needed.

And as mentioned, you change the total size, not the free space.







Follow me on Twitter: @way0utwest

Forum Etiquette: How to post data/code on a forum to get the best help
Post #848878
Posted Sunday, January 17, 2010 1:02 PM
Forum Newbie

Forum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum Newbie

Group: General Forum Members
Last Login: Sunday, January 17, 2010 12:46 PM
Points: 9, Visits: 12
Got it!! Thanks for all your cooments!
Post #848895
Posted Sunday, January 17, 2010 1:03 PM
Forum Newbie

Forum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum Newbie

Group: General Forum Members
Last Login: Sunday, January 17, 2010 12:46 PM
Points: 9, Visits: 12
Got it!! Thanks for all your comments!
Post #848896
« Prev Topic | Next Topic »

Add to briefcase

Permissions Expand / Collapse