Skip to content

Latest commit

 

History

History
51 lines (41 loc) · 1.64 KB

step2-cassandra.md

File metadata and controls

51 lines (41 loc) · 1.64 KB
Exercise 2.3: Denormalizing ℹ️ For technical support, please contact us via email.
⬅️ Back Step 2 of 4 Next ➡️
Start the CQL shell and create a keyspace

✅ Start the CQL shell:

cqlsh

✅ Create a keyspace called killrvideo and switch to that keyspace. Use NetworkTopologyStrategy for the replication class and set the replication factor of 1 for datacenter DC-Houston. Remember the USE command switches keyspaces.

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

USE killrvideo;
⬅️ Back Next ➡️