4.There are several user attributes that are used quite often when searching for users (first name, last name, organization, etc.). For a faster response, you can index these attributes in the LDAP server’s database.
Indexing LDAP attributes
Every vendor provides different ways on how to index the information in their LDAP directory. In the case of Lotus Domino, for example, you just need to create a full text index on the address book (names.nsf) of the Domino server hosting the LDAP process. This can boost the performance significantly.
With IBM Directory Server 5.1, you can indicate which fields you want to index, using the Web administration interface. IBM Directory Server 4.1 does not provide this feature in the administration interface. There you will have to create the index manually using DB2 utilities.
Deferring the IsManager lookup
As described above, in some cases you need to defer the IsManager lookup to speed up login and rostering processes. You can advise LMS to do this by setting the value of the deferIsManagerLookup field in the settings.xml and the
The settings.xml is located in the Learning Server installation directory at:
The
When the deferral is enabled, the IsManager attribute will not be updated during login and rostering processes. For newly rostered users, it will be set to zero (false). For users that logged on before, the value of the last IsManager lookup is used.
The server thread that performs the IsManager lookups in the background works with a FIFO queue
If the deferral of IsManager lookups is enabled and an LMS administrator rosters a huge list of users at once, the lookup thread’s queue might overrun and could produce an error. In this case, you should not defer the IsManager lookup.
Tuning database server performance
Tuning parameters vary according to the type of database and operating system you are using. There are no specific
•Ensure that the database server is set up to support the maximum number of connections from the connection pool defined in the WebSphere Application Server.
•If you are using the same database server for the Learning Server and the Delivery Server database, you can increase the performance by creating the databases on physically different hard disks on the database server.
There are additional resources on the Internet that cover database performance tuning for the database servers supported by LMS. For your convenience, some of them are listed here:
•IBM DB2 Performance Problem Determination
106 IBM Lotus LMS Release 1 Installation Guide