Checklist To Tune DB2 Performance
DBA suggests few of the recommended database performance tuning tips for IBM DB2 database engine that is running on Linux server.
Related information:
Executing command sysctl -A to print out current kernel parameters setting. Some of the notable are
In order to retain these changes of kernel parameters on every system reboot, add the updated kernel parameters setting to /etc/sysctl.conf system file to do the great job.
Recommended Value : 250 256000 32 1024
Recommended Value : 1024
Recommended Value : 65536
Recommended Value : 65536
After connecting to database called my_test_db by executing db2 connect to my_test_db, running another DB2 command db2 autoconfigure apply none to get DB2 database engine calculate the best recommended value of DB2 database configurable parameters. Some of the notable are
Larger log buffer required for OLTP workloads with high transaction rate.
For databases with heavy update transaction workloads, make sure there are enough clean pages in the buffer pool by setting the parameter value equal to or less than the best recommended value calculated by DB2 database engine.
The amount of storage that is allocated to the lock list. Increase this value if lock escalations causing performance concerns, that logged as warnings in the db2diag.log file.
Database heap per database. Needs to be increased for larger buffer pools.
Large buffer pools require a higher number of asynchronous page cleaners.
DB2 UDB ESE v8.2 introduces a new buffer pool page cleaning algorithm which is not turned on by default. It is necessary to test this new page cleaning algorithm with the database workload. To turn on this alternate page cleaning algorithm, executing DB2 command
db2set DB2_USE_ALTERNATE_PAGE_CLEANING=YES
This article has no comments yet. Why don't write your comments for this article?
So, feel free to write your comments for this article...