Design Time Considerations for Proxy Applications

22 Oracle Internet Directory Performance Tuning 22-1 22 Oracle Internet Directory Performance Tuning This chapter provides guidelines for tuning and sizing an Oracle Internet Directory installation. It contains these topics: ■ Section 22.1, About Oracle Internet Directory ■ Section 22.2, Introduction to Tuning Oracle Internet Directory ■ Section 22.3, Basic Tuning Considerations ■ Section 22.4, Advanced Configurations ■ Section 22.5, Low-Priority Tuning Considerations ■ Section 22.6, Specific Use Cases ■ Section 22.7, Optimizing Searches ■ Section 22.8, Evaluating Performance on UNIX and Windows Systems ■ Section 22.9, Obtaining Recommendations by Using the Tuning and Sizing Wizard ■ Section 22.10, Updating Database Statistics by Using oidstats.sql ■ Section 22.11, Setting Performance-Related Replication Configuration Attributes ■ Section 22.12, Modifying Performance-Related System Configuration Attributes ■ Section 22.13, Setting Garbage Collection Configuration Attributes

22.1 About Oracle Internet Directory

Oracle Internet Directory is Oracles Lightweight Directory Application Protocol LDAP version 3 Directory Server. Oracle Internet Directory is highly scalable, available, and manageable. It has a multi-threaded, multi-process, multi-instance process architecture with Oracle Database as the directory store. This unique physical architecture enables Oracle Internet Directory to be deployed on several hardware architectures including Symmetric Multi-Processor SMP, Non-Uniform Memory Access NUMA and Cluster hardware. Oracle Internet Directory’s physical architecture enables linear performance scalability with hardware resources and numerous high availability configurations. For more information see Oracle Fusion Middleware Administrators Guide for Oracle Internet Directory. 22-2 Oracle Fusion Middleware Performance and Tuning Guide

22.2 Introduction to Tuning Oracle Internet Directory

Many of the recommendations in this chapter require changes to Oracle Internet Directory system configuration attributes and replication configuration attributes.

22.3 Basic Tuning Considerations

Tuning is the adjustment of parameters to improve directory performance. The default Oracle Internet Directory configuration must be tuned in almost all deployments. Please review the requirements and recommendations in this section carefully.

22.3.1 Database Parameters

The suggested minimum values for Oracle Database instance parameters are described in Table 22–1 : Note: Oracle Internet Directory’s out of box configuration is not optimal for most production or test deployments. You must follow at least the steps listed in Section 22.3, Basic Tuning Considerations to achieve optimal performance and availability. See Also: ■ Section 22.9, Obtaining Recommendations by Using the Tuning and Sizing Wizard. . ■ The Troubleshooting Directory Performance appendix in Oracle Fusion Middleware Administrators Guide for Oracle Internet Directory See Also: ■ The Managing System Configuration Attributes chapter of Oracle Fusion Middleware Administrators Guide for Oracle Internet Directory ■ The Managing Replication Configuration Attributes chapter of Oracle Fusion Middleware Administrators Guide for Oracle Internet Directory ■ The Attribute Reference chapter of Oracle Fusion Middleware User Reference for Oracle Identity Management for more information about Oracle Internet Directory configuration attributes. Table 22–1 Minimum Values for Oracle Database Instance Parameters Parameter Value Notes sga_target and sga_max_size 1700M for 32-bit systems Applicable when SGA Auto Tuning using sga_ target and sga_max_size is being used. Especially important for bulkdelete performance. A higher value may be required if the directory size exceeds 1 million entries or a high rate of IO is observed. In case of 64-bit systems, one can go up to 60-70 of the RAM available for the Oracle Database on the box.