Re[5]: Get all keys from an bucket

Markus Geck zerebokep at mail.ru
Fri Feb 26 12:17:06 EST 2016


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 >:
>>
>>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/20160226/784a81e3/attachment-0002.html>


More information about the riak-users mailing list