Hello, I have a source database sql server, and de...
# replication-troubleshooting
t
Hello, I have a source database sql server, and destination Postgresql, because of the version, the source does not support CDC, the replication mode I am using Incremental Sync - Deduped History, when executing the first sync it takes a while, but if I make only one change in the table, and redo the sync, it takes the same time, I understand that it is normal, because it will read the entire table. If I enable CDC on the source, will the second sync be much faster, or will it have the same behavior?, as using Incremental Sync - Deduped History.
j
Judging by the logs, can you assure the same time is being taken for the dedup process in both runs? Anyway the incremental process should be faster.
t
That, by the sync execution time, gave a difference of less than 1 minute, between the first sync and the second.
u
Hello Thiago, maybe the time consuming process can be the normalization one which will recreate the tables.
t
Ok, but if I run it without any changes to the source, it also takes time. Could it be that with the CDC active at the source, there will be a performance gain?
m
Can you share the logs?
Using CDC will help to capture soft updates, shouldn’t be to different from incremental + dedup though
t
Hello, indeed, in a test I did, it took 3 minutes to read in the source, and 6 minutes in normalization. Read over 70,000 lines.