create keyspace - Cassandra

create keyspace

Snippet Code


  
Rate this page :
  [ 0 votes]

Connect to cassandra db and use the code given. Replication_factor represents number of replicas ie., to store number of copies in the cluster.

default@unknown>create keyspace testkeyspace with replication_factor=2;

Tags


Ask Questions

Ask Question