cassandra-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Rob Coli <>
Subject Re: SSTable format
Date Sat, 14 Jul 2012 00:22:53 GMT
On Fri, Jul 13, 2012 at 5:18 PM, Dave Brosius <> wrote:
> It depends on what partitioner you use. You should be using the
> RandomPartitioner, and if so, the rows are sorted by the hash of the row
> key. there are partitioners that sort based on the raw key value but these
> partitioners shouldn't be used as they have problems due to uneven
> partitioning of data.

The formal way this works in the code is that SSTables are ordered by
"decorated" row key, where "decoration" is only a transformation when
you are not using OrderedPartitioner. FWIW, in case you see that
"DecoratedKey" syntax while reading code..


=Robert Coli
YAHOO - rcoli.palominob
SKYPE - rcoli_palominodb

View raw message