From the course: Hands-On Development in AWS

Unlock this course with a free trial

Join today to access over 24,400 courses taught by industry experts.

Using DynamoDB best practices

Using DynamoDB best practices

- We could probably fill an entire day's worth of content exploring the best practices for using DynamoDB. I have just a few highlights here to touch on, some of the most important best practices. Understanding the differences between relational data design and NoSQL is very important. So a relational database deployed with multiple tables and then relations between those tables, that's your standard RDS or relational database type of deployment, right? NoSQL, the best practice here being keep related data together and maintain as few tables as possible in a single application. So one table to handle all of your data through intelligent choices with respect to using composite keys. That's the combination of that primary key and the sort key. Then you can use a single table and distribute data across it by using those composite keys. Keep that in mind. It is possible to do an entire application in a single DynamoDB table. A DynamoDB table is not the same as a relational database table,…

Contents