About Managing the Dynamic Statement Cache
Because DB2 uses the Environmental Descriptor Manager (EDM) component to manage the dynamic statement cache, it is important that you set EDM-related system parameters to appropriate values. Prior to DB2 for z/OS Version 8, the cached SQL statements were stored in either the primary EDM Pool, or in a data space. In DB2 for z/OS Version 8 and later releases, the cached SQL statements are always stored in a dedicated storage pool above the 2-GB bar. For guidance on setting the EDM system parameters, see your IBM documentation.
System parameters associated with dynamic statement caching are described in the following table.
Parameter | Value | Description |
---|---|---|
|
|
Enables dynamic statement caching. |
|
|
Contracts working storage for connections periodically (every 50 commits or when storage use reaches 2 MB). |
|
|
EDM pool storage size in KB. |
|
|
Global statement cache size, in KB, used by EDM in DB2 for z/OS Version 8 and later releases. |
|
|
Minimizes thread storage usage. |