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

Running disk defragmenter stuck on 3% "moving *.mdf"

$
0
0

Im trying to clean up a development server and I noticed 2 of the disks were badly in need of defragging.

So I kick off the disk defragmenter, and noticed in the status bar its saying "Defragmenting... 3%  Moving mydata_file_here.mdf"  (name changed)

It did finally move on to another file, but these are clearly files that are being used by sql.

Should I turn the services off while running defragmenter to speed things up?

Im thinking this could be handled with a batch script.

I guess my question is this:
Does anyone shut down all sql related services before doing a defrag and then start them back up?


Viewing all articles
Browse latest Browse all 15264

Trending Articles



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