Type of index
Only supported in WebSphere MQ for z/OS.
The queue attribute, IndexType, specifies the type of index that the queue manager maintains in order to increase the speed of MQGET operations on the queue.
You have five options:
Value Description NONE No index is maintained. Use this when messages are retrieved sequentially (see Priority). MSGID An index of message identifiers is maintained. Use this when messages are retrieved using the MsgId field as a selection criterion on the MQGET call (see Getting a particular message). MSGTOKEN An index of message tokens is maintained. Use this when messages are retrieved using the MsgToken field as a selection criterion on the MQGET call (see WebSphere MQ Workflow). CORRELID An index of correlation identifiers is maintained. Use this when messages are retrieved using the CorrelId field as a selection criterion on the MQGET call (see Getting a particular message). Notes:
- If you are indexing using the MSGID option or CORRELID option, set the relative MsgId or CorrelId parameters in the MQMD. It is not beneficial to set both.
- Browse uses the index mechanism to find a message if a queue matches all of the following conditions:
- Avoid queues (indexed by MsgId or CorrelId) containing thousands of messages because this affects restart time. (This does not apply to nonpersistent messages as they are deleted at restart.)
- MSGTOKEN is used to define queues managed by the z/OS workload manager.
For a full description of the IndexType attribute, see WebSphere MQ Application Programming Reference. For conditions needed to change the IndexType attribute, see WebSphere MQ Script (MQSC) Command Reference.
WebSphere is a trademark of the IBM Corporation in the United States, other countries, or both.
IBM is a trademark of the IBM Corporation in the United States, other countries, or both.