
Disabling Durable Transactions
407
To modify the checkpoint interval while the server is running, use the
ldapmodify
2
command-line
utility to add the
nsslapd-db-checkpoint-interval
attribute to the
cn=config,cn=ldbm
database,cn=plugins,cn=config
entry.
For more information on the syntax of the
nsslapd-db-checkpoint-interval
attribute, refer
to the
Directory Server Configuration, Command, and File Reference
. For instructions on using
ldapmodify
, see
Section 2.2.4, “Adding and Modifying Entries Using ldapmodify”
.
15.2.5. Disabling Durable Transactions
Durable transaction logging means that the temporary database transaction log is, in fact, physically
written to disk.
When durable transaction logging is disabled, every directory database operation is written to the
database transaction log file but may not be physically written to disk immediately. If a directory
change was written to the logical database transaction log file but not physically written to disk at the
time of a system crash, the change cannot be recovered. When durable transactions are disabled, the
recovered database is consistent but does not reflect the results of any LDAP write operations that
completed just before the system crash.
By default, durable database transaction logging is enabled. To disable durable transaction logging,
use the following procedure:
1. Stop the Directory Server
1
.
2. Use the
ldapmodify
2
command-line utility to add the
nsslapd-db-durable-transactions
attribute to the
cn=config,cn=ldbm database,cn=plugins,cn=config
entry, and set the
value of this attribute to
off
.
For information on the syntax of the
nsslapd-db-durable-transactions
attribute, see
the
Directory Server Configuration, Command, and File Reference
. For instructions on using
ldapmodify
, see
Section 2.2.4, “Adding and Modifying Entries Using ldapmodify”
.
3. Restart the Directory Server.
15.2.6. Specifying Transaction Batching
To improve update performance when full transaction durability is not required, use the
nsslapd-db-
transaction-batch-val
attribute to specify how many transactions will be batched before being
committed to the transaction log. Setting this attribute to a value of greater than
0
causes the server to
delay committing transactions until the number of queued transactions is equal to the attribute value.
For transaction batching to be valid, the
nsslapd-db-durable-transaction
attribute must be set
to
on
.
To specify or modify transaction batching while the server is running, use the
ldapmodify
2
command-line utility to add the
nsslapd-db-transaction-batch-val
attribute to the
cn=config,cn=ldbm database,cn=plugins,cn=config
entry.
For more information on the syntax and values of the
nsslapd-db-transaction-batch-val
attribute, refer to the
Directory Server Configuration, Command, and File Reference
. For instructions
on using
ldapmodify
, see
Section 2.2.4, “Adding and Modifying Entries Using ldapmodify”
.
Содержание DIRECTORY SERVER 8.0
Страница 18: ...xviii ...
Страница 29: ...Configuring the Directory Manager 11 6 Enter the new password and confirm it 7 Click Save ...
Страница 30: ...12 ...
Страница 112: ...94 ...
Страница 128: ...110 ...
Страница 190: ...Chapter 6 Managing Access Control 172 4 Click New to open the Access Control Editor ...
Страница 224: ...206 ...
Страница 324: ...306 ...
Страница 334: ...316 ...
Страница 358: ...340 ...
Страница 410: ...392 ...
Страница 420: ...402 ...
Страница 444: ...426 ...
Страница 454: ...436 ...
Страница 464: ...446 ...
Страница 484: ...466 ...
Страница 512: ...494 ...
Страница 522: ...504 ...