Analyzing buffer pools
To analyze buffer pools for the target Db2
From EZDB2, hyperlink on Buffer Pools to view a list of all defined pools with allocated space, utilization, and getpage rates.
>W1 =BFRPL=============DEEO=====*========ddmmmyyyy==hh:mm:ss====MVDB2====D===39
Pool DB2 Min Res from Vpool Vpool SPool Getpg Interval Session Previous %
Name Target Pool Advisor Size Alloc Size /sec Getpages Getpages Getpages Actv
BP0 DEEO Min Res Time 2000 2000 0 0.2 65 4186 4121 2
BP1 DEEO Min Res Time 1000 0 0.0 0 0 0 0
BP2 DEEO Min Res Time 1000 0 0.0 0 0 0 0
BP3 DEEO Min Res Time 1000 0 0.0 0 0 0 0
BP4 DEEO Min Res Time 1000 0 0.0 0 0 0 0
BP5 DEEO Min Res Time 1 0 0.0 0 0 0 0
BP6 DEEO Min Res Time 1000 0 0.0 0 0 0 0
BP7 DEEO Min Res Time 1000 0 0.0 0 0 0 0
BP8 DEEO Min Res Time 1000 0 0.0 0 0 0 0
BP9 DEEO Min Res Time 1000 0 0.0 0 0 0 0
BP10 DEEO Min Res Time 1000 0 0.0 0 0 0 0
BP11 DEEO Min Res Time 1000 0 0.0 0 0 0 0
BP12 DEEO Min Res Time 1000 0 0.0 0 0 0 0Hyperlink on Pool Name to display all status and statistics for one pool.Both interval and session counts are displayed:
>W1 =BFRPL====BFRPLXD==DEEO=====*========ddmmmyyyy==hh:mm:ss====MVDB2====D====1
Buffer Pool Statistics Detail.....
Pool Name......................... BP0
VP Size........................... 2000
Simulated Pool Size............... 0
Virtual Pool Sequential Threshold. 80
Deferred Write Threshold.......... 30
Vertical Write Threshold.......... 5
Vertical Write Threshold (Buffers) 0
Parallel Sequential Threshold..... 50
Assisting Parallel Threshold...... 0
Page Steal Algorithm.............. LRU
Page Fix Attribute Y/N............ N
Autosize Attribute Y/N............ N
Minimum Pool Size................. 0
Maximum Pool Size................. 0
Frame size........................ 4K
Interval Session
Virtual Pool Allocation...........
Buffers Allocated............... 2000
Current Active Buffers.......... 16- Scroll down using F8 to display all of the data.
- Press F3 to return to BFRPL.
Hyperlink on Min Res from Pool Advisor to display the Buffer Pools Status Monitor report in the BMC AMI Pool Advisor for Db2 product. This report includes the minimum residency time in the Min Res column.
This would display the PMDBPM2 report from Pool Advisor which would have Minimum Residency Time under the MIN RES column.- Press F3 to return to BFRPL.
- Locate current and session ratios for one pool as follows:
- Hyperlink on Getpg/sec to display a list of current hit ratios per pool is displayed, BFRPLH.
Hyperlink on Pool Name to display a list of current and session ratios for one pool is displayed.
>W1 =BFRPLHD===========DLY6=====*========ddmmmyyyy==hh:mm:ss====MVDB2====D====1
Buffer Pool Hit Ratios........
Pool Name..................... BP0
Interval Session
Hit Ratios....................
VPOOL Hit Ratio % with P/F... 81.58 42.37
VPOOL Hit Ratio % without P/F 81.58 69.42
GBP Hit Ratio %.............. 12.50 7.68
Activity per Second...........
Getpages..................... 0.07 0.34
Page Updates................. 0.01 0.02
Sync I/O..................... 0.01 0.09
Prefetch I/O................. 0.00 0.00
Write I/O.................... 0.00 0.00
Data Set Opens............... 0.00 0.00
zHyperlink Read I/O.......... 0.00 0.00
Read I/O DASD Cache Hits.... 0.01 0.08
Press F3 to return to BFRPL.Group buffer pools are described later in theData sharingsection.