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?