hbase-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Gibbon, Robert, VF-Group" <Robert.Gib...@vodafone.com>
Subject RE: data redundancy in hbase tables for read performance
Date Sun, 20 Jun 2010 19:25:52 GMT
Reading how, exactly? 

I think (but I am no expert) HBase is very good at sequential table scans but not quite so
good at random reads. To help speed things up you can use a pathing technique in secondary
index keys. See here:


So for example you might have





Have the read of the article; it explains it better than I can here. 

-----Original Message-----
From: N Kapshoo [mailto:nkapshoo@gmail.com]
Sent: Sat 6/19/2010 5:52 AM
To: hbase-user@hadoop.apache.org
Subject: Fwd: data redundancy in hbase tables for read performance
I never heard from anyone. I would appreciate if anyone has any insight on

---------- Forwarded message ----------
From: N Kapshoo <nkapshoo@gmail.com>
Date: Wed, May 12, 2010 at 2:21 PM
Subject: data redundancy in hbase tables for read performance
To: hbase-user@hadoop.apache.org

For the model I am designing, read speed is the highest priority. That being
said, I have a Customers table with information about Claims.

Here is the design today:

Table: Customers
RowId: CustomerId
Family: Claims
Column: ClaimId
Value: JSON(ClaimId, Status, Description, From)

I am storing the ClaimsInfo as a JSON object. This JSON object will be
displayed in a tabular format after querying.

Now I get an additional requirement to sort claims by status.

I resolve this by adding a new Family called 'Status'. (Denormalization +

Table: Customers
RowId: CustomerId
Family: ClaimStatus
Column: ClaimId
Value: *String*

My concern is, do I continue down this path when more query requirements are
added to the system? For example, when they want to retrieve by 'From', then
I add another family called 'From'?

Should I be creating a new table in that case to support the new family?
Admittedly, the data in these columns is not huge, but I am worried about
doing multiple 'Puts' when the value changes.

Am I on the right track by adding redundancy to keep up with read


  • Unnamed multipart/mixed (inline, None, 0 bytes)
View raw message