Sun Java System Calendar Server 6 2005Q4 Administration Guide

ProcedureTo Improve Search Performance by Indexing

  1. To determine if the calendar search performance can be improved by indexing, try the following LDAP command:

    ldapsearch -b "base" "(&(icscalendarowned=*user*)

    where base is the LDAP base DN of the directory server where the user and resource data for Calendar Server is located, and user is the value that an end user can enter in a search dialog in .

    Tests have shown that with 60,000 entries, the above search took about 50-55 seconds without indexing icsCalendarOwned. After indexing, the above search took only about 1-2 seconds.

  2. Index appropriate LDAP attributes, or at least, icsCalendarOwned, by running

    The, indexes this attribute and many others to improve performance in various ways. If you have not run, or ran it but did not perform the indexing, you can run the utility again to do the indexing, or you can use Directory Server tools to perform the indexing.

    For information on how does indexing, see Attribute Indexes.

    For information about adding directory server indexes, refer to Directory Server documentation found at: