Do I need a clear and reset ? If I have schema cha...
# ask-ai
i
Do I need a clear and reset ? If I have schema changes that had some additions and substractions in streams. Note my connection was all incremental before . @kapa.ai
k
If your connection was set to incremental sync and you have schema changes that include both additions and subtractions of streams, you generally need to clear (previously called "reset") the affected streams to ensure your destination data remains consistent and accurate. Key points: - Additions: New streams or columns will be created in the destination and populated as new data arrives. No clear/reset is required just for additions, unless you want to backfill historical data for new columns. - Subtractions: If streams or columns are removed, the data in the destination will stop updating for those, but the historical data will remain unless you perform a clear. If you clear or refresh, the removed streams/columns and their data will be deleted from the destination. - Schema Change Handling: Airbyte allows you to clear data for all streams or just the affected ones. You do not need to clear everything unless the schema change affects all streams. You can clear only the streams with schema changes (additions or subtractions) to minimize data loss and sync time. - Incremental Syncs: If you clear a stream, you will need to re-sync it to backfill data. Be cautious: if your source does not retain all historical data, clearing can lead to data loss for those records no longer available in the source. Recommended steps: 1. Use the Airbyte UI to clear only the affected streams (not all streams). 2. After clearing, trigger a sync to reload data for those streams. 3. If you want to backfill new columns, use the "Backfill new or renamed columns" option or manually trigger a refresh. Note: Clearing is irreversible—once you clear data, it cannot be recovered unless you have backups. Also, clearing causes data downtime for the affected streams until the next sync completes. For more details, see the official documentation on clearing data and schema change management: - [Clearing your data](https://docs.airbyte.com/platform/operator-guides/clear) - [Schema change management](https://docs.airbyte.com/platform/using-airbyte/schema-change-management) If you only want to clear specific streams, Airbyte supports this directly in the UI by selecting the stream and choosing "Clear data" for that stream only. This is especially useful for incremental syncs and large datasets, as it avoids unnecessary data loss and sync time for unaffected streams [Clearing your data](https://docs.airbyte.com/platform/operator-guides/clear).