Home | About | Sematext search-lucene.com search-hadoop.com
 Search Hadoop and all its subprojects:

Switch to Threaded View
HBase >> mail # user >> What is in BlockCache?

Copy link to this message
What is in BlockCache?
Hi, All,
I am wondering what is exactly stored in BlockCache: Is it the same raw
blocks as in HFile? or does HBase merge several raw blocks and store the
merged block in cache to serve future queries?

To be more specific, when a get operation entails loading of block b1 from
hfile f1, and of block b2 from hfile f2. In order to produce the final
result, the overlapping part of two blocks are merged. So in BlockCache,
does HBase store b1 and b2 separately, or store the merged form?