Re: issue about rowkey design

2013-08-19 Thread Michael Segel
@despegar.com] > Sent: Sunday, August 18, 2013 6:25 PM > To: user@hbase.apache.org; Kiru Pakkirisamy > Subject: Re: issue about rowkey design > > You can use a secondary table as a 'secondary index' setting your row as > value (or column) in it. > Enviado desde

RE: issue about rowkey design

2013-08-18 Thread Vladimir Rodionov
18, 2013 6:25 PM To: user@hbase.apache.org; Kiru Pakkirisamy Subject: Re: issue about rowkey design You can use a secondary table as a 'secondary index' setting your row as value (or column) in it. Enviado desde mi BlackBerry de Personal (http://www.personal.com.ar/) -Original Message-

Re: issue about rowkey design

2013-08-18 Thread fgaule
y-To: user@hbase.apache.org Subject: Re: issue about rowkey design what you mean secondary index? has hbase secondary index? On Sat, Aug 17, 2013 at 12:48 AM, Kiru Pakkirisamy < kirupakkiris...@yahoo.com> wrote: > We did design with something equivalent to userid as the key and all the > user se

Re: issue about rowkey design

2013-08-18 Thread ch huang
e.org > Sent: Friday, August 16, 2013 8:06 AM > Subject: Re: issue about rowkey design > > > HBase is all about denormalization and designing for the usecase/query > pattern. If it's possible for your application it will be better to > provide three different indexes, as opp

Re: issue about rowkey design

2013-08-16 Thread Kiru Pakkirisamy
From: Bryan Beaudreault To: user@hbase.apache.org Sent: Friday, August 16, 2013 8:06 AM Subject: Re: issue about rowkey design HBase is all about denormalization and designing for the usecase/query pattern.  If it's possible for your application it will be better to provide

Re: issue about rowkey design

2013-08-16 Thread Bryan Beaudreault
HBase is all about denormalization and designing for the usecase/query pattern. If it's possible for your application it will be better to provide three different indexes, as opposed to fitting them all into one rowkey design. On Fri, Aug 16, 2013 at 5:33 AM, ch huang wrote: > hi,all > i

issue about rowkey design

2013-08-16 Thread ch huang
hi,all i have data (data is very huge) with user id ,session id ,and visit time. my query pattern is ,"find all user id in certain time range,find one user's all session id ,and find all session id in certain time range". my difficult is that i can not find a rowkey that good for all the s