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

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
Cassandra

DataStax Kubernetes Operator for Apache Cassandra™

Deploy Cassandra using the Kubernetes Operator

Start Coding
Data Modeling

Try It Out: Cassandra Data Modeling

Learn how to create basic Cassandra data models

Start Coding
Data Modeling

Time Series Data Modeling Example for Cassandra

Explore how time series data can be stored and queried in Cassandra NoSQL database

Start Coding
Data Modeling

Messaging Data Modeling Example for Cassandra

Explore how messaging data can be stored and queried in Cassandra NoSQL database

Start Coding
Data Modeling

Sensor Data Modeling Example for Cassandra

Explore how IoT sensor data can be stored and queried in Cassandra NoSQL database

Start Coding