Db2 Java arguments for performance improvement
A list of Java arguments that you can modify to improve the performance of Unified Management Server, Db2® DevOps Experience, and Db2 Administration Foundation.
Subsystem
List of Java arguments to improve the performance of subsystem registration. For more information, refer to Registering Db2 subsystems
- Maximum connection for each subsystem
- Determines the maximum number of connections allowed in a specific subsystem. You can configure the
maxConnectionsPerSubsystemparameter by specifying a definition for the javaArgs element inPARMLIB(ZWEYAML). - Maximum size for queues
- Determines the maximum size allowed for queues, which includes the waiting threads for connections.
- Weight for interactive requests
- Determines the weight for processing the interactive requests.
- Frequency for logger entries
- Determines the frequency at which the logger entries are written to a log file.
- Wait time for connection request
- Determines the maximum waiting times for a connection request in Unified Management Server (UMS). You can configure the
connectionRequestWaitTimeSecondsparameter by specifying a definition for the javaArgs element inPARMLIB(ZWEYAML).
- Clean up time
- Determines the time interval after which the scheduler cleans the connection pools in the data source. You can configure the
DatasourceCleanTimeparameter by specifying a definition for the javaArgs element inPARMLIB(ZWEYAML).The value is given in milliseconds. The default value is 14400000 (milliseconds or 4 hours). For example, 1000L*60*60*4 is 14400000 milliseconds.
- Maximum idle time
- Determines the maximum time (in seconds) a connection can stay idle in the pool. You can configure the
defaultIdleTimeInSecparameter by specifying a definition for the javaArgs element inPARMLIB(ZWEYAML).
DDL
List of Java arguments to improve the performance of DDL. For more information, refer to Using Db2 DevOps Experience.
- String length
- Determines the maximum string length allowed for a DDL during an external deployment. You can configure the
maxRequestStringLengthparameter by specifying a definition for the javaArgs element inPARMLIB(IZPD2IPM).
Worklist
List of Java arguments for generating a unique name for the worklist when submitting the JCL jobs.
- Minimum pause time
- Determines the minimum sleep time (in milliseconds) for checking the job status. The environment pauses for this duration before polling z/OSMF to check the job status.
- Maximum pause time
- Determines the maximum sleep time (in milliseconds) for checking the job status. This limits the exponential backoff to prevent long waits.
- Maximum retry count
- Determines the maximum number of retry an application can make to retrieve the status or details of a completed job from z/OSMF after encountering a retrieval error during the initial attempt.
- Query in worklist generation
- Enables or disables a new logic for generating a unique worklist name.
- If you want to disable a new logic, set the
disableQueryInWorklistGenerationparameter totrue. - If you want to enable a new logic, set the
disableQueryInWorklistGenerationparameter tofalse.
- If you want to disable a new logic, set the
- Maximum worklist records
-
Determines the number of records to fetch from the
ADBCHKPTtable to check the existence of a worklist name.
- Maximum worklist retry
- Defines the number of retries allowed to generate a unique worklist name.
Discovery
- Control discovery
- The true or false value that you provide for
indexspace2index,tablespace2table, andplan2packagecollectionparameters in theZWEYAMLcan minimize deep discovery within thegraphqlimplementation, which reduces zIIP usage. The default value is false.
Application
- Chunk size
- The chunk size decides the number of objects included in a single JCL during DDL generation. The default value for the
CHUNK_SIZEparameter is 200. You can configure theCHUNK_SIZEparameter by specifying a definition for thejavaArgselement inPARMLIB(ZWEYAML). Every JCL runs in parallel. Proceed with caution while configuring theCHUNK_SIZEparameter to avoid extra load on the server. - Limit for code point
- The code point limit decides the size of the YAML file in the JCL. You can configure the
codePointLimitparameter by specifying a definition for thejavaArgselement inPARMLIB(ZWEYAML). The value for this parameter must be in bytes. - Skip GIT history records
- The performance of registering an application can be improved by skipping the records in the GIT history. You can configure the
checkGitHistoryForAddedObjectsparameter by specifying a definition for thejavaArgselement inPARMLIB(ZWEYAML). The default value istrue.