Re: random partitioner and key scan

2012-07-21 Thread prasenjit mukherjee
On Sat, Jul 21, 2012 at 3:37 PM, Sylvain Lebresne wrote: >> I don't know much about Cassandra internals, but from a user point of >> view, a scan for a range of tokens is not a common use-case. > > All of boostrap/move/decommission/repair rely heavily on being able to > scan efficiently a range of

Re: random partitioner and key scan

2012-07-21 Thread Sylvain Lebresne
> I don't know much about Cassandra internals, but from a user point of > view, a scan for a range of tokens is not a common use-case. All of boostrap/move/decommission/repair rely heavily on being able to scan efficiently a range of token. Otherwise, a boostrap/move/decommission/repair of a node

Re: random partitioner and key scan

2012-07-20 Thread Patrik Modesto
On Fri, Jul 20, 2012 at 11:17 AM, aaron morton wrote: > Ordering the rows by row key locally would mean that every row on the node > would have to be scanned to find the ones whose token was in the required > token range. I don't know much about Cassandra internals, but from a user point of view,

Re: random partitioner and key scan

2012-07-20 Thread prasenjit mukherjee
gt;> hashes has to be recalculated on each fo the candidate node. >>>> >>>> -Thanks, >>>> Prasenjit >>>> >>>> On Thu, Jul 19, 2012 at 12:19 PM, Patrik Modesto >>>> wrote: >>>>> Hi, >>>>> >>

Re: random partitioner and key scan

2012-07-20 Thread aaron morton
>>> wrote: >>>> Hi, >>>> >>>> I know that RandomPartitioner does MD5 of a key and the MD5 is then >>>> used for key distribution AND key ordering. I was just wondering if >>>> it's possible to have RandomPartitioner just for key distribution and >>>> OrderedPartitioner just for per-node key ordering. That would solve >>>> the often requested key scan feature. >>>> >>>> Regards, >>>> Patrik

Re: random partitioner and key scan

2012-07-19 Thread prasenjit mukherjee
PM, Patrik Modesto >> wrote: >>> Hi, >>> >>> I know that RandomPartitioner does MD5 of a key and the MD5 is then >>> used for key distribution AND key ordering. I was just wondering if >>> it's possible to have RandomPartitioner j

Re: random partitioner and key scan

2012-07-19 Thread Patrik Modesto
domPartitioner does MD5 of a key and the MD5 is then >> used for key distribution AND key ordering. I was just wondering if >> it's possible to have RandomPartitioner just for key distribution and >> OrderedPartitioner just for per-node key ordering. That would solve >> the often requested key scan feature. >> >> Regards, >> Patrik

Re: random partitioner and key scan

2012-07-19 Thread prasenjit mukherjee
5 is then > used for key distribution AND key ordering. I was just wondering if > it's possible to have RandomPartitioner just for key distribution and > OrderedPartitioner just for per-node key ordering. That would solve > the often requested key scan feature. > > Regards, > Patrik

random partitioner and key scan

2012-07-18 Thread Patrik Modesto
ested key scan feature. Regards, Patrik

Re: Key scan

2010-03-17 Thread Jonathan Ellis
you can iterate through keys w/ get_range_slice; in 0.6 this works w/ all partitioners On 3/17/10, Marcus Herou wrote: > Hi. > > I have started to evaluate some KeyValue Stores and some Document > Stores to find the best fit. > > I wonder how I as a developer can iterate over all keys and/or > en

Key scan

2010-03-17 Thread Marcus Herou
Hi. I have started to evaluate some KeyValue Stores and some Document Stores to find the best fit. I wonder how I as a developer can iterate over all keys and/or entries ? Is it possible ? Let's say I have putted a huge amount of data into Cassandra and finds out that I probably should index bot