1. Create source and destination tables
Run the source DDL in the source database:2. Seed 8,000 source rows
3. Configure the pipeline
- Create and test PostgreSQL source and destination connections.
- Create a pipeline with the source connection and open its workspace.
- In Source, discover and enable
mantrix_source.large_dataset. - Set its sync mode to Incremental, cursor to
updated_at, preview, and save stream settings. - In Destinations, add and save the PostgreSQL destination.
- In Transformations, select that destination and create a transformation using the source stream.
mantrix_destination.large_dataset, set the
Upsert key to id, and save. Validate from Overview, click Run all, and
inspect Runs. The first run should deliver 8,000 rows.
4. Apply the incremental delta
5. Verify
total_rows:10000new_rows:2000updated_rows:25