Skip to Main Content

Oracle Database Discussions

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

How buffer cache hash chain works?

ronald_2017Apr 18 2020 — edited Apr 20 2020

Hi All,

When select statement run, full table scan or index scan happen. Data block address is hashed and search for the hash bucket. if it is in the buffer cache, it will be in the hash chain. I have several questions regarding this process.

First of all what buffer cache buffer store? Does it store single data block or multiple data blocks?

Also, regarding to hash chain, buffer headers are linked to the hash chain. Does the specific hash chain only hold buffer headers that belong to single database object?

During full scan, what if several data blocks are in buffer cache but the others are not? I mean, are the intended buffers in the buffer cache and some of them are wiped out? What will happen for this kind of situations?

Thanks

This post has been answered by Jonathan Lewis on Apr 19 2020
Jump to Answer
Comments
Post Details
Added on Apr 18 2020
6 comments
650 views