cassandra-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Janne Jalkanen <Janne.Jalka...@ecyrd.com>
Subject Re: 4k keyspaces... Maybe we're doing it wrong?
Date Mon, 06 Sep 2010 07:41:22 GMT
>> #2. Performance: Will Cassandra work better with a single keyspace  
>> + lots of
>> keys, or thousands of keyspaces?
>>
>
> Thousands is a non-starter.  There is an active memtable for every CF
> defined and caches (row and key) are per CF.  Assuming even 2 CFs per
> keyspace,  with 4000 keyspaces you will have 8000 active memtables,
> 8000 _sets_ of sstables to be compacted, etc.  Put everyone in the
> same keyspace, use a prefix on keys to distinguish different clients.

So if I read this right, using lots of CF's is also a Bad Idea(tm)?

/Janne

Mime
View raw message