1

In the past, I have used contig.exe to remove physical fragmentation from SQL Server data files. They have always been on locally attached storage. Is there any benefit to running this on a data file that is stored on a SAN?

BinaryMisfit
  • 1,593
  • 2
  • 15
  • 30
Jason Horner
  • 612
  • 2
  • 6
  • 13

1 Answers1

2

Not recommended to defragment files on a SAN, SQL or otherwise.

See this related ServerFault question and this excellent whitepaper. The major points include:

  • Defragmenting is very I/O intensive
  • Defragmenting doesn't always improve performance on logical volumes
  • Defragmenting is definitely not recommended for certain specific configurations, like Virtual Storage Pools and Replicated Volumes
BradC
  • 2,200
  • 4
  • 25
  • 35