Cloud Computing
The Art of Single Table Design (DynamoDB)
Moving from SQL to NoSQL often fails because people try to normalize data. This lesson explains how to group multiple entities into one table for O(1) performance.
Level: AdvancedCloud Computing
What You'll Learn
Why normalisation fails in DynamoDB
Partition key and sort key design patterns
Entity grouping with prefixed sort keys
Access pattern-first schema design
Modelling one-to-many and many-to-many relationships
User + Orders + Profile in a single table
Query and GetItem at O(1) cost
What's Included
๐งญAI Tutor๐
Interactive learning path with AI-generated lessons read aloud by your personal tutor
๐งชPractice Lab๐
Step-by-step lab instructions with AI guidance โ run in your own IDE or sandbox.
๐๏ธMock Interviews๐
AI interviewer asks tailored questions, gives real-time feedback and a score report
๐Evaluation๐
MCQ questions (theory, practical, code) to test your knowledge and earn a badge
โ๏ธChallenge AI๐
Compete head-to-head against AI on real production problems โ judged on correctness, performance, scalability, code quality, and edge cases
Course Syllabus
Module 1: DynamoDB Mental Model
- โขWhy SQL normalisation breaks NoSQL performance
- โขDynamoDB data model: tables, items, attributes
- โขPartition key vs sort key โ the compound key
- โขHot partitions and how to avoid them
- โขAccess pattern-first design methodology
Module 2: Single Table Patterns
- โขEntity prefixing with sort keys (USER#, ORDER#)
- โขGrouping User + Orders + Profile in one table
- โขGSIs (Global Secondary Indexes) for alternate access
- โขSparse indexes for optional attributes
- โขOverloading GSI keys for multi-entity queries
Module 3: Building the Data Model
- โขMapping a 3-table relational schema to DynamoDB
- โขWriting and reading with the AWS SDK
- โขTransactional writes across entity types
- โขCost and performance comparison vs multi-table
- โขCapstone: User + Orders + Profile single table implementation
You're all set
Everything in this course is unlocked.
Continue Learning โโAI Tutor
โPractice Lab
โMock Interviews
โEvaluation
โChallenge AI