Re: Secondary Index Map and reduce order and performance

2011-12-01 Thread Bryan Fink
On Wed, Nov 30, 2011 at 4:28 PM, Sajithkumar Kizhakkiniyil wrote: > If my understanding is correct a reduce phase with > riak_kv_mapreduce.reduce_identity is needed for secondary index query. Hi, Sajithkumar. The reduce_identity function is only needed if the result you want is the list of bucke

RE: Secondary Index Map and reduce order and performance

2011-11-30 Thread Sajithkumar Kizhakkiniyil
@lists.basho.com Subject: Re: Secondary Index Map and reduce order and performance Do you get the *same* results in both cases? -Alexander Sicular @siculars http://siculars.posterous.com On Nov 30, 2011, at 4:28 PM, Sajithkumar Kizhakkiniyil wrote: Hello Probably my understanding of M/R might be wrong. But

Re: Secondary Index Map and reduce order and performance

2011-11-30 Thread Alexander Sicular
Do you get the *same* results in both cases? -Alexander Sicular @siculars http://siculars.posterous.com On Nov 30, 2011, at 4:28 PM, Sajithkumar Kizhakkiniyil wrote: > Hello > Probably my understanding of M/R might be wrong. But I am getting drastic > performance difference when running second

Re: Secondary Index Map and reduce order and performance

2011-11-30 Thread Alexander Sicular
Do you get the results in both cases? -Alexander Sicular @siculars http://siculars.posterous.com On Nov 30, 2011, at 4:28 PM, Sajithkumar Kizhakkiniyil wrote: > Hello > Probably my understanding of M/R might be wrong. But I am getting drastic > performance difference when running secondary ind

Secondary Index Map and reduce order and performance

2011-11-30 Thread Sajithkumar Kizhakkiniyil
Hello Probably my understanding of M/R might be wrong. But I am getting drastic performance difference when running secondary index query on PB with map and reduce function in different order. If my understanding is correct a reduce phase with riak_kv_mapreduce.reduce_identity is needed for seco