SAP on Db2: Review Buffer Pool and Instance Memory Configuration

Buffer pools cache database pages, but they are only one part of the Db2 memory budget. Increasing them without checking the instance limit and other memory consumers may cause paging or memory allocation failures.

Collect the current settings

db2 get dbm cfg
db2 get db cfg for SID
db2pd -db SID -bufferpools

Replace SID with the database alias. Review INSTANCE_MEMORY, DATABASE_MEMORY, SELF_TUNING_MEM and the configured buffer pools. Use operating system monitoring to compare physical memory availability and paging with the database workload.

Evaluate self-tuning

Db2 can adjust eligible buffer pools and other memory consumers through STMM. Check whether individual pools are configured for automatic sizing and whether self-tuning is actually active. Use representative workload measurements rather than a fixed percentage of RAM. Record the original settings before any change and validate performance after implementation.

Reference: Official documentation

Related SAP Note: 3699063

You May Also Like

Leave a Reply?