Service manual

76 Sun ONE Directory Server Installation and Tuning Guide • June 2003
a. Remove unnecessary indexes and add additional indexes to support
expected requests.
From time to time,itmay become necessary to add additional indexes that
support requests from new applications. It is possible to add, remove,and
modify indexes while Directory Server is running, with the limitation that
existing data are only indexed progressively from that point forward.
Refer to “Benefits: How Searches Use Indexes,” on page 126 and “Costs:
How Updates Affect Indexes,” on page 127 for more information.
b. Allow only indexed searches.
Unindexed searches can have a strong negative impact on server
performance and may consume significant server resources. Consider
adding indexes tosupport specific searches applications mayperform, and
forcing the server to reject unindexed searches.
Refer to “Allowing Only Indexed Searches,” on page 134 for more
information.
c. Adjust the maximum length of index lists.
Refer to “Limiting Index List Length,” on page 135 for more information.
3. Tune the underlying operating system.
Refer to Chapter 5, “Tuning the Operating System,” for more information.
4. Adjust operational limits.
Adjustable operational limits prevent Directory Server from devoting
inordinate resources to any single operation. Consider assigning unique bind
DNs to client applications requiring increased capabilities, then setting
resource limits specifically for these unique bind DNs.
Refer to Chapter 9, “Managing Use of Other Resources,” formore information.
5. Disable unnecessary logging.
Diskaccessis much slower thanmemory access.Writing frequently to log files
on disk can have strong negativeimpacton performance.If possible,eliminate
disk writes by turning access, error, and audit logging off when not required.
At minimum, attempt to reduce the impact of logging by putting log files on
separate disks using separate controllers.
Refer to Chapter 8, “Tuning Logging,” for more information.