15.1. DB2 Memory Allocation: The Big PictureDB2 allocates memory for three different types of operations.
DB2 allocates its instance-level shared memory for each instance that you start. This is the area on the top left side of Figure 15.1. For every database in the instance that has been activated or that has at least one connection, DB2 will allocate the database-level shared memory. This is the area on the bottom left side of Figure 15.1. As long as one DB2 agent is connected to a database or is in the idle agent pool, DB2 will allocate and maintain the application shared memory. Every DB2 agent that is either working or in the idle agent pool will have its own agent-level private memory. Figure 15.1 illustrates this (Application Global Memory and Agent Private Memory). |