cassandra-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Rob Coli <>
Subject Re: No column index in Cassandra?
Date Thu, 06 May 2010 18:25:32 GMT
On 5/6/10 10:35 AM, Weijun Li wrote:
> Hello, it seems that sstable index file only contains key/position and
> each sstable doesn't have column index. So how does range slice query
> work? Does it iterate through every key in the range for column
> name/value comparison?

The column index is in the SSTable. It does not appear to necessarily be 
a complete index of the columns.
3. Start indexing based on column family comparator
3.2 Iterate over columns until getColumnIndexSize() is exceeded (default 
is 64KB)
4. Serialize each IndexInfo object - (firstname is last column name 
before exceeded, and lastname is the existing column name)


View raw message