WebSphere Message Broker, Version 8.0.0.7 Operating Systems: AIX, HP-Itanium, Linux, Solaris, Windows, z/OS

See information about the latest product version

Configuring the XPath cache

The execution group XPath cache size might become a performance bottleneck for customers who use many XPath expressions. Altering the size of the XPath cache might improve message flow performance

An execution group keeps a cache of compiled XPath expressions to help reduce the processor usage of parsing and re-creating XPath expressions that are used repeatedly during message flow execution. This cache is shared by all message flows within an execution group. The default size of this cache is 100. However, this default size might become a performance bottleneck for customers who use many XPath expressions with a single flow invocation completely invalidating the cache.

It might be necessary to alter the size of this cache for optimal message flow performance if many XPath expressions are created for each message flow invocation. In a highly multi-threaded environment where many XPath expressions are evaluated on each message flow invocation, it might be necessary to disable the cache to remove thread contention on the cache.

The property can be set by running the following mqsichangeproperties command:
mqsichangeproperties <broker> -e <eg> -o ExecutionGroup -n compiledXPathCacheSizeEntries -v <value>
where <value> is the size of the cache to be set. The size can be set to any value greater than or equal to 100. A value of 0 means that the cache is disabled. The default value is 100.
The configured value can be reported by running the following mqsireportproperties command:
 mqsireportproperties <broker> -e <eg> -o ExecutionGroup -n compiledXPathCacheSizeEntries
and can also be reported as part of the other ExecutionGroup level properties:
mqsireportproperties <broker> -e <eg> -o ExecutionGroup -a
To disable the cache for broker BRK1 and execution group EG1, run the following command:
mqsichangeproperties BRK1 -e EG1 -o ExecutionGroup -n compiledXPathCacheSizeEntries -v 0
Notices | Trademarks | Downloads | Library | Support | Feedback

Copyright IBM Corporation 1999, 2016Copyright IBM Corporation 1999, 2016.

        
        Last updated:
        
        Last updated: 2016-05-23 14:48:06


Concept topicConcept topic | Version 8.0.0.7 | be22566_