Skip to content

Commit

Permalink
Merge pull request #19 from ibm-mas/db2bpupdate
Browse files Browse the repository at this point in the history
[patch] add db2 monitor switches best practice
  • Loading branch information
cuddlyporcupine authored Aug 6, 2024
2 parents baca248 + 448b468 commit 13cd6ab
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions docs/mas/manage/bestpractice.md
Original file line number Diff line number Diff line change
Expand Up @@ -160,6 +160,14 @@ DB2 Tuning in [Maximo 7.6.x Best practice](../../maximo-7/download/Maximo%20Best
- For db2ucluster CR
- Do **NOT** set db2 instance memory. The operator will automatically calculate it based on the container memory limit.
- (Optional) for performance stability, set the same value to both container resource request and limit.
- **For db2 monitor switches**
- The best practice is turn off all monitor switches except the Timestamp in dbm cfg.
- If turn on monitor switches in dbm cfg, will cause monitor switches are turned on by default for all DB2 sessions, this will bring 5%-10% overhead on the overall database performance, depends on the workload and database server hardware spec.
So we should not turn on monitor switches in dbm cfg.
- When we need to take DB2 monitor data, we should only turn on monitor switches in a specific session by the following command:
db2 update monitor switches using BUFFERPOOL on LOCK on SORT on STATEMENT on TIMESTAMP on TABLE on UOW on
And turn off all monitor switches immediately after getting required monitor data by the following command:
db2 update monitor switches using BUFFERPOOL off LOCK off SORT off STATEMENT off TIMESTAMP off TABLE off UOW off
### DB - Oracle
Expand Down

0 comments on commit 13cd6ab

Please sign in to comment.