[ 
https://issues.apache.org/jira/browse/HBASE-15316?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15286158#comment-15286158
 ] 

Heng Chen commented on HBASE-15316:
-----------------------------------

If i understand correctly,  this means we should add two options 
'CacheRootIndexOnlyOnRead' and 'CacheRootIndexOnlyOnWrite' in CacheConfig. 
If both of them are opened,  the other configs in CacheConfig will be useless, 
and there will be only ROOT_INDEX blocks in cache, right?

> Add the ability to cache ROOT_INDEX on reads only
> -------------------------------------------------
>
>                 Key: HBASE-15316
>                 URL: https://issues.apache.org/jira/browse/HBASE-15316
>             Project: HBase
>          Issue Type: Bug
>            Reporter: Elliott Clark
>
> For larger data sets it's sometimes not needed to fit the entire index in 
> memory ( there can be cold spots in the data, too much data in index, etc). 
> However it's almost always needed to cache the root index. It's always the 
> hottest blocks of the entire region.
> We should allow the root index block to be cached in memory on write. We 
> should also do that by default.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to