Ask the Expert

What shouldn't be defragged?

What shouldn't be defragged? I've heard that you shouldn't defrag Exchange, SQL, and Oracle datafiles. Is there a list that identifies these files/directories? Is it OK to defrag the W2K AD database ntds.dit? I use Diskeeper version 7.

Requires Free Membership to View

Definitely, you should defrag database files like Exchange, SQL or Oracle. But you must be aware that there is at least the size of the database files required to move them into a continous space. Depending on the level of fragmentation, some defrag tools offer a partial defragmentation that allows to defrag the files with even less space. You can easily identify these files when analyzing the disk and check for large files that are currently locked. This locking is the reason why you cannot defrag them online. You should use an offline defrag, which causes downtime of your database during the defragging. Keep that in mind!

This was first published in February 2002

There are Comments. Add yours.

TIP: Want to include a code block in your comment? Use <pre> or <code> tags around the desired text. Ex: <code>insert code</code>

REGISTER or login:

Forgot Password?
By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy
Sort by: OldestNewest

Forgot Password?

No problem! Submit your e-mail address below. We'll send you an email containing your password.

Your password has been sent to: