Create the user and group containers for the third party directory, using Oracle Apply appropriate ACLs on the new groups container by doing the following:

35 Managing Garbage Collection 35-1 35 Managing Garbage Collection The term garbage refers to any data not needed by the directory but still occupying space in it. This unwanted or obsolete data can eventually fill up the disk and decrease directory performance. The process of removing this unwanted data from the directory is called garbage collection. This chapter contains these topics: ■ Introduction to Managing Garbage Collection ■ Set Oracle Database Time Zone for Garbage Collection ■ Modifying Oracle Internet Directory Garbage Collectors ■ Managing Logging for Oracle Internet Directory Garbage Collectors ■ Configuring Time-Based Change Log Purging Introduction to Managing Garbage Collection 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. The Oracle Internet Directory statistics collector also uses the Oracle Internet Directory garbage collection framework. This introduction contains these topics: ■ Components of the Oracle Internet Directory Garbage Collection Framework ■ How Oracle Internet Directory Garbage Collection Works ■ Garbage Collector Entries and the Oracle Internet Directory Statistics Collector Entry ■ Change Log Purging Components of the Oracle Internet Directory Garbage Collection Framework This section describes the components that make up the Oracle Internet Directory garbage collection framework, namely, the garbage collection plug-in and the background database processes. Garbage Collection Plug-in 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 35-2 Oracle Fusion Middleware Administrators Guide for Oracle Internet Directory 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: ■ The DN of the plug-in trigger used to create a garbage collection job is: cn=Add PurgeConfig,cn=plugin,cn=subconfigsubentry. ■ The DN of the plug-in trigger used to modify a garbage collection job is: cn=Modify PurgeConfig,cn=plugin,cn=subconfigsubentry. ■ The DN of the plug-in trigger used to delete a garbage collection job is: cn=Delete PurgeConfig,cn=plugin,cn=subconfigsubentry. Background Database Processes The background database processes that are invoked by the garbage collection plug-in include garbage collectors and the Oracle Internet Directory statistics collector. Garbage Collectors You can set and manage these behaviors of a garbage collector: ■ The time it starts ■ The age of the data you want it to purge ■ How often it runs ■ The type of data you want it to purge ■ The number of entries to purge at a time Predefined Garbage Collectors A default installation of Oracle Internet Directory includes these predefined garbage collectors: ■ Change log garbage collector: Cleans up the consumed change log entries in the directory. The container for this garbage collector is cn=changelog purgeconfig, cn=purgeconfig,cn=subconfigsubentry. ■ General statistics garbage collector: Cleans up obsolete entries created by Oracle Internet Directory Server Manageability for monitoring general statistics of the directory. The container for this garbage collector is cn=general stats purgeconfig, cn=purgeconfig,cn=subconfigsubentry. ■ Health statistics garbage collector: Cleans up obsolete entries created by Oracle Internet Directory Server Manageability for monitoring health statistics of the directory. The container for this garbage collector is cn=health stats purgeconfig, cn=purgeconfig,cn=subconfigsubentry. ■ Security and refresh events garbage collector: Cleans up obsolete entries created by Oracle Internet Directory Server Manageability for monitoring security and refresh events of the directory. The container for this garbage collector is cn=secrefresh events purgeconfig, cn=purgeconfig,cn=subconfigsubentry. See Also: Oracle Internet Directory Configuration Schema Elements in Oracle Fusion Middleware Reference for Oracle Identity Management for a list and descriptions of the attributes of the garbage collection plug-in