
Tuning HADB
For example, the output displayed by this command might look something like this:
Node No. | Avail | Free | Waits |
0 | 50000 | 50000 | na |
1 | 50000 | 50000 | na |
■Avail: Number of locks available.
■Free: Number of locks in use.
■Waits: Number of transactions that have waited for a lock.“na” (not applicable) if all locks are available.
To change the number of locks, use the following command:
hadbm set NumberOfLocks
The hadbm restarts all the nodes, one by one, for the change to take effect. For more information on using this command, see “Configuring HADB” in Sun GlassFish Enterprise Server 2.1 High Availability Administration Guide.
Timeouts
This section describes some of the timeout values that affect performance.
JDBC connection pool timeouts
These values govern how much time the server waits for a connection from the pool before it times out. In most cases, the default values work well. For detailed tuning information, see “Tuning JDBC Connection Pools” on page 77.
Load Balancer timeouts
Some values that may affect performance are:
■
■health checker:
■health checker:
The combination of the health checker’s
Chapter 6 • Tuning for | 115 |