online defragmentation

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

Hi
Is there a way to change the schedule of this online defragmentation? Which
I believe by default is running at 12 hours interval!
Is there any good documentation on this anywhere?

TIA

--
 
Online defragmentation is done by the Garbage Collection process, and is
configured to run every 12 hrs by default.

To modify:

1. launch ADSIEDIT.MSC

2. Configuration -> CN=Configuration -> CN=Services -> CN=Windows NT ->
CN=Directory Services -> Properties

3. look for the attribute "garbageCollPeriod"

4. edit this attribute and enter new value.

HTH.
 
Is there a maximum value we can put?
What is the formula to calculate the max value?

TIA
(note: I found this attribute is in hour.)
 
Yes, it is in hour (min 1 hrs, default 12 hrs)

The garbage collection is dependent onn another attribute -
tombstoneLifetime (60 days default)

The maximum garbage collection interval is one-third of the tombstone
lifetime (in hours). So if you set tombstoneLifetime to 30 days and
garbageCollPeriod to 300 hours, your actual garbage collection period is only
10 days, or 240 hours

Maximum Garbage Collection Interval = ((tombstonelife * 24) / 3)

HTH.
 
Why do you wish to do this?

You wouldn't be likely to have a LOT of fragmentation anyway
but if you put it off it will be WORSE when it is (eventually)
done.
 
I was going to change the defragmentation frequency to every 24 hrs or
every week (or so) and leave the tombstoneLifetime with default.
Can I do that?

By the way, will the online defragmentation process has any impact on server
performance, ie. slow down / inhibit server response to directory lookup /
query ?

TIA
 
I was going to change the defragmentation frequency to every 24 hrs or
every week (or so) and leave the tombstoneLifetime with default.
Can I do that?

As long as the max time is less or equal to 1/3 of the tombstone life time,
it is possible. In your case, the tombstone is default 60 days, so max
garbage interval is 480 hrs.

By the way, will the online defragmentation process has any impact on server
performance, ie. slow down / inhibit server response to directory lookup /
query ?

Will you experience performance issues when you perform a harddisk defrag?
The analogy is the same, that's why we don't set the online defrag to be so
frequent.
But I believe it will not be so bad as to inhibit access.
 
Back
Top