Get all keys from an bucket

Russell Brown russell.brown at me.com
Fri Jan 29 09:06:31 EST 2016


With leveldb you can use the special $bucket index. You can also stream the keys, and paginate them, meaning you can get them in smaller lumps, hopefully this will appear faster and avoid the timeout you're seeing.


On 29 Jan 2016, at 14:03, Markus Geck <zerebokep at mail.ru> wrote:

> Yes, sorry I forgot to mention that.
> 
> 
> Monday, January 25, 2016 10:10 AM UTC from Russell Brown <russell.brown at me.com>:
> 
> Hi Markus,
> Are you using leveldb backend?
> 
> Russell
> 
> On 22 Jan 2016, at 19:05, Markus Geck <zerebokep at mail.ru> wrote:
> 
> > Hello,
> > 
> > is there any way to get all keys from an bucket?
> > 
> > I've already tried this guide: http://www.paperplanes.de/2011/12/13/list-all-of-the-riak-keys.html But riak always wents unresponsive with a huge server load.
> > 
> > and "GET /buckets/bucket/keys?keys=stream" returns an timeout error.
> > 
> > Is there any other way?
> > _______________________________________________
> > 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...
URL: <http://lists.basho.com/pipermail/riak-users_lists.basho.com/attachments/20160129/e298ee8c/attachment-0002.html>


More information about the riak-users mailing list