Lannah Saldana
09/26/2025, 8:59 AMkapa.ai
09/26/2025, 8:59 AMsql SELECT * FROM table WHERE cursor_field >= 'last_sync_max_cursor_field_value' If a record is updated but its cursor value does not change (or is not greater than the last synced value), it will not be picked up in the next sync. This is a common pitfall when using non-monotonic or non-updated cursor fields, including some string columns. This can lead to missing updates in your destination, as you described [Known Limitations - Incremental Sync](https://docs.airbyte.com/platform/using-airbyte/core-concepts/sync-modes/incremental-append#known-limitations). ### 3. Duplicates and Deduplication - Incremental – Append mode can result in duplicate rows if the cursor field is not unique or if the sync is run multiple times with the same cursor value (e.g., due to low granularity or inclusive cursors). This is expected behavior, as Airbyte provides an at-least-once delivery guarantee and may re-send some data if the cursor is ambiguous [Inclusive Cursors](https://docs.airbyte.com/platform/using-airbyte/core-concepts/sync-modes/incremental-append#inclusive-cursors). - Incremental – Append + Deduped mode is recommended if you want to ensure only the latest version of each record (per primary key) is present in the destination. This mode requires you to define a primary key and a suitable cursor field. Airbyte will keep only the latest record for each primary key, sorted by the cursor value [Incremental Sync - Append + Deduped](https://docs.airbyte.com/platform/using-airbyte/core-concepts/sync-modes/incremental-append-deduped). ### 4. Best Practices - Use a timestamp or integer column as the cursor whenever possible, especially one that is updated on every modification (e.g., an updated_at timestamp). - Avoid string columns as cursors unless you are certain they are strictly increasing and always updated on change. - Switch to Incremental – Append + Deduped mode if you want to avoid duplicates and ensure only the latest record per primary key is kept. - Ensure the cursor field is always updated when a record changes, or updates may be missed. ### Summary Your experience matches the documented behavior: using a non-monotonic or non-updated cursor (such as some string columns) can cause Airbyte to miss updates or create duplicates. The best practice is to use a monotonically increasing, always-updated field (like a timestamp or integer) as the cursor, and to use the deduplication sync mode if you want to avoid duplicates in the destination. For more details, see the official documentation on [Incremental Sync - Append](https://docs.airbyte.com/platform/using-airbyte/core-concepts/sync-modes/incremental-append#known-limitations) and [Incremental Sync - Append + Deduped](https://docs.airbyte.com/platform/using-airbyte/core-concepts/sync-modes/incremental-append-deduped#known-limitations).Lannah Saldana
09/29/2025, 7:19 AM