Learn DynamoDB

Learn DynamoDB

Learn DynamoDB the right way — a structured curriculum from the fundamentals through data modeling, indexes, expressions, PartiQL, tooling, and internals.

DynamoDB fundamentals — data types, item collections, and the composite primary key. The base mechanics everything else in the curriculum builds on.

0 of 9 readQuiz
When to Use DynamoDB (and When Not To)
When to use DynamoDB (and when not to) — the access-pattern, scale, and cost signals that favor DynamoDB over a relational database, and the workloads where it's the wrong fit.
Beginner5 min read
DynamoDB Data Types
DynamoDB data types explained — the scalar (S, N, B, BOOL, NULL), document (M, L) and set (SS, NS, BS) types, how they appear in DynamoDB-JSON, and how each is sized.
Beginner3 min read
DynamoDB JSON & Marshalling
DynamoDB JSON and marshalling — why DynamoDB wraps every value in a type descriptor like {"S":"..."}, how it differs from plain JSON, and how to convert between the two.
Beginner4 min read
The DynamoDB Item Size Limit (400 KB)
The DynamoDB 400 KB item size limit — what counts toward it, how attribute names and nesting add up, why the cap exists, and how to model around unbounded item growth.
Beginner4 min read
DynamoDB Item-Based Actions: GetItem, PutItem, UpdateItem, DeleteItem
DynamoDB item-based actions — GetItem, PutItem, UpdateItem and DeleteItem — the four single-item operations, how each addresses an item by its full primary key, and how they differ from Query and Scan.
Beginner5 min read
DynamoDB Item Collections
What a DynamoDB item collection is — every item sharing a partition key — why it's the unit of efficient Query reads, and the limits to watch out for.
Beginner8 min read
DynamoDB Composite Primary Key
A DynamoDB composite primary key is a partition key plus a sort key — it groups related items together and unlocks range queries a simple key can't do.
Beginner6 min read
DynamoDB Strongly Consistent vs Eventually Consistent Reads
DynamoDB strongly consistent vs eventually consistent reads — what each guarantees, why eventual reads can return stale data, the 2× RCU cost of ConsistentRead, and which indexes support strong reads.
Intermediate5 min read
Knowledge checkTake the quiz
Check what you’ve learned in this section.

DynamoDB data modeling — single-table design, modeling from access patterns, the type attribute, denormalization, and when one table is the wrong call.

0 of 7 readQuiz

Modeling relationships in DynamoDB — one-to-many, many-to-many, the adjacency list pattern, composite sort keys, and reference counts, all without joins.

0 of 6 readQuiz

Querying and sorting DynamoDB — Query vs Scan, pagination, filter expressions, why Scan is slow, parallel scans, and sort-key strategies including zero-padding.

0 of 10 readQuiz
Query vs Scan in DynamoDB
When to use Query vs Scan in DynamoDB, why Scan is almost never what you want, and how to model your keys so Query covers your access patterns.
Beginner4 min read
Pagination in DynamoDB
Paginate DynamoDB results correctly with LastEvaluatedKey and ExclusiveStartKey, why Limit isn't a page size, and how to expose a stateless cursor to clients.
Beginner4 min read
DynamoDB Filtering Strategies
DynamoDB filtering strategies compared — partition key, sort key, sparse indexes, and FilterExpression — and which one actually cuts your read bill.
Intermediate7 min read
Why a DynamoDB Scan Is Slow and Expensive
Why a DynamoDB Scan is slow and expensive, what it actually bills you for, and how to turn a reflexive Scan into a keyed Query that costs a fraction.
Beginner6 min read
DynamoDB Parallel Scans
How DynamoDB parallel scans split a full-table read across workers with Segment and TotalSegments, when they help, and the throughput footgun to avoid.
Advanced6 min read
DynamoDB Sort Key Strategies
DynamoDB sort key strategies — design sortable sort keys for range queries, ordering, and multiple access patterns in one item collection, with a worked audit-log example.
Intermediate8 min read
How to Query DynamoDB in Descending Order
How to query DynamoDB in descending order with ScanIndexForward=false — newest-first results, why sort happens on the sort key, and how to page backward efficiently.
Beginner5 min read
Sorting DynamoDB on a Changing (Mutable) Attribute
Sorting DynamoDB on a changing attribute — why you can't update a key attribute in place, the delete-and-recreate pattern, and using a GSI so the volatile value lives off the base-table key.
Intermediate5 min read
Zero-Padding Sort Keys in DynamoDB
DynamoDB zero-padding sort keys — why "10" sorts before "2" in a string sort key, and how fixed-width zero-padded numbers make string order match numeric order.
Intermediate5 min read
Knowledge checkTake the quiz
Check what you’ve learned in this section.

DynamoDB secondary indexes — GSI vs LSI, sparse indexes, key overloading, GSI eventual consistency, and why a GSI can throttle your base table writes.

0 of 7 readQuiz

DynamoDB expressions — condition, update, key condition, and projection expressions, plus expression attribute names and values and when you must use them.

0 of 6 readQuiz

DynamoDB writes and operations — atomic counters, enforcing uniqueness across attributes, zero-downtime migrations, and diagnosing hot partitions.

0 of 7 readQuiz

PartiQL and SQL on DynamoDB — what PartiQL is, what it can't do, and how the DynoTable Workbench runs JOIN, GROUP BY, and aggregates within DynamoDB's rules.

0 of 7 readQuiz

DynamoDB tooling — running DynamoDB Local, connecting to LocalStack, the best GUI clients, viewing and editing data, copying tables, CSV export, and MCP servers.

0 of 8 read
Running DynamoDB Local with Docker
Run DynamoDB Local with Docker for offline development and tests — start the container, point the SDK at the local endpoint, and create a table.
Beginner2 min read
How to Connect to DynamoDB Local and LocalStack
How to connect a GUI to DynamoDB Local and LocalStack — endpoint, fake creds, common errors. Browse and query local tables visually with DynoTable.
Intermediate7 min read
The Best DynamoDB GUI Clients in 2026
An honest 2026 roundup of DynamoDB GUI clients — NoSQL Workbench, Dynobase, TablePlus/DataGrip, dynamodb-admin/DynamoIt, and DynoTable — with what each is actually good at.
Beginner9 min read
How to View, Browse and Edit DynamoDB Data
How to view, browse, filter and edit DynamoDB data — scan or query a table, inline-edit items, and run queries — mapped 1:1 to the operations DynoTable's GUI runs for you.
Beginner6 min read
How to Copy a DynamoDB Table to Another Account or Region
Copy or migrate a DynamoDB table to another account or region — scan+write, S3 export/import, AWS Backup, and global tables — with the throughput and consistency gotchas.
Beginner6 min read
How to Export a DynamoDB Table to CSV (4 Ways)
How to export a DynamoDB table to CSV or Excel — AWS CLI scan, S3 export, a script, or one-click export in DynoTable — and why nested attributes and DynamoDB JSON break the naive approaches.
Beginner10 min read
DynamoDB MCP server: connect Claude Code, Cursor & Codex safely
How to give an AI agent — Claude Code, Cursor, Codex — live access to your DynamoDB tables through an MCP server, and how to do it without handing the agent your AWS credentials or direct write access. The safe, reviewed-staging way vs. the servers that write straight to your tables.
Intermediate6 min read
ExtendDB: Run the DynamoDB API on Your Own Database
ExtendDB is AWS's open-source, DynamoDB-wire-protocol-compatible adapter (Rust) backed by pluggable storage like PostgreSQL — run the DynamoDB API on your own database, then browse it in DynoTable.
Intermediate7 min read

DynamoDB operations and cost — transactions, Streams, TTL, on-demand vs provisioned capacity, global tables, and backup/PITR, taught through one running multi-tenant SaaS audit-log.

0 of 7 readQuiz

DynamoDB internals — how partition keys, adaptive capacity, GSI storage, physical partitions, storage, and request routing work, tracing back to the Dynamo paper.

0 of 8 readQuiz
How DynamoDB Partition Keys Work
How DynamoDB partition keys work — the hash that maps a key to a physical partition, why your key choice decides throughput, and how to dodge hot partitions.
Intermediate7 min read
DynamoDB adaptive capacity
DynamoDB adaptive capacity and burst capacity explained — how DynamoDB absorbs spikes and boosts hot partitions automatically, and where it still can't save you.
Advanced6 min read
How a DynamoDB GSI Is Stored Internally
How a DynamoDB GSI is stored — its own partition space, async replication from the base table, projected attributes, and isolated capacity — explained for SQL minds.
Advanced7 min read
DynamoDB physical partitions
How DynamoDB physical partitions work — the 10 GB, 3000 RCU and 1000 WCU ceilings, how partitions split, and why a hot key throttles with capacity to spare.
Advanced6 min read
How DynamoDB storage internals work
How DynamoDB storage internals work — partition hashing, the per-partition B-tree for sort-key ranges, and synchronous 3-AZ replication explained.
Advanced7 min read
How DynamoDB Request Routing Works
How DynamoDB request routing works — the request router hashes your partition key to find the right storage node, and why that fixes per-key latency.
Advanced7 min read
From the Dynamo Paper to DynamoDB
From the 2007 Amazon Dynamo paper to DynamoDB — what the original consistent-hashing, quorum design introduced, and what AWS kept versus quietly replaced.
Advanced6 min read
Knowledge checkTake the quiz
Check what you’ve learned in this section.

Ready to put this into practice?

Browse, query, and model your own DynamoDB tables — DynoTable’s SQL Workbench and AI agent run on your AWS. Free 30-day trial.