Updating the Performance Data Warehouse configuration file (optional)
You can optionally change several configuration properties in the Performance Data Warehouse configuration file. You can set the batch size for pruning, specify the timeout period for the prune operation, or specify how many times the operation can be tried again.
For information about updating the configuration file, see The 99Local.xml and 100Custom.xml configuration files.
The configuration properties are located in the 00Static.xml file. You copy those properties to the 100Custom.xml and then make the updates in the 100Custom.xml file.
Configuration properties
- The number of records to be deleted in a single prune operation.
The default value is 10000.
You can increase the number if the default value produces unacceptable performance. However, if the value is set too high, the increased load on the transaction log might result in errors.
- The amount of time that the prune command can
run. By default, the prune command runs for up
to 10800 seconds (3 hours).
If there is more pruning to be done, a request to run the prune command again is placed on the queue. The Performance Data Warehouse is then free to perform other tasks, such as processing tracking definition updates or transferring data from the process server, while the prune command is on the queue.
- Specifies the number of times that a single prune request can
be queued. The value includes the initial prune call that queues the
request. The default value is 4, which means that
the prune operation is tried again three times (after the initial
call).
For example, if the prune-batch-size is set to 10800 (3 hours) and the prune-operation-time-box-entry is set to 4, the prune operation follows this sequence:
- The request from the original perfDWTool call arrives on the queue.
The request can be on the queue three more times.
- The operation times out.
- The request is requeued.
This is the second time on the queue.
- The operation times out.
- The request is requeued.
This is the third time on the queue.
- The operation times out.
- The request is requeued.
This is the fourth time on the queue. No more attempts are allowed.
- The operation times out and exits.
In this example, the prune operation runs for a total of 12 hours (the original call and the three reattempts).
The retry value prevents the prune operation from running forever.
- The request from the original perfDWTool call arrives on the queue.
Procedure
- Stop the support cluster member or members.
- Open the 00Static.xml file and the 100Custom.xml file
in a text editor. The files are in the following directory:
dmgr_profile_name\config\cells\cell_name\nodes\node_name\servers\server_name\performance-data-warehouse\config\
- Locate the performance server properties section in the 00Static.xml file,
as shown in the following snippet from the file:
<properties> ... ... <performance-server merge="mergeChildren"> ... ... <prune-batch-size>10000</prune-batch-size> ... ... <prune-operation-time-box>10800</prune-operation-time-box> ... ... <prune-operation-time-box-retry>4</prune-operation-time-box-retry> ... ... </performance-server> </properties>
- Copy the entire <performance-server> section from the 00Static.xml file to the 100Custom.xml file, and then close the 00Static.xml file.
- In the 100Custom.xml file, update the property or properties.
- Save your changes.
- Start the support cluster member or members.
Example
- prune-batch-size (from the default of 10000 to 15000)
- prune-operation-time-box (from the default of 10800 to 14400)
- prune-operation-time-box-retry (from the default of 4 to 5)
- Stop the support cluster member.
- Locate the 00Static.xml and 100Custom.xml files
and open them in a text editor. In this example, the configuration
files are in the following directory:
C:\IBM\WebSphere\AppServer\profiles\DmgrProfile\config\cells\PCCell1\nodes\Node1\servers\SingleClusterMember1\performance-data-warehouse\config\
- Locate the performance server properties section in the 00Static.xml file.
- Copy the entire section (everything from <performance-server> to </performance-server>) to the 100Custom.xml file.
- Close the 00Static.xml file.
- In the 100Custom.xml file, update the entries,
as shown in the following example:
<properties> ... ... <performance-server merge="mergeChildren"> ... ... <prune-batch-size merge="replace">15000</prune-batch-size> ... ... <prune-operation-time-box merge="replace">14400</prune-operation-time-box> ... ... <prune-operation-time-box-retry merge="replace">5</prune-operation-time-box-retry> ... ... </performance-server> ... ... </properties>
Notice that you must add merge="replace" to the entries in addition to changing the value.
- Save your changes.
- Start the support cluster member.