Hi All,

I want to understand Region Split policy used by HBase when I create table
through Phoenix.

E.g.

CREATE TABLE foo (rowkey VARCHAR PRIMARY KEY, col1 VARCHAR)
SALT_BUCKETS = 20 ;

This will create 20 pre-split regions..
Region1 - START KEY - ' ' , END_KEY - '\x01 \x00'
Region2 - START KEY - '\x01\x00' END_KEY - '\x02 \x00'
and so on..


What will be the boundaries of new region if one of pre-splitted regions
gets filled up.

Hbase documentation says, there are there are four Split policies available
-
KeyPrefixRegionSplitPolicy
ConstantSizeRegionSplitPolicy
DelimitedKeyPrefixRegionSplitPolicy
IncreasingToUpperBoundRegionSplitPolicy

Which policy will be used to create new region?


Cheers,
Pari

Reply via email to