How is a keyspace created in cassandra? & What are the parameters used?
Answer Posted / Veethika Raj
To create a keyspace in Cassandra, you use the CREATE KEYSPACE statement. The parameters used are name (the name of the keyspace), and options (containing replication settings like replication_factor and strategy). For example: CREATE KEYSPACE mykeyspace WITH replication = {'class':'SimpleStrategy', 'replication_factor':1};
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
No New Questions to Answer in this Category !! You can
Post New Questions
Answer Questions in Different Category