| 
	
 | 
 Posted by Erland Sommarskog on 04/11/06 01:15 
(developmental2@walla.com) writes: 
> If I want to split an SQL DB into several physical files (as its 500GB 
> disk ran out of space, won't even run shrinks any more, and we bought 
> another 500GB disk to add to the PC) 
> then what is the difference between: 
> Adding another File to the primary group which will reside on the new 
> group; 
> Adding another file in another group. 
 
If you add another filegroup, you need to move objects, as objects 
below to a filegroup. Since you don't want to that, you should add 
a secondary file to the primary filegroup. 
 
I don't have much experience of secondary files myself, but I would 
expect SQL Server start to spill over the new file, as soon as it is 
available.  
 
If you want to have certainty, it could be a good idea to set up a 
small-size test, before you go ahead with the big database. 
 
--  
Erland Sommarskog, SQL Server MVP, esquel@sommarskog.se 
 
Books Online for SQL Server 2005 at 
http://www.microsoft.com/technet/prodtechnol/sql/2005/downloads/books.mspx 
Books Online for SQL Server 2000 at 
http://www.microsoft.com/sql/prodinfo/previousversions/books.mspx
 
  
Navigation:
[Reply to this message] 
 |