Meet Amazon DynamoDB
Sveip for å vise menyen
Explore Amazon DynamoDB, AWS's serverless NoSQL database designed for speed and scalability. Ideal for high-traffic apps, IoT, or gaming, it handles millions of requests per second with low latency — all without infrastructure concerns.
Why Choose DynamoDB?
DynamoDB is a serverless NoSQL database, meaning:
- No servers to provision, patch, or manage;
- Automatic scaling based on your application's needs;
- Pay only for what you use with flexible pricing models.
It's especially useful when you need to store:
- Key-value pairs (like a dictionary/map);
- JSON-like documents (flexible schemas);
- Need to store low-latency write and read operations.
Core Concepts
Tables, Items, and Attributes
- Data in DynamoDB is stored in tables;
- Each table contains items, which are similar to rows in relational databases;
- Each item is composed of attributes, which are like columns—but the structure can vary between items;
- There's no fixed schema, making it flexible for evolving data models.
Keys
Every table requires at least a:
- Partition key: determines how data is distributed across internal partitions;
- Sort key (optional): enables multiple items to share the same partition key but be distinguished and sorted by this value.
Note
Unlike traditional databases, DynamoDB does not support joins, foreign keys, or SQL queries. Data modeling should be driven by access patterns, not normalization.
Alt var klart?
Takk for tilbakemeldingene dine!
Seksjon 1. Kapittel 6
Spør AI
Spør AI
Spør om hva du vil, eller prøv ett av de foreslåtte spørsmålene for å starte chatten vår
Seksjon 1. Kapittel 6