Data Modeling & Single Table Design
Welcome to the most critical module in the DynamoDB course. Here you will learn the “DynamoDB Way” of thinking—access patterns first, schema second.
Module Contents
1. Single Table Design
Learn the philosophy of pre-joining data using Item Collections. Understand why we use generic PK and SK names and how to store multiple entity types in a single table for maximum performance.
2. Partition and Sort Keys
Deep dive into the mechanics of DynamoDB. Understand how Partition Keys determine data distribution and how Sort Keys enable powerful range queries and ordering within partitions.
3. Modeling Relationships
Discover the Adjacency List Design Pattern. Learn how to model One-to-One, One-to-Many, and Many-to-Many relationships (like Social Graphs) using simple Key-Value pairs.
4. NoSQL Workbench
A practical guide to using AWS NoSQL Workbench. Learn to visualize your data model, define access patterns, and generate code before deploying your table.
Review & Cheat Sheet
Test your knowledge with interactive flashcards and access a quick reference cheat sheet for common modeling patterns.
Module Chapters
Single-Table Design
Single-Table Design
Start LearningPartition and Sort Keys
Partition and Sort Keys
Start LearningModeling Relationships
Modeling Relationships
Start LearningNoSQL Workbench
NoSQL Workbench
Start LearningModule Review: Data Modeling
Module Review: Data Modeling
Start Learning