Re: Effect of RangeQuery with RandomPartitioner

2012-07-07 Thread Edward Capriolo
On Sat, Jul 7, 2012 at 11:17 AM, prasenjit mukherjee wrote: > Have 2 questions : > > 1. In RP on a given node, are the rows ordered by hash(key) or key ? > If the rows on a node are ordered by hash(key) then essentially it has > to be implemented by a full-scan on that node. > > 2. In RP, How does

Re: Effect of RangeQuery with RandomPartitioner

2012-07-07 Thread prasenjit mukherjee
Have 2 questions : 1. In RP on a given node, are the rows ordered by hash(key) or key ? If the rows on a node are ordered by hash(key) then essentially it has to be implemented by a full-scan on that node. 2. In RP, How does a cassandra node route a client's range-query request ? The range is dis

Re: Effect of RangeQuery with RandomPartitioner

2012-07-07 Thread Edward Capriolo
On Sat, Jul 7, 2012 at 9:26 AM, prasenjit mukherjee wrote: > Wondering how a rangequery request is handled if RP is used. Will the > receiving node do a fan-out to all the nodes in the ring or it will > just execute the rangequery on its own local partition ? > > -Prasenjit With RP the data is s

Effect of RangeQuery with RandomPartitioner

2012-07-07 Thread prasenjit mukherjee
Wondering how a rangequery request is handled if RP is used. Will the receiving node do a fan-out to all the nodes in the ring or it will just execute the rangequery on its own local partition ? -Prasenjit