Controlling deallocation for high-performance DBATs
High-performance DBATs can reduce CPU use for package allocation and deallocation, but they can also hold package locks and table space intent locks that effectively block your ability to modify objects, run utilities, or rebind packages. However, you can use the MODIFY DDF command to change the deallocation rules for high-performance DBATs.
Before you begin
Enable high-performance DBATs in your Db2 environment. For more information, see Enabling high-performance DBATs.
About this task
When database access threads (DBATs) run in INACTIVE mode, Db2 accepts the RELEASE bind option of the package and uses high-performance DBATs to process remote connections. A high-performance DBAT is a database access thread that stays associated with a remote connection at transaction boundaries, rather than being pooled. With high-performance DBATs, the amount of allocation and deallocation processing is reduced because the copy of the package remains allocated until the DBAT terminates. Although certain package release options can reduce the use of CPU resources for package allocation and deallocation processing, they can also block your ability to modify and maintain database objects and packages.
Procedure
To minimize the CPU use for package allocation and deallocation processing and enable administrative activities, you can use the following practices: