How many keys inside a bucket ?
sweden.feng at gmail.com
Fri Jan 27 02:32:35 EST 2017
Yes, I should consider the possibility of switching to Riak TS.
But I guess the question still valid, does it ? Should I divide millions
of keys to different buckets, does it make any difference in performance,
memory, space ?
2017-01-27 2:50 GMT+01:00 Alexander Sicular <siculars at basho.com>:
> Hi, you should consider using Riak TS for this use case.
> Sent from my iRotaryPhone
> > On Jan 27, 2017, at 01:54, Alex Feng <sweden.feng at gmail.com> wrote:
> > Hi,
> > I am wondering if there are some best practice or recommendation for how
> many keys inside a single bucket?
> > Let's say I have some sensors reporting data every 5 seconds, I can put
> all these data under one single bucket, or I can dynamically generate a
> bucket every day.
> > My question is, is there any performance difference for "insert",
> "query" etc. between them? for example, 1 million records under one
> bucket and 10k records under 100 buckets ?
> > Thank you.
> > Br,
> > Alex
> > _______________________________________________
> > riak-users mailing list
> > riak-users at lists.basho.com
> > http://lists.basho.com/mailman/listinfo/riak-users_lists.basho.com
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the riak-users