incubator-cassandra-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Edward Capriolo <edlinuxg...@gmail.com>
Subject Re: How does Cassandra optimize this query?
Date Mon, 05 Nov 2012 15:12:30 GMT
Interesting,

Is this query the equivalent of a full table scan?  Without a starting
point get_range_slice is just starting at token 0?

Edward




On Mon, Nov 5, 2012 at 2:18 AM, Sylvain Lebresne <sylvain@datastax.com> wrote:
> On Sun, Nov 4, 2012 at 7:49 PM, Edward Capriolo <edlinuxguru@gmail.com>
> wrote:
>>
>> CQL3 Allows me to search the second component of a primary key. Which
>> really just seems to be component 1 of a composite column.
>>
>> So what thrift operation does this correspond to? This looks like a
>> column slice without specifying a key? How does this work internally?
>
>
> get_range_slice (with the right slice predicate to select the columns where
> the first component == 'My funny cat')
>
> --
> Sylvain

Mime
View raw message