Quantcast
Channel: SQL Server Database Engine forum
Viewing all articles
Browse latest Browse all 12963

Reducing main file size

$
0
0

Hi,

We had a large .mdf file of size around 135 gb. We splited the one .mdf file into 3 secondary files [.mdf, .ndf1,.ndf2,.ndf3] so as to increase the File I/O. We were adviced that reindexing tables will move data to secondary files thereby distributing the data equally among all data files. We are able to reduce the main .mdf file size from 135 to around 95 gb but we are unable to reduce it further.
I often run reindexall command to move data to secondary files but of no use. I have stopped file growth on the main file to enable data distrivution to secondary files but the .mdf files is stuck on 95gb size.

Is there any way to distribute data by moving it from .mdf file to .ndf file?



Shady


Viewing all articles
Browse latest Browse all 12963

Trending Articles



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