You can create attribute indexes by using Web Administration Tool to locate and retrieve the frequently used attributes faster.
Run the runstats command against the directory server to update the DB2® statistics after you create an index.
idsrunstats -I instance_name
where, instance_name is the directory server instance name.