Not sure if this is the correct forum.
I have a 20Gb SQL file (MDF) that is completely fragmented - causing an overall fragmentation on my VM of 45%.
I've rebuilt all of the indexes through the DBCC command in T-SQL and stopped all SQL services, rebooted and done a windows defrag (from within the VM).
The MDF file doesn't get defragged. I've tried detaching the 20Gb database and defragging - but still no improvement.
I've tried Windows defrag, Diskeeper, and UltimateDefrag.
Anyone able to help? I really need to optimise this VM and preferably shrink it afterwards so I definitely can't have 45% fragmentation.
Many thanks in advance!
I have a 20Gb SQL file (MDF) that is completely fragmented - causing an overall fragmentation on my VM of 45%.
I've rebuilt all of the indexes through the DBCC command in T-SQL and stopped all SQL services, rebooted and done a windows defrag (from within the VM).
The MDF file doesn't get defragged. I've tried detaching the 20Gb database and defragging - but still no improvement.
I've tried Windows defrag, Diskeeper, and UltimateDefrag.
Anyone able to help? I really need to optimise this VM and preferably shrink it afterwards so I definitely can't have 45% fragmentation.
Many thanks in advance!