keelar
keelar

Reputation: 6026

How to allow different keyspaces to use different partitioners in Cassandra?

I am new to Cassandra and have a basic question regarding its partitioners.

According to the Cassandra document, the partitioner of a cluster should be set in the cassandra.yaml file. My question is: does this mean all keyspaces in a Cassandra cluster must use the same partitioner? If it's not, how to allow different keyspaces to use different partitioners?

Upvotes: 4

Views: 725

Answers (1)

Richard
Richard

Reputation: 11100

All keyspaces must use the same partitioner. This is to avoid requiring excessive configuration for each keyspace. However, you can choose replication options per keyspace: whether you want multiple datacenter replication and replication factors.

Upvotes: 4

Related Questions