Service manual

How Suffix Initialization Uses Cache
116 Sun ONE Directory Server Installation and Tuning Guide • June 2003
Updates involve more processing than searches. To process updates, Directory
Server:
1. Performs a base DN search to retrieve the entry to update or verify in the case
of an add operation that it does not already exist.
2. Changes the database cache, updating in particular any indexes affected by the
update.
If the data affected by the update has not been loaded into the database cache,
this step can result in disk activity while the relevant data are loaded into the
cache.
3. Writes information about the changes to the transaction log, waiting for the
information to be flushed to disk.
Refer to “Transaction Logging,” on page 147 for details.
4. Formats and copies the updated entry to the entry cache for the suffix.
5. Returns an acknowledgement of successful update to the client application.
How Suffix Initialization Uses Cache
Figure 6-4illustrateshow Directory Serverhandlessuffixinitialization,also known
as bulk load import. Individual lines represent threads accessing different levels of
memory, with broken lines representing steps to minimize through effective
tuning.