Generally, one application connection has one agent, unless one of the following occur (in which case there may be multiple agents):
- A parallel acess path is chosen by DB2 (intra-partition parallelism) for a given SQL statement.
- A utility uses parallelism (such as backup, etc). See the Command Reference for details.
- A few other unusual cases that I can't remember
.
A given agent can run multiple SQL statements.