Get all keys from an bucket

Magnus Kessler mkessler at basho.com
Mon Feb 29 03:05:04 EST 2016


Hi Markus,

You may want to subscribe to the mailing list to avoid that messages from
you are held in the moderation queue. Only subscribed members can post
directly to this list. Also, please always reply to the list address, not
to individual subscribers to keep the discussion public.

Russel just beat me to an answer. Please let us know if this solved your
issue.

Kind Regards,

Magnus




On 26 February 2016 at 17:17, Markus Geck <zerebokep at mail.ru> wrote:

>
> Anyone?
>
> Saturday, January 30, 2016 1:42 AM +03:00 from Markus Geck <
> zerebokep at mail.ru>:
>
> Do you have an example how to stream them? The url I've posted in my
> initial mail explains how to use that index, but not how to stream the
> results. Unfortunately accessing the keys that way overloads the node.
>
>
> Friday, January 29, 2016 2:06 PM UTC from Russell Brown <
> russell.brown at me.com <https://e.mail.ru/compose?To=russell.brown@me.com>>:
>
>
> 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
> <https://e.mail.ru/compose/?mailto=mailto%3azerebokep@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
> <https://e.mail.ru/compose/?mailto=mailto%3arussell.brown@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
>
>
>
>
>
> _______________________________________________
> riak-users mailing list
> riak-users at lists.basho.com
> http://lists.basho.com/mailman/listinfo/riak-users_lists.basho.com
>
>


-- 
Magnus Kessler
Client Services Engineer
Basho Technologies Limited

Registered Office - 8 Lincoln’s Inn Fields London WC2A 3BP Reg 07970431
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.basho.com/pipermail/riak-users_lists.basho.com/attachments/20160229/653a476d/attachment-0002.html>


More information about the riak-users mailing list