课程: AWS for Developers: DynamoDB
今天就学习课程吧!
今天就开通帐号,24,700 门业界名师课程任您挑!
Composite keys and sort keys - Amazon Web Services (AWS)教程
课程: AWS for Developers: DynamoDB
Composite keys and sort keys
- [Instructor] As I've said before in this course, ideally, you want just one DynamoDB table for your entire application. But how do we continue to do that and get the speed we desire with more items? Back to our baseball example. We've already said that we want to partition our data based on team name or team ID, but how do we store different kinds of data about baseball games on team name or team ID? Well, this is where composite keys come in. Composite keys allow us to save different kinds of data, but still evenly spread the requests across multiple partitions. Remember, we said that an application that tracks at-bats in a professional baseball game should store players, teams, games, as well as at-bats. How do we create our partition keys to represent this data in a single table? Imagine if we have table called BaseballApp. Well, we could save our roster keyed with the word PLAYERS, and then <TeamID>. We could store information about our teams, such as the stadium location…
随堂练习,边学边练
下载课堂讲义。学练结合,紧跟进度,轻松巩固知识。
内容
-
-
-
NoSQL versus relational DBs4 分钟 36 秒
-
(已锁定)
DynamoDB versus MongoDB2 分钟 8 秒
-
(已锁定)
Data modeling in DynamoDB2 分钟 57 秒
-
(已锁定)
Composite keys and sort keys4 分钟 1 秒
-
(已锁定)
Pricing and capacity planning in DynamoDB3 分钟 47 秒
-
(已锁定)
Demo: DynamoDB costs in the AWS Pricing Calculator3 分钟 57 秒
-
(已锁定)
Creating secondary indexes in DynamoDB: GSI and LSI2 分钟 37 秒
-
(已锁定)
Demo: Provisioning a DynamoDB table in the AWS admin console3 分钟
-
-
-
-
-