Comments - Cassandra Storage Engine Use Example

7 years, 9 months ago Paul Reichow

Apparently the syntax for creating namespaces in Cassandra changed since this article was written three years ago.

Some of the other responses here tell you how to use the old syntax using various options when starting cqlsh.

Here's the updated equivalent command, with Cassandra 3.7 | CQL spec 3.4.2:

CREATE KEYSPACE mariadbtest2 WITH replication = {'class': 'SimpleStrategy', 'replication_factor': 1}  AND durable_writes = true;
 
Content reproduced on this site is the property of its respective owners, and this content is not reviewed in advance by MariaDB. The views, information and opinions expressed by this content do not necessarily represent those of MariaDB or any other party.