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.

http://wiki.apache.org/cassandra/ArchitectureSSTable
"
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)
"

=Rob

Reply via email to