1/113
Looks like no tags are added yet.
DynamoDB
Managed NoSQL database optimized for predictable key-based access at scale.
Table
Collection of DynamoDB items sharing a defined primary-key schema.
Item
Record containing a primary key and flexible named attributes.
Attribute
Named field inside a DynamoDB item, such as email.
Access pattern
Specific read or write an application must perform efficiently.
Partition key
Key value hashed to determine item placement and query grouping.
Sort key
Optional key distinguishing and ordering items with one partition-key value.
Simple primary key
Primary key made of only a partition-key attribute.
Composite primary key
Primary key made of a partition key and sort key.
Key design rule
Start with required queries, scale, and consistency before selecting keys.
GetItem
Fetches exactly one item using its complete primary key.
Query
Retrieves items sharing one partition-key value, optionally constrained by sort key.
Scan
Reads across items in a table or index; inefficient for large lookups.
KeyConditionExpression
Query's partition-key equality and optional sort-key condition.
FilterExpression
Removes results after reading; does not eliminate consumed read capacity.
ProjectionExpression
Limits attributes returned, usually without reducing read capacity consumed.
begins_with
Sort-key condition selecting values with a specified prefix.
BETWEEN
Sort-key condition selecting values within an inclusive range.
LastEvaluatedKey
Pagination cursor indicating that additional results may exist.
ExclusiveStartKey
Cursor passed into the next Query or Scan request.
Query 1 MB limit
One Query page processes up to 1 MB before continuation.
Global secondary index
Alternative partition/sort-key access path over table data.
GSI read consistency
Only eventually consistent reads are available on a GSI.
Local secondary index
Alternative sort key using the table's same partition key.
Sparse GSI
Items lacking required index key attributes are absent from that index.
Email lookup
Use an email-keyed GSI rather than repeatedly scanning users.
GSI uniqueness
A GSI does not enforce unique values like a SQL unique index.
Eventually consistent read
May briefly return an older value after a completed write.
Strongly consistent read
Returns the latest committed item value on a supported table or LSI.
Read capacity unit
Supports one strong read per second for up to 4 KB.
Eventually consistent RCU
Supports two eventual reads per second for up to 4 KB each.
Write capacity unit
Supports one standard write per second for up to 1 KB.
On-demand capacity
Pay-per-request mode, still subject to table and partition limits.
Provisioned capacity
Read and write throughput configured in advance, with optional autoscaling.
Hot partition
One partition or key range receives more traffic than it can serve.
Hot key
One partition-key value receives disproportionate request volume.
Throttling
DynamoDB rejects operations due to capacity or throughput restrictions.
Exponential backoff
Retry transient failures with progressively longer waiting intervals.
Retry jitter
Randomized delay that prevents synchronized retry storms.
Backpressure
Limit producers or concurrent requests to protect a busy downstream service.
Lambda reserved concurrency
Upper bound on simultaneous executions of a Lambda function.
PutItem
Creates or replaces an entire item, optionally with a condition.
UpdateItem
Modifies chosen attributes with optional atomic conditions.
DeleteItem
Removes an item, optionally conditioned on expected state.
ConditionExpression
Checks a condition atomically before allowing a write.
attribute_not_exists
Write condition commonly used to prevent overwriting an existing item.
Optimistic locking
Write only when a stored version still matches the expected value.
ConditionalCheckFailed
Condition was false; inspect current data before deciding to retry.
Atomic counter
UpdateItem can increment a numeric attribute safely during concurrent requests.
Idempotency
Repeating the same logical request does not duplicate its side effect.
Idempotency key
Stable request identifier used to recognize and deduplicate retries.
Ambiguous timeout
Client does not know whether a timed-out write actually succeeded.
TransactWriteItems
Atomically commits or rejects coordinated writes across eligible items.
BatchWriteItem
Batches writes but does not guarantee all-or-nothing transaction behavior.
UnprocessedItems
Batch requests not handled; retry those items with backoff.
DynamoDB Streams
Change-event records for inserts, modifications, and deletes.
TTL
Expires items for asynchronous deletion, not exactly at the expiry time.
PITR
Point-in-time recovery of a table within its configured backup window.
PITR restore
Creates a new table requiring validation and controlled cutover.
Backup versus replica
Backups support recovery; replication can also propagate accidental corruption.
RPO
Maximum acceptable data-loss interval measured backward from the incident.
RTO
Maximum acceptable downtime before service must be restored.
High-cardinality key
A partition key with many distinct values helps spread requests more evenly.
Poor partition key
One shared value for heavy traffic can concentrate requests and cause throttling.
Composite sort-key pattern
Use structured prefixes like INVOICE#2026-10-28 to group related records.
One-to-many relationship
Store related items under one partition key with distinct sort keys.
Many-to-many relationship
Store relationship items supporting queries from both sides, often using indexes.
Single-table design
Store multiple entity types together when their access patterns support it.
Multiple-table design
Separate entities when boundaries, throughput, permissions, or lifecycle needs justify it.
Denormalization
Duplicate selected data to support efficient queries without expensive joins.
DynamoDB joins
DynamoDB does not perform relational joins; model reads in advance or join in code.
DynamoDB item limit
An individual DynamoDB item cannot exceed 400 KB.
Large document pattern
Store large blobs in S3 and keep metadata and object references in DynamoDB.
Sort-key time ordering
Use sortable date strings or timestamps to query records by time.
Invoice ID lookup
Use invoice_id as the primary key or create an index supporting exact retrieval.
Vendor invoices by date
Query vendor_id partition with date-ordered sort keys, or use a matching GSI.
Pending approval lookup
Use a status-oriented sparse GSI, while checking for hot-key concentration.
Approved invoice race
Condition the update on current status or expected version before approving.
Avoid duplicate payment
Use a stable idempotency key and durable conditional write before side effects.
Cross-table consistency
Use TransactWriteItems when multiple item changes must succeed or fail together.
TransactWriteItems token
ClientRequestToken protects identical transaction retries within its ten-minute window.
Conditional write failure
Re-read the current item, decide whether to retry, reject, or report conflict.
Write sharding
Spread a hot logical key across multiple physical keys to distribute write traffic.
Read sharding tradeoff
Sharding distributes writes but requires querying and combining multiple key groups.
Adaptive capacity
DynamoDB may redistribute throughput, but cannot eliminate all hot-key limits.
GSI backfill
Adding a GSI to an existing table requires populating it from existing items.
GSI lag
An index can briefly show stale results after a base-table write.
LSI creation
Local secondary indexes must be created with the table, not added afterward.
LSI strong reads
Local secondary indexes can support strongly consistent reads when requested.
Index projection tradeoff
Project frequently needed fields while balancing index size and write cost.
Scans in production
Avoid frequent broad scans on large tables; monitor read cost and latency.
Parallel Scan
Splits a large scan into segments; increases throughput pressure, not lookup efficiency.
Money values in Python
Use Decimal or integer minor units rather than binary floating-point rounding.
DynamoDB boto3 resource
Python SDK high-level interface for Table.get_item, query, and update_item.
DynamoDB Number type
Stores numeric values as decimal representations, not binary float attributes.
Conditional write audit
Log request ID and outcome without exposing sensitive item contents.
DynamoDB encryption at rest
DynamoDB encrypts stored table data transparently, with optional customer-managed KMS key.
DynamoDB table IAM
Restrict GetItem and UpdateItem to intended table or index resource ARNs.
DynamoDB CloudWatch metrics
Monitor consumed capacity, throttled requests, latency, and system errors.
DynamoDB CloudTrail audit
Inspect management events for who changed table configuration or security settings.