Skip to content

Latest commit

 

History

History
56 lines (48 loc) · 1.61 KB

step2-cassandra.md

File metadata and controls

56 lines (48 loc) · 1.61 KB
Using Advanced Data Types in Apache Cassandra® ℹ️ For technical support, please contact us via email or LinkedIn.
⬅️ Back Step 2 of 10 Next ➡️
Connect to Cassandra and create a keyspace

✅ Start Cassandra:

./cassandra

✅ Start the CQL shell:

cqlsh

✅ Create the keyspace:

CREATE KEYSPACE IF NOT EXISTS ks_advanced_data_types
WITH replication = {
  'class': 'NetworkTopologyStrategy', 
  'DC-Houston': 1 }; 

✅ Set the current working keyspace:

USE ks_advanced_data_types;
⬅️ Back Next ➡️