The size of the database and recovery log buffer pools can affect performance at the cost of greater memory. For example, a large database buffer pool can improve performance, and a large recovery log buffer pool reduces how often the server forces records to the recovery log.
You can adjust the size of the database buffer pool by updating the server option for it.
To gather statistics on database use, reset the buffer pool statistics on a regular basis and chart the results. Initially, you might want to monitor the database twice a day. Later, when most client nodes have been registered to the server, you can reset statistics each week.
To reset the database buffer pool, enter:
reset bufpool
To see if the database buffer pool is adequate for database performance, enter:
query db format=detailed
The server displays a report, like this:
+--------------------------------------------------------------------------------+ | Available Space (MB): 196 | |Assigned Capacity (MB): 196 | |Maximum Extension (MB): 0 | |Maximum Reduction (MB): 176 | | Page Size (bytes): 4,096 | | Total Pages: 50,176 | | Used Pages: 4,755 | | %Util: 9.5 | | Max. %Util: 9.5 | | Physical Volumes: 5 | | Buffer Pool Pages: 128 | | Total Buffer Requests: 1,193,212 | | Cache Hit Pct.: 99.73 | | Cache Wait Pct.: 0.00 | +--------------------------------------------------------------------------------+
Use the following fields to evaluate your current use of the database buffer pool:
A high cache hit percentage indicates that the size of your database buffer pool is adequate. If the cache hit percentage is below 90%, consider increasing the size of the database buffer pool.
When the cache wait percentage is greater than 0, increase the size of the database buffer pool.
You can set the size of the database buffer pool by setting the buffer pool size option (BUFPOOLSIZE). You can set options through the ADSM Server Utilities or by editing the server options file (see ADSM Administrator's Reference).
You can adjust the size of the recovery log buffer pool by updating the server option for it.
To see how the buffer pool size affects recovery log performance, enter:
query log format=detailed
The server displays a report, like this:
+--------------------------------------------------------------------------------+ | Available Space (MB): 12 | |Assigned Capacity (MB): 12 | |Maximum Extension (MB): 0 | |Maximum Reduction (MB): 8 | | Page Size (bytes): 4,096 | | Total Pages: 3,072 | | Used Pages: 227 | | %Util: 7.4 | | Max. %Util: 69.6 | | Physical Volumes: 1 | | Log Pool Pages: 32 | | Log Pool Pct. Util: 6.25 | | Log Pool Pct. Wait: 0.00 | | | +--------------------------------------------------------------------------------+
Use the following fields to optimize the log buffer pool size for your installation:
A low value (under 10%) indicates that the size of your recovery log buffer pool is adequate. As this number increases, consider increasing the size of the recovery log buffer pool.
If the log pool percentage wait value is greater than 0, increase the size of the recovery log buffer pool.
You can set the size of the recovery log buffer pool by setting the buffer pool size option (LOGPOOLSIZE). You can set options through the ADSM Server Utilities or by editing the server options file (see ADSM Administrator's Reference).