Skip to content

bryanmacfarlane/scyllaU

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 

Repository files navigation

   _____            _ _       _____  ____  
  / ____|          | | |     |  __ \|  _ \ 
 | (___   ___ _   _| | | __ _| |  | | |_) |
  \___ \ / __| | | | | |/ _` | |  | |  _ < 
  ____) | (__| |_| | | | (_| | |__| | |_) |
 |_____/ \___|\__, |_|_|\__,_|_____/|____/ 
               __/ |                       
              |___/                        

Scripts and files used while going through Scylla University free training. These all use docker containers.

Dev Cluster

Create a three node cluster

$ ops/cluster up

Stop the cluster

$ ops/cluster down

Jump into a cql shell

$ ops/cluster cqlsh
...
cqlsh>

Jump into a bash shell

ops/cluster bash
bash-5.1$

Create the schema

From a bash shell inside a node

root@scyllaU1:/# scripts/exec create

Running /scripts/create.cql on scyllaU1 ...

system_auth    system_distributed  system_traces                  mykeyspace
system_schema  system              system_distributed_everywhere


 user_id | fname | lname
---------+-------+---------
       1 |  rick | sanchez
       4 |  rust |   cohle

(2 rows)
root@scyllaU1:/# exit
exit

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages