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

Anoop Sam John commented on HBASE-23588:
----------------------------------------

bq.Btw just a question: Is it possible that cacheIndexesOnWrite & 
cacheBloomsOnWrite both might be enabled but cacheDataOnWrite might be 
disabled? If so, is it recommended for specific usecase(may be majority 
usecases?) or has any advantage?
This is possible. It depends on the cache size available in RS. The size of 
index and bloom will be very less compared to data blocks size.  So for lower 
sized cache it make sense.  But the reverse does not make sense.  Same with new 
config around compacted blocks write.
+1 for the idea Ram.

> Cache index blocks and bloom blocks on write if CacheCompactedBlocksOnWrite 
> is enabled
> --------------------------------------------------------------------------------------
>
>                 Key: HBASE-23588
>                 URL: https://issues.apache.org/jira/browse/HBASE-23588
>             Project: HBase
>          Issue Type: Improvement
>    Affects Versions: 3.0.0
>            Reporter: ramkrishna.s.vasudevan
>            Assignee: Viraj Jasani
>            Priority: Major
>
> The existing behaviour even even cacheOnWrite is enabled is that we don cache 
> the index or bloom blocks. Now with HBASE-23066 in place we also write blocks 
> on compaction. So it may be better to cache the index/bloom blocks also if 
> cacheOnWrite is enabled?
> FYI [~javaman_chen]



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to