allocate space

  • How do i increase the size of space that the database can use after it runs out of the initial space.

  • You can use the ALTER DATABASE command or right click the database, choose properties, change the file sizes.

  • 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?

  • Not running out of space on HD. Just want to allocate a larger chunk when the database uses all it's alolcated space.

  • 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???

  • 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).

  • 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.

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

  • 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.

  • Got it!! Thanks for all your cooments!

  • Got it!! Thanks for all your comments!

Viewing 10 posts - 1 through 9 (of 9 total)

You must be logged in to reply to this topic. Login to reply