Cassandra Alter KeyspaceThe "ALTER keyspace" command is used to alter the replication factor, strategy name and durable writes properties in created keyspace in Cassandra. Syntax: Or Or Main points while altering Keyspace in Cassandra
Example: Let's take an example to demonstrate "Alter Keyspace". This will alter the keyspace strategy from 'SimpleStrategy' to 'NetworkTopologyStrategy' and replication factor from 3 to 1 for DataCenter1.
Next TopicCassandra drop keyspace
|