incubator-cassandra-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jonathan Ellis <jbel...@gmail.com>
Subject Re: data distribution among DataFileDirectories
Date Tue, 29 Sep 2009 19:46:02 GMT
On Tue, Sep 29, 2009 at 2:22 PM, Igor Katkov <ikatkov@gmail.com> wrote:
> Does cassandra distributes keys evenly among DataFileDirectories?

No, but it should distribute sstables evenly (which, on average,
should be distributing keys evenly, but there will be large variance).

> Questions:
> 1. Is it by design?

Each time a sstable is created, either by flush or compaction, it
should pick the "next" directory to use.

> 2. Is there a way to control key distribution, for the cases when
> hard-drives are of different capacity?

No.  (That wouldn't be hard to add, but nobody's needed it.)

-Jonathan

Mime
View raw message