How to ALTER KEYSPACE In Cassendra
An ALTER KEYSPACE statement use to modify the options of a keyspace.
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.
No comments:
Post a comment