cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

SQL Cache - Disk reads larger than buffer gets??

peter_strauss
Product and Topic Expert
Product and Topic Expert
0 Likes
676

Hello,

On an Oracle 10g test system, from ST04 -> Detailed analysis -> SQL request

I'm getting what seems to be a strange result for one statement:

Disk reads: 799,713

Buffer gets: 553.377

I thought that for each disk read, the block was read into the data buffer and then read from there.

This means that 'Disk reads' greater than 'Buffer gets' should be impossible.

Is what I'm seeing in my SQL cursor cache a bug or can someone suggest a scenario where disk reads could be greater than buffer gets?

Kind regards,

Peter

View Entire Topic
Former Member
0 Likes

Hello Peter,

also the hash join in the execution plan can be the reason for the direct path accesses.

Regards

Martin

peter_strauss
Product and Topic Expert
Product and Topic Expert
0 Likes

Sorry, I should have got that from your first reply.

Regards,

Peter