The DynamoDB handbook

Learn DynamoDB, properly.

Practical, no-fluff guides to Amazon DynamoDB — data modeling, indexes, PartiQL, capacity, and the patterns teams actually use in production. Written by the people building Tablyne, the native DynamoDB GUI.

Fundamentals

Querying

Operations

DynamoDB Batch Operations: BatchGetItem & BatchWriteItem

Read and write many items with BatchGetItem and BatchWriteItem — limits, unprocessed items, retries with backoff, and when to use transactions instead.

Read guide →

DynamoDB Transactions: TransactWriteItems & TransactGetItems

ACID transactions in DynamoDB — TransactWriteItems and TransactGetItems, condition checks, idempotency, costs and limits, with practical examples.

Read guide →

DynamoDB TTL: Auto-Expiring Items with Time to Live

How DynamoDB TTL automatically deletes expired items — setting the TTL attribute (epoch seconds), deletion timing, costs, and combining TTL with Streams.

Read guide →

DynamoDB Streams: Change Data Capture Explained

What DynamoDB Streams are and how to use them — stream view types, Lambda triggers, ordering, and patterns like replication, aggregation and TTL cleanup.

Read guide →

DynamoDB ResourceNotFoundException: Causes and How to Fix It

Why DynamoDB throws ResourceNotFoundException even when your table exists — wrong region, wrong endpoint, typo'd name, IAM, or timing — and how to diagnose each in minutes.

Read guide →

DynamoDB ValidationException: Key Does Not Match Schema

Why DynamoDB rejects your request with 'the provided key element does not match the schema' — missing sort key, wrong attribute name, wrong type — and how to fix each case.

Read guide →

DynamoDB ConditionalCheckFailedException Explained

ConditionalCheckFailedException is DynamoDB telling you a condition wasn't met — often by design. When it's expected, when it's a bug, and how to handle it correctly.

Read guide →

DynamoDB AccessDeniedException: How to Read and Fix It

AccessDeniedException in DynamoDB is an IAM problem — a missing action, the wrong resource ARN, an index not covered, or a deny policy. How to decode the message and fix each cause.

Read guide →

DynamoDB ItemCollectionSizeLimitExceeded: 10 GB LSI Limit

This error means a partition key's item collection exceeded 10 GB because the table has a Local Secondary Index. Why it happens and how to design around it.

Read guide →

DynamoDB TransactionCanceledException: How to Fix It

TransactionCanceledException aborts the whole transaction. Read the CancellationReasons array to find which item failed and why — conditional check, conflict, or throttle.

Read guide →

Performance & cost

Getting started

Stop guessing. See your data.

Every concept here is easier with the right tool. Tablyne gives you an editable grid, PartiQL with autocomplete, and a Single-Table Design Studio — across all your accounts.

Download Tablyne — free 14-day trial