Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

What is the maximum number of keyspaces in Cassandra?

Tags:

cassandra

What is the maximum number of keyspaces allowed in a Cassandra cluster? The wiki page on limitations doesn't mention one. Is there such a limit?

like image 858
Andrew Swan Avatar asked Jun 29 '12 06:06

Andrew Swan


1 Answers

A keyspace is basically just a Map entry to Cassandra... you can have as many as you have memory for. Millions, easily.

ColumnFamilies are more expensive, since Cassandra will reserve a minimum of 1MB for each CF's memtable: http://www.datastax.com/dev/blog/whats-new-in-cassandra-1-0-performance

like image 172
jbellis Avatar answered Oct 11 '22 14:10

jbellis