dynamodb
Table of Contents

DynamoDB

Data stored on SSD

Automatically replicate across multiple AZs

文档和键值对nosql,适合广告,游戏,IOT

限制在单独的AWS region

3个独立的location 复制数据(同一个表到多个region)

Characteristic

Store any amount of data with no limits

Fast, predictable performance using SSDs

Easily provision and change the request capacity needed for each table

Fully managed, NoSQL database service

Data Model

img

Table is collection of items

items is collection of attributes

Each attribute is name-value pairs, which contains single values, json or set values.

Primary keys

Primary keys is unique identity of each items in the table

img

Local Secondary Index

img

Global Secondary Index

img

RDS vs DynamoDB

img