Hi every one! I have 1 issue. I am using postgres ...
# replication-troubleshooting
h
Hi every one! I have 1 issue. I am using postgres with incremental dedup mode and normalize and now i want to clean up data. My postgres database containing 4 tables that are: stg, _airbyte_raw_, scd and table deduped My ask is: how can table need clean up? My preference document: https://docs.airbyte.com/understanding-airbyte/connections/incremental-deduped-history#overview Thanks!
m
The deduped table is the cleaned table with the final data. What is the problem with that one?
h
@Marcos Marx (Airbyte) Sorry i want to wipe data from tables as: _scd, _stg, because thats tables are containing historical data which i dont need. So i want to wipe data, i dont know what’s happend after wiped all record on table _scd and _stg
u
Those tables are used to generate the incremental updates. If you delete them Airbyte will need to recreate and can cause more costs to your database.
h
@Marcos Marx (Airbyte) daily, I have 1,5 milions record. if i dont delete, the time sync will increase x1.5 or x2. And now i am cleaning up them by new script, it’s make me hard to manage pipeline.
m
The problem with the cleaning up is you can generate the final table with wrong or missing data.