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
Marcos Marx (Airbyte)
02/24/2023, 5:39 PM
The deduped table is the cleaned table with the final data. What is the problem with that one?
h
Hai Huynh
03/01/2023, 5:04 AM
@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
user
03/03/2023, 9:23 AM
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
Hai Huynh
03/06/2023, 7:28 AM
@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
Marcos Marx (Airbyte)
03/13/2023, 1:21 PM
The problem with the cleaning up is you can generate the final table with wrong or missing data.