1
0
mirror of synced 2026-01-05 21:02:13 -05:00
Files
airbyte/docs/understanding-airbyte/connections/full-refresh-overwrite.md
Alexander Marquardt caeb8017d3 Update full-refresh-overwrite.md (#17783)
Added a link to the new article that compares replication modes
2022-10-10 15:55:27 +02:00

48 lines
1.7 KiB
Markdown
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
# Full Refresh - Overwrite
## Overview
The **Full Refresh** modes are the simplest methods that Airbyte uses to sync data, as they always retrieve all available information requested from the source, regardless of whether it has been synced before. This contrasts with [**Incremental sync**](incremental-append.md), which does not sync data that has already been synced before.
In the **Overwrite** variant, new syncs will destroy all data in the existing destination table and then pull the new data in. Therefore, data that has been removed from the source after an old sync will be deleted in the destination table.
## Example Behavior
On the nth sync of a full refresh connection:
## _Replace_ existing data with new data. The connection does not create any new tables.
data in the destination _before_ the sync:
| Languages |
| :--- |
| Python |
| Java |
new data:
| Languages |
| :--- |
| Python |
| Java |
| Ruby |
data in the destination _after_ the sync:
| Languages |
| :--- |
| Python |
| Java |
| Ruby |
Note: This is how Singer target-bigquery does it.
## In the future
We will consider making other flavors of full refresh configurable as first-class citizens in Airbyte. e.g. On new data, copy old data to a new table with a timestamp, and then replace the original table with the new data. As always, we will focus on adding these options in such a way that the behavior of each connector is both well documented and predictable.
## Related information
- [An overview of Airbytes replication modes](https://airbyte.com/blog/understanding-data-replication-modes).
- [Explore Airbyte's full refresh data synchronization](https://airbyte.com/tutorials/full-data-synchronization).