Skip to contentManaged Kafka is live: Apache Kafka on AWS for half the cost of MSK
Back to the Data Almanac

RoundupUpdated

Best Database Replication Tools for Fintech: 5 Failure Modes to Test

Database replication for fintech covers two jobs: keeping the ledger up through failover, and streaming its changes to fraud, risk and the warehouse. The first is a standby server with synchronous replication, a setting on the primary. The second, a change data capture (CDC) pipeline, is where you pick a tool. Picking one for the wrong job is the common mistake.

CDC tools differ most when something breaks. We'll follow a Postgres 17 ledger whose accounts table feeds a fraud model in Snowflake. We compare eight tools on failovers, lost slots and change history, then list proof-of-concept tests.

Artie is a fully managed real-time streaming platform that continuously replicates data from production databases into warehouses and lakes.

Two jobs: keep the ledger up, and get its changes out

With synchronous replication in Postgres, a commit waits until the standby has written it to its write-ahead log (WAL), so a committed payment survives losing the primary. By default, replication is asynchronous: commits don't wait, so a failover can lose commits the standby never received.

Keep a single primary: two primaries that both accept writes can each approve a debit against the same balance. And keep point-in-time recovery from WAL archives: a bad UPDATE on accounts reaches every replica within seconds.

Fraud scoring, risk models, regulatory reports and billing need ledger data, and none should query the primary. Change data capture reads each insert, update and delete from the transaction log: logical replication on Postgres, the binlog on MySQL.

Five failure modes to test with ledger data

Silent stalls. A pipeline can stop moving one table while its status still says running. In AWS DMS, the default TableErrorPolicy is SUSPEND_TABLE: after a table-level error, the task continues but stops replicating that table (DMS error handling). Ask whether lag is reported per table, and whether a failed backfill stays marked as failed.

Recovery by full reload. A Postgres replication slot holds WAL on the source until the consumer confirms it. If retained WAL passes max_slot_wal_keep_size, Postgres invalidates the slot, and the only way back is a fresh snapshot.

Recovering a lost slot takes these steps. What differs by tool is whether an alert fires, whether the backfill blocks writes on the source, and who runs each step.

Type fidelity. Insert edge cases into accounts and diff the destination: a non-UTC timestamptz, a numeric with no declared precision, the largest bigint. DMS's Postgres source docs list unconstrained numeric as only partially migrated.

Surviving failovers. Before Postgres 17, a logical slot wasn't synced to a standby, so a promotion lost the consumer's position. Postgres 17 failover slots sync to a standby when the slot has failover = true. The standby needs sync_replication_slots, hot_standby_feedback, primary_slot_name and a dbname in primary_conninfo (slot synchronization). Listing the standby's slot in synchronized_standby_slots on the primary keeps the standby ahead of the consumer (Postgres docs). Ask whether the tool creates failover slots, then fail over mid-stream.

Audit history and data controls. A history table keeps every change with its timestamp and operation, so you can answer "what was this balance at 3pm yesterday?" without triggers on the ledger. It's an audit trail in the SCD Type 2 shape (one row per version of a record, with when it was valid).

Hash or exclude columns like tax_id before they land in Snowflake. If data can't leave your network at all, ask about bring your own cloud (BYOC), which runs the data plane in your cloud account.

The 8 best database replication tools for fintech

"Not documented" means we couldn't find it in the vendor's public docs on November 23, 2026. Airbyte isn't in the eight: its CDC syncs at most every 5 minutes on Pro and hourly on Cloud Standard, while the others read continuously or, like Fivetran, sync as often as every minute.

ToolPostgres 17 failover slotAfter a lost slotChange history
ArtieOpt-in, new slots onlyInvalidated: stops and alerts. Missing: new slot, no alertHistory table per source table
Debezium + KafkaOpt-in connector settingNew snapshot in when_needed modeBuild it downstream
AWS DMSPG 17 slot sync for read-replica CDCTask fails; restart recreates the slotChange files on S3 targets
Fivetran (HVR)Resumes if the slot is syncedMay need a historical re-syncHistory mode on select connectors
Qlik ReplicateVia pg_failover_slots, set up by your DBATask fails; DBA supplies a slot and log positionChange tables
Oracle GoldenGateOpt-in when registering ExtractNot documentedInsert-all-records mode
StriimNot documentedNot documentedAppend Only mode
EstuaryNot documentedManual recovery, re-backfill all tablesDelta updates mode

1. Artie

Artie reads the source's log, buffers changes in Kafka and writes them to warehouses, lakes and databases. Our own reader covers Postgres, MySQL, SQL Server, MongoDB and DynamoDB; Oracle streams through Debezium's Oracle connector by default. Oracle and SQL Server sources are on Enterprise.

We commit the Kafka offset only after a keyed merge into the destination succeeds (flush rules). Primary-keyed, current-state tables on warehouse and database destinations get exactly-once delivery.

Per-table lag and slot size go to Datadog or OpenTelemetry (integrations). A backfill that loses its connection fails and sends a backfill.failed webhook (troubleshooting).

Backfills run alongside CDC and, with the default client-side paging, take no locks (backfill settings). An invalidated slot still exists, but Postgres won't stream from it, so the reader stops and alerts you. You drop the slot from the dashboard or the API, redeploy and backfill (replication slot lost). A missing slot was dropped by hand or lost in a failover. The reader logs a warning and creates a new one on restart, with no alert, so changes in the gap stay missing until you backfill. Test this case in your failover drill. On Growth and Enterprise, our engineers run the reset and backfill once you approve it (Artie vs Airbyte).

A type change isn't applied to the destination column, and a rename arrives as a new column (schema evolution). The Postgres 17 failover slot setting is off by default and applies only to slots Artie creates (failover slots).

History mode adds a __history table per source table on warehouse and database destinations. Column hashing uses SHA-256 with an optional per-pipeline salt, and column encryption uses an Artie passphrase or your AWS KMS key. Kafka destinations support none of the three.

Artie is SOC 2 Type II on every plan. Growth and Enterprise include HIPAA with a business associate agreement (BAA), single sign-on (SSO) and role-based access control (RBAC); Enterprise adds BYOC. Traffic between Artie's control plane and data plane uses HTTPS. TLS to your source and destination "depends on the connector's settings", and "data at rest is encrypted with AES-256 or hashed with SHA-256" (architecture). Pricing is free up to 1 million billable rows a month, then Growth from $500 a month billed annually.

2. Debezium with Kafka Connect

Debezium is open-source CDC that runs as Kafka Connect connectors. It reads the database log into Kafka topics, through pgoutput on Postgres (Postgres connector docs). Reaching a warehouse table takes a sink connector or consumer you run (Debezium alternatives).

On Postgres 17, slot.failover=true creates a failover slot the connector keeps reading after a promotion. With snapshot.mode=when_needed, it takes a new snapshot when its offset points at WAL the server no longer has. The docs warn that slots aren't kept across a major-version upgrade, which "can lead to silent data loss" unless you snapshot again.

Debezium can hash, mask or truncate a column with column.mask.hash.<algorithm>.with.salt.<salt>, column.mask.with.<length>.chars and column.truncate.to.<length>.chars. It's free under Apache 2.0, and you run Kafka, Connect workers and every recovery.

3. AWS DMS

AWS Database Migration Service is AWS's managed replication service. For Postgres CDC it uses pglogical if installed, otherwise test_decoding (DMS Postgres source docs). DMS can read from an RDS Postgres 17 read replica, whose slot syncs from the primary (read replica as a source). If a slot falls more than max_slot_wal_keep_size behind, the task fails, and restarting a CDC task rather than resuming it recreates the slot.

Table-mapping rules can drop or hash-mask columns. On S3 targets, CDC files mark each row as an insert, update or delete (S3 target docs).

DMS is in scope for SOC and PCI DSS, is HIPAA eligible, and bills per instance hour, or per DMS capacity unit (DCU) hour on Serverless (DMS pricing).

4. Fivetran (including HVR)

Fivetran is managed ELT for SaaS and database sources. Its Postgres connector reads logical replication with pgoutput (Fivetran Postgres docs) in scheduled syncs, as often as every minute on Enterprise and Business Critical plans (sync frequencies). If the slot isn't synced to standbys, Fivetran says a failover may require a historical re-sync. HVR is the self-hosted version.

History mode keeps SCD Type 2 rows on select connectors and can raise monthly active rows (MAR), which Fivetran bills on. The security page lists SOC 1, SOC 2, ISO 27001 and a HIPAA BAA, with PCI DSS Level 1 on Business Critical.

5. Qlik Replicate

Qlik Replicate is log-based replication that also reads mainframe and SAP sources. It's client-managed or runs in Qlik Cloud, with prices by quote.

By default, apply conflicts go to attrep_apply_exceptions while the task keeps running (apply-conflict settings), so alert on that table.

Qlik's Postgres failover docs hand failover to pg_failover_slots and its setup to your DBA. If the new primary lacks the slot, the task fails with "Can't resume task after replication slot was dropped" until the DBA supplies a slot and its log sequence number (LSN), the WAL position to resume from.

A task option called Store Changes writes each change to a change table. The trust page lists SOC 2 Type II and ISO 27001 for Qlik Cloud.

6. Oracle GoldenGate

Oracle GoldenGate captures Oracle changes through Integrated Extract, which reads the redo stream (Oracle docs). INSERTALLRECORDS makes Replicat insert every change as a new row, which keeps a point-in-time history.

GoldenGate also captures from Postgres through a replication slot. On Postgres 17, you get a failover slot by registering the Extract with FAILOVERSLOT (failover docs). We found no docs on recovering from a lost slot.

Licenses are per processor or named user, and OCI GoldenGate is billed per OCPU, Oracle's CPU unit (OCI billing).

7. Striim

Striim combines CDC with filtering, joining or enriching changes in flight. Its Postgres reader uses wal2json (Striim docs) through a slot you create by hand. Striim's docs don't cover failover or a lost slot.

The Snowflake writer's Append Only mode writes updates and deletes as inserts, keeping a change history. Its security page lists SOC 2 Type II and HIPAA with a BAA. Striim Cloud bills in credits.

8. Estuary

Estuary is a managed CDC and streaming platform. Its Postgres docs say a dropped or invalidated slot, including after a failover, needs manual recovery, and an invalidated slot means re-backfilling all tables. They don't mention Postgres 17 failover slots.

Redaction blocks fields or replaces them with salted SHA-256 hashes, and a delta updates mode writes changes without merging them by key. It runs as SaaS, or as a private data plane or BYOC on Enterprise, with SOC 2 Type II and a HIPAA BAA (security).

Pricing is free up to 10 GB and 2 connectors, then $0.50 per GB moved plus $100 a month per connector instance.

Run a proof of concept, then switch without a gap

Point the new pipeline at the same ledger and write into a separate schema, like fraud_new in Snowflake. While both run, Postgres holds WAL for two slots, so check max_replication_slots and disk on the primary.

Then break things, with the old pipeline as your fallback:

  1. Compare row counts and checksums per table, allowing for a few minutes of lag.
  2. Fail over the primary mid-stream. Confirm there's no gap and no manual restart.
  3. Add a column and change a column type, and note what the tool reports.
  4. Kill the pipeline during a backfill. It should resume or fail loudly, never report complete.
  5. Check that non-UTC timestamps and high-precision decimals land unchanged.
  6. Turn on history for accounts and answer "what was this balance at 3pm yesterday?"
  7. Hash tax_id and confirm it never lands in clear text.
  8. Ask for the SOC 2 Type II report, and for BAA or data residency terms if you need them.

Before cutover, put a view, fraud.accounts, in front of what the fraud model reads. When the tables match, repoint it at fraud_new.accounts, so the model's queries don't change.

Keep both pipelines running and comparing for a week; rolling back means repointing the view. Once the week comes back clean, stop the old task and drop its slot the same day, so it stops holding WAL on the ledger.

If your ledger runs on Postgres, MySQL, MongoDB or DynamoDB, start the parallel run on a 14-day Growth trial. In our benchmark against AWS DMS, Artie held 385 MB of WAL on the Postgres source after ten minutes and DMS, on a 2-vCPU dms.t3.large, about 6.1 GB. Alloy cut over from DMS to Artie behind views that could point at either source (Alloy's story).

When another tool fits

Debezium fits if you already run Kafka and other services consume the change events. If the ledger is on Oracle and your DBAs run GoldenGate, adding targets there reuses skills you have. For a one-time move into RDS, a DMS full-load task does the job.

FAQ

What are the best database replication tools for fintech?

For streaming ledger changes downstream: Artie, Debezium with Kafka, AWS DMS, Fivetran (including HVR), Qlik Replicate, Oracle GoldenGate, Striim and Estuary, compared in the tools section. For ledger availability, use the database's own primary-replica replication.

Should a fintech use synchronous or asynchronous replication?

Use synchronous replication for the ledger's failover replica, so a committed transaction survives losing the primary. Use asynchronous replication for read replicas and downstream analytics, and monitor the lag.

How do you keep an audit trail of every change to replicated data?

Write every insert, update and delete to a history table with its timestamp and operation type, next to the current-state table. Our guide to building audit logs with CDC and SCD Type 2 walks through it.

Watch your data replicate live