There's really no such thing as an I/O rate that's objectively "okay" or "not okay". You would need to know the environment to determine that.
I personally don't think a HR of 85-93% is that bad on a huge catch-all pool. Joel is, of course, right that a hit ratio by itself doesn't really tell you anything. It could just be the nature of the data access you're doing that you don't get a lot of re-use. You might be able to divine whether your pools are configured adequately from a combination of hit-ratio, residency times, and some info on the working-sets from heavily-accessed objects in the pool (SMF199).
As far as moving EVERYTHING to 16K pools...I wouldn't accept a blanket recommendation like that unless the "expert" can provide a thesis for why it might help you, and that would likely be on a case-by-case basis.
Can I come up with a reason why NOT to use 16K pages? Well...if you are using LOCKSIZE PAGE, you could end up locking more rows in a single page and giving yourself concurrency issues. If you can't make the pool large enough to avoid significant page stealing, one stolen page would mean a lot more rows would be out-of-memory with each "steal" event.
If you DO find a link to the 16K guidance, post it up...I'd like to see IBM's justification for it, for my own edification.
------------------------------
Mark Wieczorkowski
------------------
Db2 Systems Programmer, SSA/DCS
Principal - Solipsistic, LLC
------------------------------
Original Message:
Sent: Apr 11, 2022 04:09 PM
From: Wolfgang Beikircher
Subject: Yet another bufferpool question
Hi guys,
we are reviewing our buffer pool layout in these days. Since we aren't experts in this topic we hired some expert to support us.
Now he came up with some points:
- actually we have 2 big buffer pools for 4K data (one for tables and one for indexes). We have a hit ratio (w/o p/f) during our online window between 85%-93%. Is that really to low? The hit ratio with p/f is between 70%-90%.
- our expert is pushing us to move from 4K buffer pools to 16K buffer pools. It seems that IBM recommends this configuration over the last years. Honestly, I didn't attend such sessions on IDUG but I never heard about such a move. My latest information is, that DB2 reads the data in 4K pages. I don't see advantages besides for tables with long record lengths (let's say > 1K).
Besides, I read some older comments in this forum. It seems that (for some of you) the I/O rates are more important than the hit ratios. How do I know what I/O rates are okay and which one don't?
------------------------------
WolfgangBeikircherRaiffeisen Information Service
------------------------------