Identification of performance problem areas
Use the server audit log and idsslapd trace for identifying areas that might be affecting the performance of your directory server.
Server audit log
The server audit log shows the searches that are being done and the parameters that are used in each search. The server audit log also records when a client binds and unbinds from the directory. By observing these measurements, you can identify LDAP operations that take a long time to complete.
idsslapd trace
An idsslapd trace provides a list of the SQL commands issued to the DB2® database. These commands can help you identify operations that are taking a long time to complete. This information can in turn lead you to missing indexes, or unusual directory topology. To turn the idsslapd trace on, run the following commands:
ldtrc onidsslapd –h 4096
After you turn on the trace, run the commands that you think might be giving you trouble.
ldtrc off