Toggle Menu

Scenarios

Browse the full selection of hands-on Apache Cassandra™ scenarios.

Cassandra Data Modeling

So, you want to create a Cassandra schema? Cassandra's schema development methodology is different from the relational world's approach.

CONTRIBUTORS

So, you want to create a Cassandra schema? Cassandra's schema development methodology is different from the relational world's approach.

In this scenario, we'll learn how to create a Cassandra schema that deals with:

  • How to create tables
  • How to handle table joins
  • How to handle queries on non-primary key columns

If you are coming from a relational world, you create a schema by thinking about your data, creating a normalized model and then figuring out how to use the model in your app. Cassandra reverses this process by having you focus on queries within the app and using those queries to drive table design. We'll show you how!

ver 003

Time to Complete

10-15 minutes

Difficulty

Beginner

Share

More Scenarios

Kubernetes

Automate Repairs Using Reaper

Perform repairs to clusters using Reaper

Start Coding
Kubernetes

Automating Backup of Cassandra Clusters in Kubernetes with Medusa

Perform backup and restore using Medusa

Start Coding
Cassandra

Running K8ssandra

Learn to configure and run K8ssandra

Start Coding
Kubernetes

Access Cassandra Via Stargate APIs

Use REST and GraphQL to access your Cassandra database

Start Coding
Kubernetes

Monitoring with Prometheus and Grafana

Learn to monitor Cassandra with Prometheus

Start Coding
Kubernetes

Managing Cassandra Clusters in Kubernetes Using the Cass-Operator

Learn to deploy the Cassandra-operator with Kubernetes

Start Coding
Kubernetes

Introduction: Deploying a Sample Application with Cassandra in Kubernetes

Learn to build scalable cloud-native apps using Apache Cassandra and Kubernetes

Start Coding
Kubernetes

Running Cassandra in Docker

Learn to deploy a Cassandra Docker app

Start Coding
Data Modeling

Order Management Data Modeling Example for Cassandra

Explore how online orders can be stored and queried in Cassandra NoSQL database

Start Coding
REST

Stargate JS SDK

BattleStax: Creating a Serverless REST Endpoint.

Start Coding
Astra

Stargate Document API on Astra

Getting started using the Stargate Document API on Astra.

Start Coding
Data Modeling

Shopping Cart Data Modeling Example for Cassandra

Explore how online shopping carts can be stored and queried in Cassandra NoSQL database

Start Coding