Skip to content

Syncs, modes and how data lands

Each connector syncs on its own schedule: every 5, 15 or 30 minutes, every 1, 3, 6 or 12 hours, daily, or manually. Only one run of a connector is active at a time.

  • Incremental. After the first sync, PortPilot reads only records created or changed since the previous successful sync, using a cursor column (for example updated_at in a database table, or a modification timestamp in a SaaS API). Each integration page lists which tables or streams support it.
  • Full refresh. Every table is read in full on every sync.

The first sync is always a full read of every selected table.

How a table’s rows are written depends on whether it has a primary key:

Table Write mode Result
Has a primary key Upsert New rows are inserted, changed rows updated in place.
No primary key, read in full Replace The destination table is truncated and reloaded, so it mirrors the source.
No primary key, read incrementally Append New rows are added.
  • One destination table per source table or stream, with the same name. Database sources drop the schema prefix (sales.orders lands as orders).
  • Columns keep their source names. PortPilot creates the table on the first load and adds new columns when the source gains them. It never drops or renames columns.
  • Types map to the destination’s closest type (integers, floating-point numbers, booleans, text, JSON). Nested objects and arrays become JSON columns where the destination has them, otherwise JSON text. Timestamps arrive as ISO 8601 strings. Each destination page has the exact mapping.
  • No PortPilot metadata columns are added to warehouse and database tables. Files written to S3 and Cloud Storage keep four _pipestream_* fields, so you can pick the latest version of each record.

PortPilot replicates inserts and updates. Rows deleted in the source are not deleted in the destination, except in tables loaded with replace (above), which are reloaded in full. Where a source supports soft deletes (an is_deleted or deleted_at field), that field is replicated like any other column, so you can filter on it.

  • A failed run doesn’t move the bookmark, so the next run picks up from the same point and no data is skipped.
  • Rate-limit responses from SaaS APIs are retried for a bounded time. If the limit persists, the run fails with a rate_limited error and is retried on the next schedule.
  • Re-running a sync is always safe: upserts and bookmarks make every run idempotent.