Cassandra Basics
Create keyspace
Bash
CREATE KEYSPACE IF NOT EXISTS somename WITH replication = { 'class' : 'SimpleStrategy', 'replication_factor' : 1} AND durable_writes = true;
or
Increase | Decrease replica set
Bash
ALTER KEYSPACE somename WITH REPLICATION = { 'class' : 'SimpleStrategy', 'replication_factor' : 3 };