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.
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. 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
mqsichangeproperties BRK1 -e EG1 -o ExecutionGroup -n compiledXPathCacheSizeEntries -v 0