cassandra-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jonathan Ellis <jbel...@gmail.com>
Subject Re: order of index expressions
Date Sun, 06 Feb 2011 05:15:00 GMT
ColumnFamilyStore.scan

On Sat, Feb 5, 2011 at 10:32 PM, Shaun Cutts <shaun@cuttshome.net> wrote:
> Thanks for the response!
>
> So.. I *may* have a bug to report (at least I can generate radically different response
times based on expression order with a multiply indexed columnfamily), but first I'll have
to upgrade to a stable version (currently I have 7.0rc2 installed).
>
> I was also wondering where the code that does this is... is it in
>
> java.org.apache.cassandra.db.columniterator.IndexedSliceReader?
>
>
> Thanks,
>
> -- Shaun
>
> On Feb 5, 2011, at 2:39 PM, Jonathan Ellis wrote:
>
>> On Sat, Feb 5, 2011 at 8:48 AM, Shaun Cutts <shaun@cuttshome.net> wrote:
>>> Hello,
>>> I'm wondering if cassandra is sensitive to the order of index expressions in
>>> (pycassa call) get_indexed_slices?
>>
>> No.
>>
>>> If I have several column indexes available, will it attempt to optimize the
>>> order?
>>
>> Yes.
>>
>> --
>> Jonathan Ellis
>> Project Chair, Apache Cassandra
>> co-founder of DataStax, the source for professional Cassandra support
>> http://www.datastax.com
>
>



-- 
Jonathan Ellis
Project Chair, Apache Cassandra
co-founder of DataStax, the source for professional Cassandra support
http://www.datastax.com

Mime
View raw message