On Thu, Jan 26, 2012 at 6:27 AM, <riak-users-requ...@lists.basho.com> wrote:

>    Input = {index, Bucket, Index, Key},
>    IdentityQuery = [{reduce,
>                      {modfun, riak_kv_mapreduce, reduce_identity},
>                      [{reduce_phase_only_1, true}],
>                      true}],
>
> My queries can return hundreds of thousands of keys.
>

Using reduce_phase_only_1 is probably not the best of ideas with hundreds
of thousands of keys. You are better off distributing the count to each
node, then summing the results in a final reduce.
_______________________________________________
riak-users mailing list
riak-users@lists.basho.com
http://lists.basho.com/mailman/listinfo/riak-users_lists.basho.com

Reply via email to