Reusing threads for your high-volume transactions

For high-volume transactions, reusing threads can help performance significantly.

About this task

By reusing threads, you can reduce the amount processor resources that Db2 consumes.

Procedure

To reuse threads:

  • For IMS, process multiple input messages in one scheduling of the IMS processing program
    • Set PROCLIM to a value greater than 1 and use class priority scheduling to share the cost of thread creation and termination among more than one transaction.
    • Reuse threads with wait for input (WFI), or the IMS fast path and class scheduling.
  • For CICS®, enhance thread reuse through specifications for pool and entry threads in the CICS resource definition online (RDO).
    You can useResource Recovery Services attachment facility to reuse threads.