Search⌘ K
AI Features

Data Movement and Analytics Integration

Explore how to safely move data in and out of DynamoDB using point-in-time recovery, on-demand backups, and export to S3 for analytics. Understand the best practices for protecting operational tables, and how to automate data workflows for bulk extraction, compliance, and downstream processing while minimizing impact on live applications.

Global tables solve cross-region replication for availability, but replication alone does not protect against accidental deletes, logical corruption, or the need to extract historical data for analytics. A replicated bad write propagates to every region just as quickly as a good one. This lesson addresses the complementary problem of moving data out of and back into DynamoDB safely, covering five distinct mechanisms that each map to a specific recovery or data-movement objective. Point-in-time recovery, on-demand backups, full export to S3, incremental export to S3, and import from S3 form the toolkit for protecting operational tables and feeding downstream systems such as data lakes, search indexes, and analytics engines.

The guiding principle is straightforward: choose the mechanism that matches the objective. Using the wrong one leads to unnecessary cost, wasted capacity, or operational complexity. A common mistake is running Scan operations or attaching EMR clusters directly to a live table when the goal is bulk historical extraction. AWS provides zero-RCU export paths specifically to avoid this anti-pattern, and understanding when to reach for each tool is a recurring theme in both real-world operations and exam scenarios.

PITR and on-demand backups

DynamoDB provides two table-level recovery mechanisms that operate transparently without degrading live table performance. Both restore data to a new table rather than overwriting the original, which means the running application is never disrupted during a recovery operation.

Point-in-time recovery

Point-in-time recovery (PITR)A continuous backup feature that records every change to a DynamoDB table, allowing restoration to any second within a rolling 35-day retention window. is enabled per table and runs in the background with no impact on read or write throughput. When a restore is triggered, DynamoDB creates an entirely new table populated with the data as it existed at the requested timestamp.

The retention window is the critical constraint. Once PITR is disabled and re-enabled, the window resets, and all prior recovery points are lost. This makes PITR a poor fit for long-term archival but an excellent fit for precise rollback after accidental deletes or corrupted writes that happened minutes or hours ago.

Attention: Disabling PITR even briefly resets the 35-day window. Treat the enable/disable toggle as a one-way operational decision unless you explicitly accept losing the recovery history.

On-demand backups

On-demand backups are ...