How to control Db2 memory consumption with STMM

View profile for Raghavendra Chiyodu

Db2 LUW Product Engineer, IBM Software Labs(ISL India), Bangalore

Insights on Controlling Db2 Memory consumption(DB2 LUW Memory Model) Db2 memory consumption varies depending on workload and configuration. In addition to this factor,self-tuning of the database_memory becomes a factor if it is enabled. Self-tuning of the database_memory is enabled when database_memory is set to AUTOMATIC and the self-tuning memory manager (STMM) is active. If the instance is running on a Db2 database product without memory usage restrictions and the instance_memory parameter is set to AUTOMATIC, an instance memory limit is not enforced. Behaviour when the INSTANCE_MEMORY is set to automatic ------------------------------------------------------------- The database manager allocates system memory as needed. If the self-tuning of database_memory is enabled, STMM updates the configuration to achieve optimal performance while it monitors available system memory. The monitoring of available memory ensures that system memory is not over-committed. Behaviour when the INSTANCE_MEMORY is set to fixed value -------------------------------------------------------------- If the instance is running on a Db2 database product with memory usage restrictions or instance_memory is set to a specific value, an instance memory limit is enforced. The database manager allocates system memory up to this limit. The application can receive memory allocation errors when this limit is reached.

To view or add a comment, sign in

Explore content categories