Quickstart Lab Walkthrough

5 min video

A walkthrough of the ScyllaDB Quickstart Lab: start a node, run some basic queries, and see ScyllaDB in action.

Transcript

Great. So with that, I talked for quite a bit and showed you some slides. I want to show you a Quick Wins - Hands on lab. So let me change to the lab and the platform that I’m going to be using is called Instruqt. I’m going to share this lab with you. And I want to show you a lab that is very basic, it’s just starting one node and performing some queries. Maybe a few words about Instruqt: it allows us to run a virtual machine directly from the browser. So it’s very useful for running labs. It doesn’t matter which platform you’re using, your operating system, it doesn’t have any prerequisites because it runs directly from the browser. So before I started this talk, I clicked on this command, which starts a ScyllaDB node with Docker. I specified the ScyllaDB version I want to use. And what that did is you can see it here. It downloaded some files because this VM didn’t have ScyllaDB, it downloaded the files, and then I ran this command, which is called “nodetool status” and let me run it again. And what that does is, like it sounds checks the status of our cluster and we can see that we have one node in our cluster, we can see the IP and we can see that the status of the node is “UN”, which means up and running. Now I’m going to connect to my node with the CQL shell and I know I’m mentioning some terms that might be new to you. I’m going to cover them in just a bit. So I connect to my node with a CQL shell and now I have Shell opened to the node and moving forward now I can run some basic commands, so I create the keyspace, call it “mykeyspace”, and using that keyspace, I create a table with call it “users”. It has just three columns: user id, first name and last name. Once I have my table created, I’m going to insert two rows into the newly created table and just select those rows. So I inserted some data and I read that data and I can see that’s there. Okay, so that was very simple. I just wanted to show you how quick and easy it is to get up and running with ScyllaDB.

Knowledge Check

3 questions Pass 66%

Pass 66% to continue. No time limit; retake as many times as you need.

1. You run nodetool status and a node shows the status UN. What does that mean?
2. A cluster is a collection of:
3. In the lab, you connected to the node with the CQL Shell (cqlsh). In what order did you run the queries?
Back to course

Something wrong with this lesson? Tell us