SQL Clone
SQLServerCentral is supported by Redgate
 
Log in  ::  Register  ::  Not logged in
 
 
 


Add a Database file to an existing database


Add a Database file to an existing database

Author
Message
Jpotucek
Jpotucek
SSCommitted
SSCommitted (1.7K reputation)SSCommitted (1.7K reputation)SSCommitted (1.7K reputation)SSCommitted (1.7K reputation)SSCommitted (1.7K reputation)SSCommitted (1.7K reputation)SSCommitted (1.7K reputation)SSCommitted (1.7K reputation)

Group: General Forum Members
Points: 1650 Visits: 1677
I inherited an old SQL Server 2000 instance running 8.00.239 (SQL Server 2000 Enterprise edition / Sp4)

One of the Databases (created back in 2007) has it's Data and log files on the C: Drive. Obviously this is not ideal - having the DB files on the same partition as the operating system - and I have already moved the logfile off to another drive.

My Data File however is 25GB and I do not have enough room on the other drive to move it so I am thinking I need to add another datafile and set the datafile on the C: drive to stop growing.

My plan is to add an additional Datafile, but I have a couple of questions:

1 - should this second datafile be in the primary file group ?

2- what settings do I have to change in order for any growth to stop happening in the datafile that resides on the C drive?

Thanks in advance



Go


Permissions

You can't post new topics.
You can't post topic replies.
You can't post new polls.
You can't post replies to polls.
You can't edit your own topics.
You can't delete your own topics.
You can't edit other topics.
You can't delete other topics.
You can't edit your own posts.
You can't edit other posts.
You can't delete your own posts.
You can't delete other posts.
You can't post events.
You can't edit your own events.
You can't edit other events.
You can't delete your own events.
You can't delete other events.
You can't send private messages.
You can't send emails.
You can read topics.
You can't vote in polls.
You can't upload attachments.
You can download attachments.
You can't post HTML code.
You can't edit HTML code.
You can't post IFCode.
You can't post JavaScript.
You can post emoticons.
You can't post or upload images.

Select a forum

































































































































































SQLServerCentral


Search