Tip

Defrag the AD database only when needed

Active Directory in Windows 2000 is Microsoft's way of providing effective control over files on the network. The heart of Active Directory is the Extensible Storage Engine and the associated Active Directory database. Like most heavily used data structures, the Active Directory database becomes fragmented as items are added and deleted, and must be defragmented. Active Directory exacerbates this need because Microsoft designed the Extensible Storage Engine for speed, rather than storage efficiency.

Although Windows 2000 performs an automatic, online, defragmentation of the Active Directory database following garbage collection, the defragmentation is incomplete. In effect, online defragmentation only rearranges the pages in the database, which makes access more efficient, but it does not reclaim space for the file system. To perform a complete defragmentation, the computer must be put in Directory Services Repair mode, which means it is running as a member server.

Since putting the computer in Directory Services Repair mode requires restarting the computer and selecting the appropriate mode from the boot menu, it is best only to do an offline defragmentation when you are reasonably sure that a significant amount of space can be reclaimed. This typically happens when the database contents have gotten significantly smaller due to administrative actions or for other reasons.

Microsoft describes the process in this

Requires Free Membership to View

Knowledge Base article.

Rick Cook has been writing about mass storage since the days when the term meant an 80K floppy disk. The computers he learned on used ferrite cores and magnetic drums. For the last twenty years he has been a freelance writer specializing in storage and other computer issues.


This was first published in January 2003

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:

Disclaimer: Our Tips Exchange is a forum for you to share technical advice and expertise with your peers and to learn from other enterprise IT professionals. TechTarget provides the infrastructure to facilitate this sharing of information. However, we cannot guarantee the accuracy or validity of the material submitted. You agree that your use of the Ask The Expert services and your reliance on any questions, answers, information or other materials received through this Web site is at your own risk.