incubator-cassandra-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Mike Peters <cassan...@softwareprojects.com>
Subject 4k keyspaces... Maybe we're doing it wrong?
Date Fri, 03 Sep 2010 01:25:34 GMT
  Hi,

We're in the process of migrating 4,000 MySQL client databases to 
Cassandra.  All database schemas are identical.

With MySQL, we used to provision a separate 'database' per each client, 
to make it easier to shard and move things around.

Does it make sense to migrate the 4,000 MySQL databases to 4,000 
keyspaces in Cassandra?  Or should we stick with a single keyspace?

My concerns are -
#1. Will every single node end up with 4k folders under /cassandra/data/?

#2. Performance: Will Cassandra work better with a single keyspace + 
lots of keys, or thousands of keyspaces?

-

Granted it's 'cleaner' to have a separate keyspace per each client, but 
maybe that's not the best approach with Cassandra.

Thoughts?

Mime
View raw message