MySQL to Redshift: The Complete Replication Guide
MySQL reaches Redshift four ways as of November 2026, and the choice turns on where MySQL runs and whether deletes must arrive. AWS zero-ETL mirrors Aurora, RDS, and now self-managed MySQL, DMS replicates through CSV in S3, and a hand-built export lands files for COPY. Between those sits a replication tool such as Filament, Fivetran, Airbyte, or Estuary that reads the binary log and loads through your own bucket.
Path | Carries deletes | Staging | Pricing unit |
|---|---|---|---|
Zero-ETL, Aurora and RDS | Yes, binlog based | None you manage | No integration fee |
Zero-ETL, self-managed | Yes, through a DMS endpoint | None you manage | Per GB of change data |
Replication tool | Yes with change data capture | S3 bucket, yours or the vendor’s | Rows, credits, GB, or nothing |
AWS DMS | Yes with a primary key | CSV in a DMS bucket | Instance or DCU hours |
Manual S3 and COPY | No | Your S3 bucket | Your time |
The criteria that pick the tool
Six facts decide this route. Load speed is not one of them, because no public benchmark has run a Redshift sink from any tool and nobody earns a throughput claim without one.
Deletes. A binlog reader sees a hard delete and a cursor query cannot, so “Use CDC when deletes or source transaction order must propagate” (replication modes).
Where MySQL runs. Aurora and RDS qualify for the no-fee zero-ETL integration, self-managed MySQL gets the per-gigabyte DMS-backed version, and MySQL on another cloud gets neither (zero-ETL sources).
Who owns the staging bucket. COPY reads from S3, so every file-based tool needs a bucket in the Redshift Region and grants for whoever writes and reads it (COPY from Parquet).
Type fidelity. Redshift has no unsigned integers (numeric types), stores TIMESTAMP in UTC and ignores zone text in input (datetime types), and caps strings by byte count.
Duplicate handling. AWS warns that duplicates “might appear in target tables because Amazon Redshift does not enforce primary keys” and a resumed task can replay changes (DMS Redshift target). The tool has to dedupe for you.
What you pay by. Active rows, credits, gigabytes, events, DCU hours, or nothing beyond the Redshift bill, and the unit shapes the cost curve more than the rate.
Which tools replicate MySQL to Redshift?
Fifteen tools run this route, and all but the AWS-native three load Redshift through files in S3. Every cell comes from the vendor’s documentation, pricing page, or LICENSE file, read on November 30, 2026.
Tool | MySQL capture | Redshift load | Pricing unit | License |
|---|---|---|---|---|
Binlog, GTID or file position | Parquet manifests and COPY, your bucket | None | Apache 2.0 | |
Binlog, managed | Managed, read-only database | No integration fee | Service | |
DMS source endpoint | Managed, provisioned clusters only | Per GB of changes | Service | |
Binlog, no GTIDs | CSV and COPY, DMS bucket | Instance or DCU hours | Service | |
Binlog or Teleport Sync | Staged COPY, your bucket | Monthly active rows | Proprietary | |
Binlog through Debezium | S3 staging and COPY, your bucket | Credits, or self-host | ELv2 | |
Binlog | Files in S3, your bucket | Per GB plus per connector | BSL 1.1 | |
Binlog, no GTIDs | Staged in Hevo’s bucket | Events | Proprietary | |
Binlog, key, or full table | Upsert or append-only | Rows per month | Proprietary | |
Cursor column, no binlog | Parquet in S3 and COPY, or INSERT | None, dltHub by runtime hour | Apache 2.0 | |
Binlog, Pro Max token | Parquet COPY from your bucket | Flat monthly | GPLv3 | |
Binlog, snapshot then stream | Redshift destination, method not documented | None | FSL 1.1 | |
Binlog | Confluent’s Redshift sink, subscription | Sink subscription | Apache 2.0 | |
Binlog | Not documented | Not published | Proprietary | |
Not documented | Not documented | Not published | Proprietary |
The AWS-native paths are the easiest to start and the narrowest. The zero-ETL target is “read-only” with no tables, views, or transforms allowed (requirements), every source table needs a primary key, and an ALTER TABLE can trigger a full resync (RDS zero-ETL). Classic DMS supports most DDL but not DROP TABLE or RENAME TABLE, and cannot process a binlog larger than 4 GB (DMS MySQL source).
The managed services trade the bucket for a meter. Fivetran reaches back to MySQL 5.5 and syncs without binlog access through Teleport Sync, which skips tables over 20 million rows, and it never deletes a destination row (Fivetran docs). Airbyte’s certified connectors stage through your bucket and silently round numerics past nine decimal places (Airbyte docs).
Estuary streams continuously and caps a document at 4 MB (Estuary docs). Hevo stops binlog support at MySQL 8.0 and has no GTID mode (Hevo docs).
The engines you run cost nothing to license and everything to operate. dlt has no MySQL binlog source, so it polls a cursor and cannot see a delete (dlt sources). Sling gates change capture behind a paid token (Sling docs), and ingestr ships it under a source-available license (LICENSE). Debezium has no Redshift sink of its own, since neither Debezium Server nor the JDBC sink lists one (Debezium Server).
Two familiar names fall short. PeerDB lists no Redshift destination (PeerDB connectors), and federated query reads RDS or Aurora MySQL in place without copying, with “read access” only (federated limits).
The type system splits the tools a second way.
MySQL type | Risk in Redshift | How the tools split |
|---|---|---|
BIGINT UNSIGNED | Overflows a signed BIGINT | Zero-ETL writes DECIMAL(20,0), Fivetran a big decimal, Hevo a larger signed integer |
TEXT and BLOB | Over 65,535 bytes fails or truncates | Zero-ETL fails the table unless TRUNCATECOLUMNS is on, Airbyte nulls the value, DMS converts LOBs to VARCHAR |
DATETIME | Zone-free value stored as UTC | Estuary requires a |
Zero dates | No Redshift equivalent | Airbyte and federated query return NULL |
JSON | Needs SUPER, 16 MB per record | Zero-ETL and Filament write SUPER, Airbyte caps the record at 16 MB |
ENUM and SET | Arrive in the binlog as integers | Zero-ETL writes VARCHAR(1020), most tools leave it undocumented |
Filament measured against the criteria
Filament meets the delete, staging, duplicate, and pricing criteria outright, and its Redshift sink still carries the connector catalog’s preview flag. The catalog puts that flag on the sink and not on the MySQL source. Disclosure, this site belongs to Galaxy, the company behind Filament.
On deletes, the MySQL source connects as a binlog replica and decodes inserts, updates, and deletes, preferring a GTID set when gtid_mode is on. A table with no checkpoint is read through a consistent snapshot, and the stream continues from the position captured just before it opened. The docs are plain about cadence. “Continuous CDC is a re-request loop, so it can run on a schedule.”
On staging and duplicates, the Redshift sink stages Parquet in a bucket you own and loads it with COPY manifests. Redshift keys are informational, so Filament applies upserts, deletes, and merges by the key fields itself, keeps a replay ledger named _filament_load_batches, verifies uploads with CRC32C, and commits each load in one transaction. Tables use DISTSTYLE AUTO and SORTKEY AUTO, and schema evolution is add-only.
On cost, the engine is Apache 2.0, runs on Kubernetes with Helm, as one process, or inside a Go program (deployment), and meters nothing.
The limits sit on the same pages. The sink authenticates with a username and password only and needs two AWS identities with separate grants. Incompatible DDL fails the run until the table is re-snapshotted, and parallel snapshot ranges do not share one point in time. The source page publishes no MySQL type table, so check unsigned and ENUM columns after the first load. Filament is pre-1.0 (introduction).
Setting up MySQL to Redshift with Filament
One replication user, one bucket, two IAM grants, and three commands replicate a store database. The example moves orders and order_items from a MySQL database named store into a Redshift schema of the same name. The commands adapt the MySQL to Snowflake how-to, since no page covers this pair yet. Change data capture needs a deployment backed by the Postgres datastore, because the local CLI context cannot run it.
Prepare MySQL
Confirm the binlog settings and create the replication user. Row format and log_bin are MySQL 8 defaults. On RDS or Aurora, raise retention first with mysql.rds_set_configuration('binlog retention hours', 24) or longer (RDS docs).
LOCK TABLES is held for a moment when each table is first bootstrapped, so the snapshot and the binlog position line up and writers wait a couple of round trips.
Prepare Redshift and the staging bucket
Create a private bucket in the same Region as the cluster or workgroup, then give the Filament user a schema it owns. Provisioned clusters and Serverless workgroups both work, because the sink takes either endpoint as host.
Two AWS identities then need S3 access, and granting only one of them fails the COPY.
Identity | Needs | Scope |
|---|---|---|
Filament worker, from the SDK credential chain | ListBucket, PutObject, DeleteObject | Bucket and the staging prefix |
IAM role associated with the cluster or namespace | ListBucket, GetObject | Same bucket and prefix |
Associate the role before the first run (authorizing Redshift), and add a lifecycle rule on the staging prefix, since the sink deletes staged objects on a best-effort basis.
Create the source and the sink
The source command is the documented form with the connection renamed. The DSN uses the Go driver format and must be TCP, since Unix sockets are rejected.
No published example shows the Redshift sink on the CLI yet, so the command below applies the documented rule that connector fields become sink- flags (CLI guide). Confirm the names with filament sink create --sink-connector redshift --help first.
Create the pipeline and run the bootstrap
Pass --sync-mode cdc explicitly, or the CDC source rejects the default read mode. If another replica reads the same server, give this pipeline a unique --source-server-id.
The first run snapshots both tables at an exact binlog position and loads them through Parquet manifests. Each later run streams from the saved position to the current one, applies each batch in one transaction, and exits.
Verify the load
Compare counts on both sides, then confirm the ledger exists and the types landed as the sink maps them (type mapping).
Filament logical type | Redshift type |
|---|---|
int16, int32, int64 | SMALLINT, INTEGER, BIGINT |
decimal up to precision 38 | DECIMAL(p,s), otherwise VARCHAR(MAX) |
string, array, unknown | VARCHAR(MAX) |
timestamp, timestamptz | TIMESTAMP, TIMESTAMPTZ |
json | SUPER |
bytes | VARBYTE(16777216) |
Schedule the catch-up
Add a cron schedule in the web app or with the Pipelines API, and keep the interval well inside binlog retention. A run with no changes still advances the saved position. A table with a timestamp cursor and no delete requirement can skip the binlog with a second source created without --source-replication cdc.
The right path for each MySQL setup
Zero-ETL is the default for an Aurora or RDS mirror that needs no transforms. A tool you run earns its place once the read-only target, the per-gigabyte meter, or the type mapping becomes the problem.
Your MySQL | Must have | Best fit | Because |
|---|---|---|---|
Aurora 3.05.2+ or RDS 8.0+, all tables keyed | Deletes, no transforms | Zero-ETL | No integration fee, managed binlog reader |
Self-managed, provisioned Redshift, nothing to run | Deletes | Zero-ETL through DMS | AWS-native, billed per GB of changes |
Self-managed or any cloud, typed tables, no meter | Deletes, add-only schema | Filament | Binlog capture, your bucket, replay ledger, Apache 2.0 |
Any, dozens of SaaS sources beside MySQL | Either | Fivetran or Airbyte | One catalog, one bill |
Any, sub-minute freshness | Deletes | Estuary | Continuous binlog capture, per GB plus per connector |
Any, Kafka already running | Deletes | Debezium plus Confluent’s sink | Capture is solved, the sink is bought |
Any, Python team, deletes do not matter | Cursor only | dlt | Apache 2.0, Parquet COPY, no binlog |
One-off migration | Nothing after cutover | DMS or S3 and COPY | No binlog reader to run afterwards |
Fivetran wins when MySQL 5.x or no binlog access rules the day. Filament fits the team that owns its AWS account, wants checkpointed catch-up runs into typed tables with no meter, and accepts a sink that has not yet cleared the catalog flag.
Related guides
The same source lands in MySQL to Snowflake, MySQL to ClickHouse, and MySQL to BigQuery, and the same sink takes Postgres to Redshift. The MySQL change data capture tutorial sets up a binlog reader, full load vs incremental vs CDC says when one is overkill, and the announcement covers deployment and license.
Frequently asked questions
What is the best way to replicate MySQL to Redshift?
It depends on where MySQL runs and whether deletes must arrive. Aurora and RDS for MySQL get a zero-ETL integration with no integration fee. Self-managed MySQL gets the DMS-backed zero-ETL path, classic DMS, or a replication tool such as Filament, Fivetran, Airbyte, or Estuary that reads the binary log and loads Parquet or CSV through S3 and COPY.
Can self-managed MySQL use a Redshift zero-ETL integration?
Yes, as of November 2026. AWS replicates self-managed MySQL, PostgreSQL, SQL Server, and Oracle into Redshift through an existing AWS DMS source endpoint, and bills the ongoing change data per gigabyte. The target must be a provisioned cluster, because Redshift Serverless cannot be the target of a self-managed integration, and the destination database stays read-only.
Can AWS DMS replicate MySQL to Redshift continuously?
Yes. A DMS task with ongoing replication reads the binary log and stages CSV files in an S3 bucket it creates in the Redshift Region, then loads them with COPY. DMS ignores GTIDs even when the source uses them and cannot capture changes from Aurora Serverless v1. AWS also warns that a resumed task can replay changes and leave duplicates, since Redshift never enforces primary keys.
How long should MySQL keep binary logs for a Redshift pipeline?
Longer than the longest pause between runs plus the time a first snapshot takes. Self-managed MySQL 8 keeps binary logs for 30 days by default. Amazon RDS retains none until you set binlog retention hours, with a ceiling of 168 hours, and Aurora cleans them within about a day unless told otherwise. Vendors ask for one to ten days.
What happens to BIGINT UNSIGNED columns in Redshift?
Redshift has only signed integers, so an unsigned 64-bit value past the signed ceiling cannot land in a BIGINT. AWS zero-ETL maps BIGINT UNSIGNED to DECIMAL(20,0) and INT UNSIGNED to BIGINT, Fivetran writes a big decimal, and Hevo promotes the column to a larger signed integer. Check the mapping table of whichever tool you pick before the first load.
Is there a public benchmark for MySQL to Redshift replication?
No. The only public cohort that includes a MySQL source measures full loads into Postgres, MySQL, and Apache Iceberg, and it states that its results do not predict incremental or change data capture performance. No published result file covers a Redshift sink from any tool, so any throughput claim for this route is an estimate, not a measurement.
Does Filament stream MySQL changes into Redshift continuously?
No. Filament’s MySQL source runs change data capture as bounded catch-up cycles. Each run captures the server’s current binlog position, streams from the saved checkpoint up to it, applies the changes, and returns, so a cron schedule every few minutes is the steady state. Continuous execution is documented for the Postgres, Kafka, and NATS sources, not for MySQL.
What does Filament do when a MySQL table changes schema mid-stream?
An added nullable column is picked up and created on the Redshift table, because schema evolution on the sink is add-only. A drop, rename, or type change makes the binlog event stop matching the cached column list, and Filament fails the run instead of mis-mapping values. You then re-snapshot that table. Existing Redshift columns are never dropped, renamed, or altered.
More articles
Questions
Answered
FAQ
What does Galaxy do?
What is Filament?
What is enterprise context management?
What does working with Galaxy look like?
How do you handle security and compliance?
Why does Galaxy build in the open?
Company
Copyright © 2026 Galaxy. All rights reserved.
