Please start any new threads on our new site at We've got lots of great SQL Server experts to answer whatever question you can come up with.

Our new SQL Server Forums are live! Come on over! We've restricted the ability to create new threads on these forums.

SQL Server Forums
Profile | Active Topics | Members | Search | Forum FAQ
Save Password
Forgot your Password?

 All Forums
 SQL Server 2000 Forums
 SQL Server Administration (2000)
 Move MDF file vs adding an NDF file
 Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

Posting Yak Master

109 Posts

Posted - 03/16/2014 :  09:58:41  Show Profile  Reply with Quote
I have a sql server 2000 instance where the MDF for one of the databases is on the C: drive and we are running out of space.

The Database is a transactional replication subscriber - the Replication logging and Replication PUSH jobs are running on the Publisher.

If I add a Datafile (.NDF) on another Drive and then set the .MDF file to NOT autogrow, will the .MDF stop growing altogether and data will be written to the .NDF going forward?

Or am I better served to detach the database and just move the MDF file to another drive??

Almighty SQL Goddess

38200 Posts

Posted - 03/16/2014 :  12:56:47  Show Profile  Visit tkizer's Homepage  Reply with Quote
Yes if you set the MDF file to not autogrow, it will use the NDF file. SQL Server uses a proportional fill algorithm for the data files in a filegroup.

But I would move the MDF file to a different drive as it is not a good practice to have it on the same drive as the operating system.

Tara Kizer
SQL Server MVP since 2007
Go to Top of Page

Flowing Fount of Yak Knowledge

United Kingdom
2179 Posts

Posted - 03/17/2014 :  02:44:13  Show Profile  Visit jackv's Homepage  Reply with Quote
There are certain performance benefits by splitting out some data into different files across different drives - for example, splitting read only and write data. This requires some analysis and planning.

Jack Vamvas
Go to Top of Page
  Previous Topic Topic Next Topic  
 Reply to Topic
 Printer Friendly
Jump To:
SQL Server Forums © 2000-2009 SQLTeam Publishing, LLC Go To Top Of Page
This page was generated in 0.02 seconds. Powered By: Snitz Forums 2000