You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hbase.apache.org by "Andrew Purtell (JIRA)" <ji...@apache.org> on 2015/10/12 06:51:05 UTC

[jira] [Commented] (HBASE-14556) Make prefetchOnOpen configurable for index and/or data blocks

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

Andrew Purtell commented on HBASE-14556:
----------------------------------------

We changed KEEP_DELETED_CELLS from a boolean to an end on HBASE-12363. Although that was a schema option not a CacheConfig option, perhaps we could do something similar here for prefetchOnOpen. 

> Make prefetchOnOpen configurable for index and/or data blocks
> -------------------------------------------------------------
>
>                 Key: HBASE-14556
>                 URL: https://issues.apache.org/jira/browse/HBASE-14556
>             Project: HBase
>          Issue Type: Bug
>          Components: BlockCache, regionserver
>            Reporter: Lars George
>
> This came up in user discussions. It would be great to add an extra option to the {{CacheConfig}} that allows to specify what blocks are cached during region/file opening. This should allows to set {{BlockIndexOnly}}, {{BloomFilterOnly}}, {{AllIndexesOnly}}, {{DataOnly}}, and {{AllBlocks}}. 
> For large datasets it is not viable to load all blocks into memory, but to speed up access it still makes sense to prefetch the index blocks (being block index and Bloom filter blocks).



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