Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Increasing the size of an existing database

Status
Not open for further replies.

web4fun

MIS
Oct 2, 2002
127
US
For SQL Server 2005, what is the preferred method for increasing the size of a database; i.e. we currently have allocated 20GB for some databases, but we misallocated and should have set the initial size to 50GB for each database, we are trying to mitigate performance problems involving automatic growth and thus we want to get the initial sizes correct. Some of the databases are currently being accessed while others are not as we are in the testing phase of our applications. I assume whichever method I use, will require some downtime.

Thanks in advance. Apologies if this is too trivial.
 
There is no down time required at all. Just select database properties from SSMS and set the size on the db files page.

- Paul
- If at first you don't succeed, find out if the loser gets anything.
 
Thanks Paul, I saw that in SSMS but didn't know if it could be done while the dbs were online.

Thanks again.
 
yup. It will cause a dip in performance but you don't have to kick out your users.

- Paul
- If at first you don't succeed, find out if the loser gets anything.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top