Learn about the architecture of Cassandra—a popular NoSQL database capable of handling large amounts of fast-changing data—and discover how to design Cassandra data models.
Overview
Syllabus
Introduction
- Welcome
- What you should know
- Exercise files
- Cassandra and relational databases
- Keyspaces, tables, and columns
- Primary keys, partitions, and secondary indexes
- Cassandra clusters
- Installing Java
- Installing Cassandra
- Creating a keyspace in tables
- Numeric data types
- String, date, and unique types
- Collection data types
- Tuple data types
- Queries drive design
- Denormalizing: Joining or sorting
- Tuning tables to optimize queries
- Data modeling for time series: Part 1
- Data modeling for time series: Part 2
- Time series exercise
- When to use secondary indexes
- When to use materialized views
- UUID and delete exercise
- Estimating data size 1: The formulas
- Estimating data size 2: An example
- Replication in Cassandra
- Understanding consistency levels
- Understanding the query process
- Understanding commit writes
- Bloom filters and query processing
- Understand deletes and tombstones
- Understand compaction
- Five best practices for Cassandra data modeling
- Next steps
Taught by
Dan Sullivan