Open tiancheng91 opened 4 years ago
https://issues.apache.org/jira/browse/HBASE-20636
create 't1', {NAME => 'f1', BLOOMFILTER => 'ROWPREFIX_FIXED_LENGTH', CONFIGURATION => {'RowPrefixBloomFilter.prefix_length' => '10'}} create 't1', {NAME => 'f1', BLOOMFILTER => 'ROWPREFIX_DELIMITED', CONFIGURATION => {'RowPrefixDelimitedBloomFilter.delimiter' => '#'}}
https://hbase.apache.org/devapidocs/org/apache/hadoop/hbase/regionserver/BloomType.html
预分区 https://hbase.apache.org/devapidocs/org/apache/hadoop/hbase/util/RegionSplitter.html create ‘t1’, {NAME => ‘f1’, COMPRESSION => ‘snappy’}, {NUMREGIONS => 100, SPLITALGO => ‘HexStringSplit’}
// scan.setCaching(int caching) // 默认100 scan.setBlockCache(false) // 离线计算场景禁止缓存
前缀BloomFilter
https://issues.apache.org/jira/browse/HBASE-20636
https://hbase.apache.org/devapidocs/org/apache/hadoop/hbase/regionserver/BloomType.html
预分区 https://hbase.apache.org/devapidocs/org/apache/hadoop/hbase/util/RegionSplitter.html create ‘t1’, {NAME => ‘f1’, COMPRESSION => ‘snappy’}, {NUMREGIONS => 100, SPLITALGO => ‘HexStringSplit’}
// scan.setCaching(int caching) // 默认100 scan.setBlockCache(false) // 离线计算场景禁止缓存