Replication methods
A table’s replication method controls how its tap finds records after the initial load. FastSync is a transfer optimisation, not a replication method.
MariaDB/MySQL and PostgreSQL preserve supported decimal precision and scale when replicating to Snowflake native, managed Iceberg v3, or PostgreSQL. YugabyteDB does the same for Snowflake native and PostgreSQL; it does not support managed Iceberg targets yet. This applies to every replication method; see Decimal mapping for numeric fallback and column versioning after an upgrade.
Choose a method
Method |
Change boundary |
Inserts |
Updates |
Deletes |
|---|---|---|---|---|
|
Database change log |
Yes |
Yes |
Yes |
|
Replication-key maximum |
Yes |
Only when key advances |
No |
|
None; reads all rows |
Yes |
Yes |
By table replacement or merge semantics |
Prefer LOG_BASED for mutable database tables when the source supports it and log retention can be operated safely. Use INCREMENTAL for append-oriented data with a stable increasing key. Use FULL_TABLE only when complete rescans are acceptable.
Log-based replication
LOG_BASED reads inserts, updates, and deletes from a database change log. PipelineWise supports it for MariaDB/MySQL, PostgreSQL, YugabyteDB, and MongoDB connectors. Experimental connector status still applies. YugabyteDB LOG_BASED needs a target with FastSync, which creates its replication slot; see YugabyteDB source.
PostgreSQL and Snowflake targets physically remove source-deleted rows before acknowledging Singer state. See Metadata columns for deletion markers and processing.
An initial table without a bookmark uses FullSync when the route supports it.
The same run_tap invocation then starts Singer for ongoing log consumption.
The source must retain change-log data until the target-acknowledged bookmark has
advanced beyond it.
Managed PostgreSQL-to-Snowflake runs acknowledge their completed WAL progress-marker boundary after the target’s final flush. PostgreSQL may still need older WAL to reconstruct decoding state at the next reconnect. See Acknowledgement and recovery for acknowledgement and recovery behaviour.
MySQL/MariaDB checkpoints wait for complete transactions and preserve each
stream’s acknowledged history. Unsupported binlog encodings and selected-table
TRUNCATE stop replication; see MariaDB and MySQL source for source settings and
legacy-checkpoint recovery requirements.
Warning
Losing a binlog, logical replication slot, WAL range, or change-stream token can make the saved bookmark unrecoverable. Restore the source log when possible; otherwise perform a deliberate resync.
Key-based incremental replication
INCREMENTAL stores the maximum observed replication_key and selects rows
whose key is greater than or equal to that bookmark:
SELECT <selected_columns>
FROM <schema>.<table>
WHERE <replication_key> >= <saved_maximum>;
The overlap permits replay of the boundary value; the target primary key must deduplicate or merge repeated rows. Updates whose replication key does not advance and source deletes are not detected. Backfilled or non-monotonic keys can therefore leave permanent gaps.
Full-table replication
FULL_TABLE reads every selected row on every run. Supported FastSync routes use FullSync; other routes use the Singer path. Account for a full source scan, staging space, target replacement/merge work, and a longer recovery window.
Use Resync and repair when a one-off rebuild is required without permanently setting the table to FULL_TABLE.