As it is, it feels DynamoDB tries its best to keep our data hostage, which is starting to negatively impact its attractiveness for our future projects.
Does anyone have other ways to achieve this? We’ve used dynamodump.py in the past, but again, it is very inefficient to scan the whole database.
You can grab the DynaamoDB stream with kinesis [firehose] and direct that into s3. It’s the full history of your DynamoDB table too as opposed to a snapshot on a date. I could probably build this pipeline in a day (so I’m guessing one of your devs could too). You could pretty easily catagorize the logs too either while streaming with lambdas or after the fact with emr sourcing the s3 for nightly batch jobs.
In an effort to understand better and I don’t meant to sound rude - but why not? Are you creating the snapshots encase of a table failing, auditing, data mining, replicating, etc…? The stream has everything so it would have the table snapshotted up to any arbitrary point in time simply by taking the latest version of all records based on the event time it occurs. This solves a data mining, auditing, and other things when you’re looking to work on the data (especially if you want a wide range of options to study the data). This wouldn’t produce a table that’s immediately available though if that’s what you’re looking for - you’d need to create emr jobs to build the table.
I’m guessing you’re more interested in keeping the table aspect of dynamo in tact and not manufacturing it from logs. One idea I had that maybe gives you what you’re looking for would be to write snapshots of DynamoDB to Redshift (as separate Redshift tables). Then if you need to send back to Dynamo you unload that entire table.
Here are 2 things I found. Unloading to redshift should be a cakewalk. Creating a job to load into Dynamo will take some manual work but it should be very straightforward.
AWS needs to work on their entire big data story. Glue, Data Pipeline, Athena, etc. Are all haphazard and don’t really work that well for a serious data problem.