Zeev Shteiman
03/15/2026, 10:29 AMkapa.ai
03/15/2026, 10:29 AMfetchSize parameter is dynamically adjusted, but this alone does not produce order-of-magnitude improvements. [Sync performance] [Postgres performance]
⢠Increasing container memory (JOB_MAIN_CONTAINER_MEMORY_REQUEST) does not directly improve sync speed. [Postgres performance]
⢠For tables with billions of rows and limited CDC log retention (e.g., 3 days of binlogs), there is currently no fully supported native solution to skip the initial load and start CDC from a specific point, though this has been requested as a feature. [MySQL huge tables]
In summary, the most practical approach today is to split large syncs into multiple connections per table and leverage CDC with checkpointing to avoid re-syncing data from scratch in case of failures. š 0 button š 0 button ā¹ļø Tip: Mention @kapa.ai in the thread for follow-ups or DM the app for 1-to-1 help.Zeev Shteiman
03/15/2026, 10:31 AMkapa.ai
03/15/2026, 10:32 AMMongoExecutionTimeoutException, while a 14 million row collection synced successfully. This suggests MongoDB can indeed struggle with very large collections during initial sync. [MongoDB timeout] CDC-Specific Issue: Incremental Sync Stuck at 101 Records A known bug exists where CDC incremental syncs repeatedly load only 101 records due to Debezium timing out on subsequent batches (the timeout is halved after the first batch). The fix is to increase initial_waiting_seconds (e.g., from 300 to 1200 seconds). [GitHub issue] Oplog Retention Risk For very large initial syncs, the import duration might exceed the Oplog retention period, which would invalidate the CDC resume token and require a full re-import. It's recommended to configure the Oplog to retain at least 24 hours (ideally a week) of changes. [MongoDB troubleshooting] 16MB Document Size Limit During CDC syncs, large documents can trigger a BSONObjectTooLarge error due to MongoDB's 16MB BSON document limit. Switching to Full Refresh or Lookup mode can help. [MongoDB troubleshooting] In summary, MongoDB shares the timeout and large-collection challenges, but also has additional CDC-specific risks around Oplog retention and document size limits. The practical mitigations are: increase initial_load_timeout_hours, increase initial_waiting_seconds, and ensure your Oplog is sized appropriately. š 0 button š 0 button ā¹ļø Tip: Mention @kapa.ai in the thread for follow-ups or DM the app for 1-to-1 help.Zeev Shteiman
03/15/2026, 10:42 AMkapa.ai
03/15/2026, 10:42 AMZeev Shteiman
03/15/2026, 10:59 AMkapa.ai
03/15/2026, 10:59 AMZeev Shteiman
03/15/2026, 11:01 AMkapa.ai
03/15/2026, 11:01 AM