Hi Alexander, 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 ?
Br, Alex 2017-01-27 2:50 GMT+01:00 Alexander Sicular <sicul...@basho.com>: > Hi, you should consider using Riak TS for this use case. > > -Alexander > > > @siculars > http://siculars.posthaven.com > > Sent from my iRotaryPhone > > > On Jan 27, 2017, at 01:54, Alex Feng <sweden.f...@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@lists.basho.com > > http://lists.basho.com/mailman/listinfo/riak-users_lists.basho.com >
_______________________________________________ riak-users mailing list riak-users@lists.basho.com http://lists.basho.com/mailman/listinfo/riak-users_lists.basho.com