If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

 
Go Back  dBforums > Database Server Software > DB2 > Bufferpool physical read greater than logical reads ?

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 08-25-11, 02:02
amitrai4 amitrai4 is offline
Registered User
 
Join Date: Aug 2011
Posts: 46
Bufferpool physical read greater than logical reads ?

I have this formula to calculate bufferpool hit ratio:

DEC((1 - (FLOAT(TOTAL_DATA_PHYSICAL_READS) / FLOAT(TOTAL_DATA_LOGICAL_READS))) * 100,5,2)

Hypothetical question: is it possible, physical_reads could be greater than logical read resulting into negative hit ratio ?
Reply With Quote
  #2 (permalink)  
Old 08-25-11, 02:55
dr_te_z dr_te_z is offline
Registered User
 
Join Date: Jan 2009
Location: Zoetermeer, Holland
Posts: 555
Too much prefetching.
Reply With Quote
  #3 (permalink)  
Old 08-28-11, 10:53
DBFinder DBFinder is offline
Registered User
 
Join Date: Sep 2008
Location: Toronto,Canada
Posts: 606
Yes,

Recently, I came across one database having Hit Ratio over 115 %.

But,

I wonder, do we need it to tune down ??



Regards
DBFinder
Reply With Quote
  #4 (permalink)  
Old 08-28-11, 11:49
n_i n_i is offline
:-)
 
Join Date: Jun 2003
Location: Toronto, Canada
Posts: 4,449
You may want to look at the unread prefetch pages metric. It may indicate that prefetching is too aggressive and you are reading more data from disk than you actually need, wasting I/O bandwidth.
Reply With Quote
  #5 (permalink)  
Old 08-28-11, 16:52
DBFinder DBFinder is offline
Registered User
 
Join Date: Sep 2008
Location: Toronto,Canada
Posts: 606
That makes sense !!

Thanks

DBFinder
Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On