hbase-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Laurent Hatier <laurent.hat...@gmail.com>
Subject Re: Mongo vs HBase
Date Thu, 11 Aug 2011 08:13:39 GMT
Thanks all.

i've seen that there is no limit with HBase. I mean the following statement
: "SELECT ... FROM ... LIMIT 1". (Because there is this method with Mongo^^)
Is it implemented ?

2011/8/11 Jason Rutherglen <jason.rutherglen@gmail.com>

> Laurent,
>
> This could be implemented with Lucene, eg, HBASE-3529.  Contact me
> offline if you are interested in pursuing that angle.
>
> Cheers.
>
> On Wed, Aug 10, 2011 at 10:02 AM, Laurent Hatier
> <laurent.hatier@gmail.com> wrote:
> > Hi all,
> >
> > I would like to know why MongoDB is faster than HBase to select items.
> > I explain my case :
> > I've inserted 4'000'000 lines into HBase and MongoDB and i must calculate
> > the geolocation with the IP. I calculate a Long number with the IP and i
> go
> > to find it into the 4'000'000 lines.
> > it's take 5 ms to select the right row with Mongo instead of HBase takes
> 5
> > seconds.
> > I think that the reason is the method : cur.limit(1) with MongoDB but is
> > there no function like this with HBase ?
> >
> > --
> > Laurent HATIER
> > Étudiant en 2e année du Cycle Ingénieur à l'EISTI
> >
>



-- 
Laurent HATIER
Étudiant en 2e année du Cycle Ingénieur à l'EISTI

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