DynamoDB Operations

Some usual DynamoDB operations

  • Table cleanup
    • Option 1: scan and delete item
      • Slow and consumes RCU & WCU
    • Option 2: Drop table + recreate table
      • Fast, efficient, cheap
  • Copying a DynamoDB Table
    • Option 1: use AWS Data Pipeline
    • Option 2: Backup and restore into a new table
      • Take some time
    • Option 3: Scan + PutItem or BatchWriteItem
      • write your own code