Uploaded image for project: 'HBase'
  1. HBase
  2. HBASE-14556

Make prefetchOnOpen configurable for index and/or data blocks

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Open
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: BlockCache, regionserver
    • Labels:
      None

      Description

      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).

        Attachments

          Activity

            People

            • Assignee:
              aliciashu Alicia Ying Shu
              Reporter:
              larsgeorge Lars George
            • Votes:
              0 Vote for this issue
              Watchers:
              10 Start watching this issue

              Dates

              • Created:
                Updated: