Hello, I have been testing Airbyte on an EC2 inst...
# replication-troubleshooting
l
Hello, I have been testing Airbyte on an EC2 instance to CDC changes from an Aurora Postgres to Snowflake. (38 tables in total - Incremental | Deduped + history) The first runs are always successful but after the first run something weird happens: • Airbyte is unable to find the new records for several runs - I know there are new records. The job stales for 20 minutes (I set this timeout manually) trying to find the WAL resume position.
Copy code
Searching for WAL resume position
No records were returned by Debezium in the timeout seconds 1200, closing the engine and iterator
• Some synch jobs are able to find the the resume position but then it takes more than 5 hours to just load 11K records. HAve you seen this before? I have tried different configs but I never get an acceptable performance
n
Hi, Leandro! I have not seen this before. Could you please attach a complete log file?
🙏 1
l
I think I found the root cause for this. The size of the Logs in Aurora Storage were huge and the job was not able to find the WAL resume position even with 20 minutes timeout. I just dropped the replication slot and restarted fresh and the jobs are able to find the WAL resume position. I have a question though: • Does the number of tables affects the performance of the synch jobs? ◦ We have 2 jobs: ▪︎ First job: CDC 1 table and more than 100K records every 15 minutest and the jobs takes around 5 minutes ▪︎ Second job: CDC 38 tables and less than 3K records every 15 minutest and the jobs takes around 60 minutes Set up is the same as above: • Source: Aurora Postgres • Destination: Snowflake
n
No, the number of tables does not affect the performance of the sync jobs. However, the number of records in a table may affect the performance of the sync jobs. Airbyte recommends splitting the sync transactions as much as possible, and setting a limit for the maximum parallel jobs that run on the pod. You can do this by increasing the number of replicas for the
airbyte-worker
deployment, and setting the value to
TEMPORAL_WORKER_PORTS
,
MAX_SPEC_WORKERS
,
MAX_CHECK_WORKERS
,
MAX_DISCOVER_WORKERS
, and
MAX_SYNC_WORKERS
variables in the worker pod deployment. Let me know if this helps!
🙏 1