November 2018
Intermediate to advanced
556 pages
14h 42m
English
DynamoDB is a key-value-based NoSQL store service for high scalability. The AWS proposed schema is shown in the following section (https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/bp-time-series.html):
| Primary key | Sort key | Data | |
| Day | Time | Sensor1 value | Sensor2 value |
| ... | ... | ... |
The primary key is the date (date of the day without time), while time is used for the sort key. Every column is an attribute. AWS also suggests partitioning the table to ingest 10 GB of data in each partition.
To create a DynamoDB table, follow these steps: