Tuning Security Event Tracking

Oracle Internet Directory Performance Tuning 22-15 In this filter, the terms that match orclinmemfiltprocess are part of an OR condition. Oracle Internet Directory sends the filter, as is, to the database. Case D uid=rmsmithemployeetype=Contract objectclass=inetorgperson Even though some of the terms in this filter match orclinmemfiltprocess, they are in a different order, so Oracle Internet Directory sends the whole filter to the database. You could add employeetype=Contractobjectclass=inetorgperson to orclinmemfiltprocess if you do not want Oracle Internet Directory to send this filter to the database. Case E |uid=rmsmithsn=smithobjectclass=inetorgpersonemployeet ype=Contract In this filter, the terms that match orclinmemfiltprocess are part of an OR condition. Oracle Internet Directory sends the filter, as is, to the database. Case F |uid=rmsmithsn=smithobjectclass=inetorgpersonemployee type=Contract Even though this filter contains an OR operator, it is not applied to the terms that match orclinmemfiltprocess. Oracle Internet Directory sends |uid=rmsmithsn=smith to the directory and applies the filter manager=cn=john doeobjectclass=inetorgperson employeetype=Contract to the entries that are returned from the database. Configuring Multiple Filters If the application is sending multiple filters, and the terms in one filter are a superset of the terms in the other, you must configure orclinmemfiltprocess for both values. For example, suppose the application is sending the following two filters: uid=rmsmithobjectclass=inetorgpersonemployeetype=Contract uid=rmsmithobjectclass=inetorgpersonemployeetype=Contract departmentNumber=627 where departmentNumber=627 matches a lot of entries. You must configure orclinmemfiltprocess as follows: objectclass=inetorgpersonemployeetype=Contract departmentNumber=627 Optimizing Performance for Search baseDN In the DIT, if all the users are under one baseDN, such as cn=users,dc=acme,dc=com, and all the LDAP search clients send base as cn=users,dc=acme,dc=com, then the configuration of the orclinmemfilter will significantly reduce database processing time. See the following example: orclinmemfiltprocess;dn: cn=users,dc=acme,dc=com 22-16 Oracle Fusion Middleware Performance and Tuning Guide

22.8 Evaluating Performance on UNIX and Windows Systems

Knowledge of the following tools is recommended for Linux, Solaris, and other UNIX-like operating systems: Knowledge of the following tools is recommended for Microsoft Windows: Knowledge of the following tools is recommended for the Oracle Database: ■ utlbstat.sql and utlestat.sql, or statspack ■ The ANALYZE function in the DBMS_STATS package In addition to the operating system tools, the LDAP applications being used in a customer environment must be able to provide latency and throughput measurement. In addition, the Database Statistics Collection Tool oidstats.sql, located at ORACLE_ HOME ldapadmin, is provided to analyze the various database ods schema objects to estimate the statistics. See Section 22.10, Updating Database Statistics by Using oidstats.sql .

22.9 Obtaining Recommendations by Using the Tuning and Sizing Wizard

Oracle Enterprise Manager Fusion Middleware Control provides a convenient tool for tuning and sizing Oracle Internet Directory. Tool Description top Displays the top CPU consumers on a system vmstat Shows running statistics on various parts of the system including the Virtual Memory Manager mpstat Shows an output similar to vmstat but split across various CPUs in the system. This is available on Solaris only. iostat Shows the disk IO statistics from various disk controllers sar Collect, report, or save system activity information. Tool Description Windows Performance Monitor Provides a customized view of the events in the system Windows Task Manager Provides a high level output like top on UNIX of the major things happening in the system. See Also: ■ Oracle Database Reference in the Oracle Database Documentation Library for information about utlbstat.sql and utlestat.sql ■ Oracle Database Performance Tuning Guide for information about stats package ■ Oracle Database Concepts in the Oracle Database Documentation Library for information about the ANALYZE function in the DBMS_STATS package