HP UX Red Hat Direry Server Software manual Tuning Transaction Logging

Models: UX Red Hat Direry Server Software

1 638
Download 638 pages 23.73 Kb
Page 486
Image 486

Chapter 15. Tuning Directory Server Performance

specified here.

To configure the attributes of each database that stores the directory data:

5.In the Directory Server Console, select the Configuration tab; then, in the navigation tree, expand the Data Icon. Expand the suffix of the database to tune, and highlight the database.

The tabs displayed in the right pane control parameter settings for this database.

1.Select the Database Settings tab in the right pane.

2.Enter the amount of memory to make available for cached entries in the Memory Available for Cache field.

2.2. Tuning Transaction Logging

Every Directory Server contains a transaction log which writes operations for all the databases it manages. Whenever a directory database operation such as a modify is performed, the server logs the operation to the transaction log. For best performance, the directory does not perform the operation immediately. Instead, the operation is stored in a temporary memory cache on the Directory Server until the operation is completed.

If the server experiences a failure, such as a power outage, and shuts down abnormally, the information about recent directory changes that were stored in the cache is lost. However, when the server restarts, the directory automatically detects the error condition and uses the database transaction log to recover the database.

Although database transaction logging and database recovery are automatic processes that require no intervention, it can be advisable to tune some of the database transaction logging attributes to optimize performance.

Caution

The transaction logging attributes are provided only for system modifications and diagnostics. These settings should be changed only with the guidance of Red Hat Professional Services or Red Hat Technical Support.Setting these attributes and other configuration attributes inconsistently may cause the directory to be unstable.

2.3. Changing the Location of the Database Transaction Log

By default, the database transaction log file is stored in the /var/lib/dirsrv/slapd-instance_name/dbdirectory along with the database files

466

Page 486
Image 486
HP UX Red Hat Direry Server Software Tuning Transaction Logging, Changing the Location of the Database Transaction Log