IBM Security Directory Server, Version 6.3.1

DB2 query optimization for one level searches

To retrieve one level search results faster, you must optimize the SQL queries that access the LDAP_ENTRY table and other tables.

For one level searches, entry IDs are resolved by using the PEID column of the LDAP_ENTRY table. The SQL query that contains the LDAP_ENTRY table is evaluated by using a parameterized value of PEID. If a directory server hierarchy is deep nested or large, the one level search might take considerable time when the parameterized value of PEID is used. You must run the idsrunstats command against the directory server instance to optimize the database and update DB2 statistics.

When you run a one level search against a directory server, the following process occurs:



Feedback