incubator-cassandra-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jonathan Ellis <jbel...@gmail.com>
Subject Re: Status of LT LTE without EQ op for 0.7 release
Date Tue, 12 Oct 2010 23:47:47 GMT
On Tue, Oct 12, 2010 at 6:34 PM, Todd Nine <todd@spidertracks.com> wrote:
> Currently there is only indexing for LT and LTE expression when an EQ
> operator is present.  Will it be possible to use the LT and LTE ops
> without an EQ by the 0.7.0 release?

No.

>  If not, which of the following
> would be more efficient?
>
> 1. Creating a dummy column of 1 byte that is indexed.

This is basically the same as doing a full range scan, only less efficient.

> 2. Use my previous indexing scheme of 2 Super CF for longs and strings
> to get my < <= operations.  Where I use the following scheme.

I'm not sure I follow but if it's better than doing a full range scan
then it is better than 1. :)

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

Mime
View raw message