Quantcast
Viewing all articles
Browse latest Browse all 15889

SQL 2008 Primary Data file fragmentation

I have 500 GB total database size.

It has a primary data file mdf file with 320 GB size currently in the primary FG.

When the primary data file was 200 GB I added 2 data files to the primary file group named data1.ndf and data2.ndf. Ever since I added that the .mdf file has grown to 320 GB from 200 GB. But the 2 added data files have grown to 2 gb each.

I am kind of lost here. When I added the data files to a file group, SQL Server is suppose to fill each data file in a round robin way. I do not see that happened here. 

It is not giving any performance issues or anything. But I am wondering why sql server did not consider the 2 additional data files to allocate extents when expanding.

Other thing to mention is that I put the non-clustered indexes in a different FG called Index_fg and it has 3 data files. It has nothing to do with the Primary fg.

Any insight would be appreciated.

Thanks in advance


Viewing all articles
Browse latest Browse all 15889

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>