Introduction to Tuning Oracle Internet Directory

22-8 Oracle Fusion Middleware Performance and Tuning Guide

22.4.6 Server Entry Cache

The Oracle Internet Directory server entry cache enables LDAP entries to be cached on the Oracle Internet Directory server process heap for better performance. Configuring the entry cache provides benefits if, and only if, all or most entries can be cached.

22.4.6.1 When to Use the Entry Cache

Consider using Oracle Internet Directory Server Entry Cache only under the following conditions: ■ The total number of entries in Oracle Internet Directory can be fully or mostly cached. This is usually the case for deployments with fewer than 500K entries in Oracle Internet Directory on a 32-bit system ■ The number of concurrent clients is low, typically less than 100 ■ You are not using a cluster configuration ■ You do not require the LDAP server instance to be multiprocess. ■ You expect a very low update rate, especially on group entries. ■ You are not using a second, dedicated LDAP server instance for replication or Oracle Directory Integration Platform ■ Very few applications are using Oracle Internet Directory ■ You have no large binary values or large group entries, and updates on binary and group entries are infrequent.

22.4.6.2 Benefits of Using the Entry Cache

Benefits of using the entry cache include: ■ LDAP search operations with subtree and one-level scope are about twice as fast. ■ LDAP search operations with base scope are about five times as fast. These benefits apply only when all or most entries can be cached. A cache miss is more expensive than disabling the entry cache.

22.4.6.3 Values for Configuring the Entry Cache

You can configure and optimize the server entry cache by setting the values shown in Table 22–5 . See Also: ■ The Managing Password Policies chapter in Oracle Fusion Middleware Administrators Guide for Oracle Internet Directory. ■ The Managing Password Verifiers chapter in Oracle Fusion Middleware Administrators Guide for Oracle Internet Directory. Note: The server entry cache is beneficial for small directory deployments only Some of the tuning recommendations here contradict the tuning recommendations in the earlier sections. Review the applicability of entry cache to a given deployment and incorporate the tuning mentioned in this section only if all considerations enumerated here are met.