Monitoring threads

Threads are an important resource within a Db2 subsystem. A thread is a structure that describes a connection made by an application and traces its progress in the Db2 subsystem. You can monitor them by using the Db2 DISPLAY THREAD command or by using profile tables.

Types of threads

The following types of threads are used in Db2 subsystems:

Allied threads
Db2 uses allied threadsto process local requests and connections from allied subsystems, such as TSO, batch, IMS, CICS®, CAF, or RRSAF. For more information, see Managing allied Db2 threads.
Database access threads (DBATs)
Db2 uses distributed database access threads (DBATs) to process requests through a network for distributed clients that access data in a Db2 for z/OS® server. For more information, see Managing distributed database access threads (DBATs).