Database service configuration tips
Use these tips to configure your database services for optimal database services performance.
- Do not change the default settings of db_maxConnection_module_Name_system for all services.
- The total number of maximum connections that are used in all services must be less than the
total number of database connections set for a given database. The following formula calculates the
total maximum number of database connections of an IBM® Product Master
deployment:
Where,db_maxConnection_admin + ( db_maxConnection_appsvr * A ) + ( db_maxConnection_scheduler * S ) + db_maxConnection_eventprocessor + db_maxConnection_workflowengine
A
is the number of application server instances andS
is the number of scheduler instances. - Administrators are advised to adjust the
db_maxConnection_module_Name and
db_maxConnection_module_Name_default
parameters whenever the number of concurrent users increases. The following formula calculates the
required value for db_maxConnection_module_Name for a given
number of concurrent users:
Where, U is the number of concurrent users.db_maxConnection_MODULE = U * (1.5)
- For
eventprocessor
andqueuemanager
the following formula calculates the value of db_maxConnection_module_Name_default:db_maxConnection_MODULE_default = db_maxConnection_MODULE - db_maxConnection_MODULE_system
- For
appsvr
,scheduler
,workflowengine
andmessaging
the following formula calculates the value of db_maxConnection_module_Name_default:db_maxConnection_MODULE_default = db_maxConnection_MODULE - db_maxConnection_MODULE_system - db_maxConnection_MODULE_gdsmsg
Database connections and the number of threads can be configured for each module
The following details list how the number of database connections and the number of threads
can be configured for each module. It also gives you some guidelines how these numbers should relate
to each other. This ratio or formula differs for the different modules.
- admin module
- To modify the number of database connections: In the
common.properties file, you can use the
db_maxConnection_admin parameter with the default value set to
5
. - application server module
- To modify the number of database connections: In the
common.properties file, you can use the
db_maxConnection_appsvr parameter with the default value set to
30
. - eventprocessor module
- To modify the number of database connections: In the
common.properties file, you can use the
db_maxConnection_eventprocessor parameter with the default value set to
6
. - gdsmsg module
- To modify the number of database connections: In the
common.properties file, you can use the gdsmsg parameter
to change the maximum connections parameter with the default value set to
30
. For example:db_maxConnection_appsvr_gdsmsg=10
.For more information, see the Database parameters for the GDS messaging module section in the common.properties file parameters file.
- scheduler module
- To modify the number of database connections: In the
common.properties file, you can use the
db_maxConnection_scheduler parameter with the default value set to
70
. - queuemanager module
- To modify the number of database connections: In the
common.properties file, you can use the
db_maxConnection_queuemanager parameter with the default value set to
12
. - workflow engine module
- To modify the number of database connections: In the
common.properties file, you can use the
db_maxConnection_workflowengine parameter with the default value set to
70
.