DBQD_MAX_CACHED_MESSAGES

Message and Mbox Processing Configuration

Note: This attribute is currently only used on the DB2 version of iProcess Engine. It has no effect on the Oracle or SQL Server versions.

Summary

This attribute defines the number of messages that are cached by the DBQD process when it requests a block of messages from a database message queue.

Applies To

This attribute can be set for the DBQD process (only).

Default Value

The attribute is assigned the following default value when iProcess Engine is installed.

Machine ID

Process

Instance

Value

0

DBQD

0

1000

Notes

Each BG and WISMBD process requests a message from one of its allocated message queues when it is not already processing a message or idle. The DBQD process receives this request and returns a message from its cache for the specified queue. If the cache is empty, the DBQD process requests another block of DBQD_MAX_CACHED_MESSAGES messages from the database message queue to refill the cache.

The rate at which messages are processed from the cache depends on the number of BG and WISMBD processes that are running, and the type of procedure being processed. For example, procedures involving significant use of deadlines or EAI steps would take longer to process than those involving normal steps.

Increasing the DBQD_MAX_CACHED_MESSAGES value increases the amount of memory used by the DBQD process and the time required to perform the caching operation. Decreasing this value means that the process needs to access the database to refill its cache more often.

See Also

DBQD_MAX_FIL_SESSIONS, EMPTYMBOXSLEEP