JavaScript is required to for searching.
Skip Navigation Links
Exit Print View
Oracle Fusion Middleware Installation Guide for Oracle Unified Directory 11g Release 1 (11.1.1)
search filter icon
search icon

Document Information


1.  Before You Install Oracle Unified Directory 11g Release 1 (11.1.1)

2.  Installing the Software

3.  Setting Up the Directory Server

4.  Setting Up the Proxy Server

5.  Setting Up the Replication Gateway

6.  Configuring the JVM, Java Options, and Database Cache

Configuring the Default JVM and Java Arguments

The Java Properties File Format

Configuring JVM Options

To Specify the JAVA_HOME Environment Variable for a Specific Utility

To Specify the Java Arguments for a Specific Utility

Configuring the Java Runtime Settings During Installation

Setting the Database Cache

To Set the Database Cache

7.  Managing Oracle Unified Directory as a Windows Service

8.  Uninstalling Oracle Unified Directory

Setting the Database Cache

A critical component of your directory server's overall performance is the size of the database (DB) cache. You need to determine your particular memory settings depending on your hardware, the number of entries in your directory, and your performance requirements. For example, when importing data by using the import-ldif utility, you must configure the directory server in such a way to minimize and avoid potential data cache eviction problems. Ideally, you should set the DB cache to a value that ensures that the whole database can fit into the cache. The size of the required heap depends on the number of entries and their size. For example, if you were importing 200K entries of 10Kbytes each, you might specify 2 Gbytes for the JVM heap size, then allocate at least 1 Gbyte for the directory server runtime environment and the rest for the DB cache.

To Set the Database Cache

You can set the DB cache by configuring the db-cache-percent or the db-cache-size properties with the dsconfig command-line utility. The db-cache-percent and the db-cache-size properties represent the maximum size that the server can use for the DB cache. If the database is smaller than the size set by either of these properties, only the size of the database is allocated to the JVM heap.

Note - If you want to set the db-cache-percent property, then the db-cache-size property must be kept at the default value of 0 Mbytes. The db-cache-size property has precedence over the db-cache-percent property if both are given values.

  1. Change to the appropriate directory.
    (UNIX, Linux)  $ cd instance-dir/OUD/bin
    (Windows)      C:\> cd instance-dir\OUD\bat
  2. Use the dsconfig command to set the db-cache-percent.

    This example sets the db-cache-percent to 50 percent. Thus, for a 2 Gbyte memory allocation, 1 Gbyte of memory will be allocated to the DB cache and the rest to the JVM.

    $ dsconfig -h localhost -port 4444 -D "cn=Directory Manager" -w password -X -n \
      set-backend-prop --backend-name userRoot --set db-cache-percent:50