Created
April 1, 2019 16:35
-
-
Save mshuler/2cf54384669c295d34a21af4ddfaaeb3 to your computer and use it in GitHub Desktop.
CREATE KEYSPACE foo ...
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
(cassandra-3.0)mshuler@hana:~/git/cassandra$ ./bin/cqlsh | |
Connected to Test Cluster at 127.0.0.1:9042. | |
[cqlsh 5.0.1 | Cassandra 3.0.19-SNAPSHOT | CQL spec 3.4.0 | Native protocol v4] | |
Use HELP for help. | |
cqlsh> DESC CLUSTER ; | |
Cluster: Test Cluster | |
Partitioner: Murmur3Partitioner | |
cqlsh> CREATE KEYSPACE foo WITH replication = {'class': 'SimpleStrategy', 'replication_factor': '1'} AND durable_writes = true; | |
cqlsh> DESC KEYSPACE foo ; | |
CREATE KEYSPACE foo WITH replication = {'class': 'SimpleStrategy', 'replication_factor': '1'} AND durable_writes = true; | |
cqlsh> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment