After adding data files to a file group Is there a way to distribute the data into the new files?

Posted by Blootac on Server Fault See other posts from Server Fault or by Blootac
Published on 2010-04-26T15:05:30Z Indexed on 2010/04/26 15:13 UTC
Read the original article Hit count: 252

I have a database in a single file group, with a single file group. I've added 7 data files to this file group. Is there a way to rebalance the data over the 8 data files other than by telling sql server to empty the original? If this is the only way, is it possible to allow sql server to start writing to this file? MSDN says that once its empty its marked so no new data will be written to it.

What I'm aiming for is 8 equally balanced data files.

I'm running SQL Server 2005 standard edition.

Thanks

© Server Fault or respective owner

Related posts about sql-server

Related posts about sql-server-2005