Oracle® Internet Directory Administrator's Guide 10g (9.0.4) Part Number B12118-01 |
|
Garbage Collection in Oracle Internet Directory, 2 of 4
A garbage collector is a background database process that removes unwanted data from the directory. The Oracle Internet Directory garbage collection framework provides a default set of garbage collectors, and enables you to modify them.
This section contains these topics:
This section describes the components that make up the Oracle Internet Directory garbage collection framework, namely, the garbage collection plug-in and the garbage collectors themselves.
Garbage collection in Oracle Internet Directory relies on a garbage collection plug-in that receives requests to manage garbage collectors. This plug-in is installed with Oracle Internet Directory, and is enabled by default. The entry for this plug-in is cn=plugin,cn=subconfigsubentry
.
This plug-in has three triggers:
cn=Add PurgeConfig,cn=plugin,cn=subconfigsubentry
.
cn=Modify PurgeConfig,cn=plugin,cn=subconfigsubentry
.
cn=Delete PurgeConfig,cn=plugin,cn=subconfigsubentry
.
"Oracle Internet Directory Plug-In for Garbage Collection" for a list and descriptions of the attributes of the garbage collection plug-in
See Also:
Garbage collectors are background database processes that are invoked by the garbage collection plug-in. You can set and manage these behaviors of a garbage collector:
A default installation of Oracle Internet Directory includes these predefined garbage collectors:
cn=auditlog purgeconfig,cn=purgeconfig,cn=subconfigsubentry
.
cn=changelog purgeconfig,
cn=purgeconfig,cn=subconfigsubentry
.
cn=general stats purgeconfig,
cn=purgeconfig,cn=subconfigsubentry
.
cn=health stats purgeconfig,
cn=purgeconfig,cn=subconfigsubentry
.
cn=secrefresh events purgeconfig,
cn=purgeconfig,cn=subconfigsubentry
.
cn=sysresource events purgeconfig,
cn=purgeconfig,cn=subconfigsubentry
.
cn=tombstone purgeconfig,
cn=purgeconfig,cn=subconfigsubentry
.
Figure 22-1 shows an example of a garbage collector operation that purges change log entries.
As the example in Figure 22-1 shows, the garbage collection process is as follows:
Garbage collector entries, each with attributes specifying how it is to behave, are located in the entry cn=purgeconfig
, which is located immediately below the entry cn=subconfigsubentry
.
See Also:
Table B-8, " Garbage Collection Configuration Parameters" for a description of each garbage collector attribute |
Figure 22-2 shows the location of these entries.
Change log purging takes place in Oracle Internet Directory in two ways:
This is the default method. The replication server purges those changes that have already been applied to all the nodes in a DRG.
You can run this method to augment change number-based purging. To use this additional method, you set a parameter specifying in hours the lifespan of change log objects. For example, you can set this parameter to purge all change log objects that are 24 hours old. Use this method to prevent the change log from becoming too large.
Note that this method always respects the rules of change log purging. If, at the specified time, a change has not yet been applied, this method does not purge it.
|
![]() Copyright © 1999, 2003 Oracle Corporation. All Rights Reserved. |
|