Yuki Kakegawa
09/24/2025, 4:11 PMkapa.ai
09/24/2025, 4:12 PMDELETE operations. With CDC, deleted records in the source are flagged (e.g., with a _ab_cdc_deleted_at timestamp) or removed in the destination, depending on your sync configuration. This is the recommended approach if you need the destination to reflect hard deletes from the source. CDC is only available for certain sources and requires primary keys on tables. [Read more about CDC support and limitations](https://docs.airbyte.com/platform/1.6/understanding-airbyte/cdc). 2. Soft Deletes (Marking Records as Deleted): - If your source system exposes a "deleted" flag (e.g., via an API field), you can replicate this field to the destination and use it to indicate soft deletes. This requires the source to provide such information; otherwise, Airbyte cannot infer deletions. - For APIs that provide a separate endpoint for deletions, you can design your connector to fetch deleted records and update a "deleted" status in the destination, typically via custom transformations or by merging update and delete streams in your data warehouse logic. [See forum discussion for best practices](https://discuss.airbyte.io/t/1256). 3. Full Refresh Overwrite: - If you need the destination to always exactly mirror the source (including deletions) and cannot use CDC, you can use the "Full Refresh Overwrite" sync mode. This mode erases all data in the destination and reloads it from the source on each sync, ensuring deletions are reflected but at the cost of efficiency and higher resource usage. 4. Refresh Syncs: - Airbyte also offers "Refresh Syncs," which can be used to re-import all records and optionally remove records in the destination that are no longer present in the source. This can help detect deletions for sources that do not track them, but is more resource-intensive than incremental syncs. [See Refresh Sync documentation](https://docs.airbyte.com/platform/operator-guides/refreshes). Summary Table: | Sync Mode | Handles Deletes? | Notes | |--------------------------|------------------|----------------------------------------------------------------------------------------| | Incremental (default) | No | Deleted records in source remain in destination. | | Incremental + CDC | Yes | For supported DBs; propagates deletes using metadata columns. | | Soft Delete (custom) | Yes (soft) | Requires source to expose a deleted flag or a deletes endpoint. | | Full Refresh Overwrite | Yes | Destination is fully replaced each sync; resource-intensive. | | Refresh Sync | Yes (optionally) | Can remove records not present in source; more expensive than incremental. | Key Takeaway: If you need to propagate deletes with incremental syncs, use CDC for supported sources, or implement soft deletes if your source exposes the necessary information. Otherwise, consider full refresh or refresh syncs for full mirroring, but be aware of the performance trade-offs. [See more: Airbyte Incremental Sync and Deletes](https://airbyte.com/tutorials/incremental-data-synchronization#step-7) [CDC documentation](https://docs.airbyte.com/platform/1.6/understanding-airbyte/cdc) [Refresh Syncs](https://docs.airbyte.com/platform/operator-guides/refreshes)Yuki Kakegawa
09/24/2025, 4:19 PMkapa.ai
09/24/2025, 4:19 PMkapa.ai
09/24/2025, 4:20 PMYuki Kakegawa
09/24/2025, 4:25 PMkapa.ai
09/24/2025, 4:25 PMkapa.ai
09/24/2025, 4:26 PMYuki Kakegawa
09/24/2025, 4:27 PMkapa.ai
09/24/2025, 4:27 PMkapa.ai
09/24/2025, 4:27 PM