Latest Post

Thursday, 22 December 2016

Best Ways to Modify Cassandra Keyspace [Modify]

How to ALTER KEYSPACE In Cassendra
An ALTER KEYSPACE statement use to modify the options of a keyspace.

Syntax:-

ALTER KEYSPACE keyspace_name WITH options

Example:-
ALTER KEYSPACE Customer WITH 
replication = {'class': 'SimpleStrategy', 'replication_factor' : 4}; 

The options are the same for creating a keyspace.

Government Jobs