Yesterday, I covered how you can do an initial “replication” of data from MySQL to DynamoDB and how this can improve performance, and save storage space. The follow on question becomes:
That’s Great Nick. But how do I do keep my data up to date?
We’ve got data in our Airline Performance dataset through 31-DEC-2007. I loaded 1 year, all of 2007, for the previous example. What happens when the FAA publishes their 2008 January results, and we’ve loaded the new months worth of data into MySQL?
MySQL:
select count(*) from otp.ontime; 8061223
select count(*) from ontime where FlightDate > ’2007-12-31′;
605765
select count(*) from ontime where FlightDate <= ’2007-12-31′; …