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

Message flow statistics and accounting data

Message flow statistics and accounting data can be collected to record performance and operating details of one or more message flows.

Message flow statistics and accounting data captures dynamic information about the runtime behavior of a message flow. For example, it indicates how many messages are processed and how large those messages are, as well as processor usage and elapsed processing times. The statistical data is collected and recorded in a specified location when an event occurs, such as when a snapshot interval expires or when the execution group that you are collecting information about stops.

You can use the statistics generated for the following purposes:
  • You can use snapshot data to assess the execution of a message flow to determine why it, or a node within it, is not performing as you expect.
  • You can determine the route that messages are taking through a message flow. For example, you might find that an error path is taken more frequently than you expect and you can use the statistics to understand when the messages are routed to this error path.

    Check the information provided by snapshot data for routing information; if this is insufficient for your needs, use archive data.

  • You can record the load that applications, trading partners, or other users put on the broker. This allows you to record the relative use that different users make of the broker, and perhaps to charge them accordingly. For example, you could levy a nominal charge on every message that is processed by a broker, or by a specific message flow.

    You can use archive data to carry out an assessment of this kind.

The broker takes information about statistics and accounting from the operating system. On some operating systems, such as Windows, Linux, and UNIX, rounding can occur because the system calls that are used to determine the processor times are not sufficiently granular. This rounding might affect the accuracy of the data.

The following restrictions apply to data collection:
  • Data relating to the size of messages is not collected for WebSphere® Adapters nodes (for example, the SAPInput node), the FileInput node, the JMSInput node, or any user-defined input node that does not create a message tree from a bit stream.

Collecting message flow accounting and statistics data is optional; by default it is switched off. To use this facility, request it on a message flow or execution group basis. The settings for accounting and statistics data collection are reset to the defaults when an execution group is redeployed. Previous settings for message flows in an execution group are not passed on to the new message flows deployed to that execution group.

You can start and stop data collection by using the mqsichangeflowstats command or by clicking Statistics on the message flow in the WebSphere Message Broker Explorer; you do not need to change the broker or the message flow, or redeploy the message flow, to request statistics collection.

You can activate data collection on both your production and test systems. If you collect the default level of statistics (message flow), the effect on broker performance is minimal. However, collecting more data than the default message flow statistics can generate high volumes of report data that might affect performance slightly.

When you plan data collection, consider the following points:

The following topics contain reference information that you might find helpful when analyzing and tuning the performance of your message flows:

You can find more information about how to use the accounting and statistics facility to monitor the performance of a message flow in this developerWorks® article on WebSphere Message Broker Explorer accounting and statistics.

You can also find information about how to use accounting and statistics data in this developerWorks article on message flow performance.

Notices | Trademarks | Downloads | Library | Support | Feedback

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

        
        Last updated:
        
        Last updated: 2016-05-23 14:46:10


Concept topicConcept topic | Version 8.0.0.7 | ac19100_