Should an incremental stream constantly grow the r...
# replication-troubleshooting
m
Should an incremental stream constantly grow the raw stream table by the total number of rows? For example, I have a stream "molecules" that is set up to be (async) incremental. It has 18424 rows in the target table. The raw stream table, however, has 773695 rows (!). Is that raw stream table going to continue to grow every time the sync is run?
k
No, the raw stream table should not grow by the total number of rows in your source on every incremental sync, but it is expected to grow over time—sometimes significantly—depending on your sync mode and how often records are updated. In Airbyte, when you use incremental sync (especially Incremental | Append + Deduped), every new or updated record from the source is appended to the raw table in the destination. This means: - If a record is updated in the source, a new version of that record is appended to the raw table, but previous versions are not removed from the raw table. - The final (deduped) table will only keep the latest version per primary key, but the raw table will contain all historical versions, including duplicates and previous states of records. - Over time, especially if your source data changes frequently, the raw table can become much larger than the final table, as it accumulates all versions of every record that has ever been synced. This behavior is confirmed in both documentation and user reports. For example, the Airbyte tutorials and documentation explain that the raw and history tables will contain all versions of records, not just the current one, which can lead to the raw table being much larger than the final table, especially for frequently updated data streams. This is by design, to allow for history tracking and deduplication in the final table, but it does mean the raw table will continue to grow unless you manually clean it up or Airbyte introduces a cleanup mechanism in the future [[Incremental deduped + history synchronization](https://airbyte.com/tutorials/incremental-data-synchronization#step-7)]. There are also user reports and GitHub issues highlighting that raw tables can grow unconstrained, especially for sources with frequent updates, and that Airbyte does not currently consolidate or clean up these raw tables automatically [[Excessive duplication in airbyte_internal raw tables](https://github.com/airbytehq/airbyte/issues/62501)]. In summary: Yes, your raw stream table will continue to grow with each sync, especially if records are updated often, and this is expected behavior in Airbyte's current design. The final table will remain deduplicated, but the raw table accumulates all versions and changes, which can lead to significant storage usage over time. If this is a concern, you may need to implement your own cleanup strategy or monitor for future Airbyte features addressing raw table cleanup.
m
So would this indicate that the incremental stream is not properly setting the parameters in the request to limit the results to records modified since the last airbyte sync?