14.8. Case StudyDiagnosing a Problem with the Help of DB2 ProcessesThe following real-life example shows how you can solve problems by reviewing the running DB2 processes of a system. One afternoon, an AIX database server encountered a general slow-down in query response time. A DB2 list applications command did not show anything out of the ordinary running at the time. Before taking DB2 snapshots, we looked at the DB2 processes running on this AIX machine and found that the db2rebal process was running. This process performs a rebalancing of the data across containers when a container is added to a DMS table space. The DBA realized that earlier that day he had added one container to a table space containing a 40GB table. No action was required; when the rebalancing finished, the queries went back to its original good response time. How to Control the Number of Connections by Setting the Number of DB2 AgentsExample 1Consider an ESE environment with a single database partition in which 1,000 users on average are connected to the database concurrently. However, the number of connections that are actually active is 250 at the maximum. The transactions are short. For this workload, you can enable the connection concentrator such that the database manager can allow up to 1,000 concurrent connections. You can set a maximum of 250 coordinator agents to handle the active connections at any one time. Without the connection concentrator, 1,000 coordinator agents are required to be created, one for each connection. The following Database Manager Configuration parameters need to be set.
Example 2In a system for which you do not want to enable the connection concentrator but want to allow for 250 connected users at one time, set the Database Manager Configuration parameters as follows:
|