You are viewing a free preview of this lesson.
Subscribe to unlock all 10 lessons in this course and every other course on LearningBro.
Effective DynamoDB table design is radically different from relational modelling. Instead of normalising data into many tables and joining them at query time, you denormalise and design your tables around your application's access patterns. This lesson covers key design, secondary indexes, and single-table design — the techniques that unlock DynamoDB's full potential.
Before creating a table, list every query your application needs to perform. For example, an e-commerce application might need:
The partition key determines how DynamoDB distributes data across physical partitions. A good partition key has high cardinality — many distinct values — so that no single partition becomes a hot spot.
Subscribe to continue reading
Get full access to this lesson and all 10 lessons in this course.