Menu

1 / 6

MySQL to Redshift Without DMS: A Binlog CDC Tutorial Through AWS Glue

DEV Community: mysql·Shubham Baldava·2 days ago
#YmphttPx
#devtomysql#devto#dev#redshift#glue
Long article (2440 words) — no AI summary yet.
Reading 0:00
15s threshold

A MySQL to Redshift pipeline tends to start as a nightly job: dump the tables, push the files to a bucket, run COPY . It works until someone asks why a refund issued at lunch still shows as revenue in the afternoon report. Full reloads cannot carry an update the moment it happens, and they cannot carry a delete at all unless you rebuild the table.

Here are the ways people usually move MySQL rows into Amazon Redshift:

Export and COPY . mysqldump or SELECT INTO OUTFILE to an Amazon Simple Storage Service (S3) bucket, then COPY into Redshift on a schedule. Hours to daily freshness, and full reloads only.

AWS Database Migration Service (DMS) . Change data capture (CDC) through the binlog into native Redshift tables, updates and deletes included. You run a replication instance, a task and an S3 staging bucket.

The zero-ETL integration . ETL means extract, transform, load, and here there is nothing to run: changes land in native Redshift tables within seconds.…

Continue reading — create a free account

Join HashtagPLUS to read full articles, follow hashtags, vote, and join the conversation.