Service manual

Types of Cache
108 Sun ONE Directory Server Installation and Tuning Guide • June 2003
Figure 6-1 shows caches foran instance of Directory Server handling three suffixes,
each with its own entry cache. The instance is configured to handle significant disk
activity, placing the transaction log, database, and other files and logs onseparate
disk subsystems as suggested in Chapter 8, “Tuning Logging.”
Figure 6-1 Entry and Database Caches in Context
Database Cache
Each Directory Server instance has one database cache. The database cache holds
pages from the database containing indexes and entries. Each page is not an entry,
but a slice of memory containing a portion of the database. You specify database
cachesize(
nsslapd-dbcachesize). The change to database cache size takes effect
after you restart the server, with database cache space allocated at server startup.
Directory Server Instance
Database Cache
for the instance
Entry Cache
for o=suffix1
(formatted
entries)
Entry Cache
for o=suffix2
(formatted
entries)
Entry Cache
for o=suffix3
(formatted
entries)
Entry pages
from database
Indexes
from database
Operating System
Disk Subsystems
Memory (RAM), Including File System Cache