Member since
05-15-2016
1
Post
1
Kudos Received
0
Solutions
05-15-2016
06:38 PM
1 Kudo
I have a use case
scenario to store data in HBASE table and I would like to understand the
optimal way of defining column family in HBASE table to reduce the number of
get calls. The scenario is I will get an account number and I need to retrieve the
customer detail and other account number associated to the customer. I’m
thinking of defining the row with rowkey as
acct & customer and column family with the account detail. one
more row with customer id as row key and column family with array of account
details. Ex : Row Rowkey column +cell 1 acct1|cust1 acct1 values 2 acct2| cust1 acct2 values 3 acct3|
cust1 acct3 values 4 cust1 column family
with array of accounts[ acct1,acct2,acct3] Please advise the optimal way of defining the datamodel for this scenario.
... View more
Labels:
- Labels:
-
Apache HBase