hbase-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From rahul titare <rahult...@gmail.com>
Subject hbase rowkey design
Date Sat, 02 Mar 2013 20:46:02 GMT
I am moving from mysql to hbase due to increasing data.

I am designing rowkey for efficient access pattern.

I want to achieve 3 goals.

   1. Get all results of email address
   2. Get all results of particular item_type
   3. Get all results of particular item_id

I have 4 attributes to choose from

   1. user email
   2. reverse timestamp
   3. item_type
   4. item_id

What should my rowkey look like to get rows efficiently?


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