|
Windows
2000 and Windows Server 2003 servers
running Directory Services (DS) perform
a directory online defragmentation every
12 hours by default as part of the
garbage-collection process. This
defragmentation only moves data around
the database file (NTDS.DIT) and doesn’t
reduce the file’s size - the database
file cannot be compacted while Active
Directory is mounted.
Active
Directory routinely performs online
database defragmentation, but this is
limited to the disposal of tombstoned
objects. The database file cannot be
compacted while Active Directory is
mounted (or online).
An
NTDS.DIT file that has been defragmented
offline (compacted), can be much smaller
than the NTDS.DIT file on its peers.
However,
defragmenting the NTDS.DIT file isn’t
something you should really need to do.
Normally, the database self-tunes and
automatically tombstoning the records
then sweeping them away when the
tombstone lifetime has passed to make
that space available for additional
records.
Defragging
the NTDS.DIT file probably won’t help
your AD queries go any faster in the
long run. |