SQL Server Forums
Profile | Register | Active Topics | Members | Search | Forum FAQ
 
Register Now and get your question answered!
Username:
Password:
Save Password
Forgot your Password?

 All Forums
 General SQL Server Forums
 New to SQL Server Administration
 Disk Defragmentation
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

ranvir_2k
Posting Yak Master

United Kingdom
160 Posts

Posted - 12/05/2013 :  07:30:16  Show Profile  Reply with Quote
Is it safe to run a disk defragmentation task on a disk that has SQL Server installed on it?

Will it impact performance of the databases?
Could it cause any data corruption?


Thanks

Kristen
Test

United Kingdom
22403 Posts

Posted - 12/05/2013 :  07:33:52  Show Profile  Reply with Quote
I only defragment the disk when the SQL Service is stopped (i.e. schedule downtime). I specifically defragment Data and Index files individually (using CONTIG from Sysinternals) to try to get them onto contiguous disk space.

Every little helps

(EDIT: For avoidance of doubt we don't schedule downtime in order to defrag files, but we do defrag files when we have downtime for other activities, such as upgrading hardware)

Edited by - Kristen on 12/06/2013 03:13:43
Go to Top of Page

tkizer
Almighty SQL Goddess

USA
36996 Posts

Posted - 12/05/2013 :  15:47:47  Show Profile  Visit tkizer's Homepage  Reply with Quote
We don't ever defragment the disks. Our systems are 24x7x365.

Tara Kizer
SQL Server MVP since 2007
http://weblogs.sqlteam.com/tarad/
Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Reply to Topic
 Printer Friendly
Jump To:
SQL Server Forums © 2000-2009 SQLTeam Publishing, LLC Go To Top Of Page
This page was generated in 0.05 seconds. Powered By: Snitz Forums 2000