<@U04S8PLJWMT> I am still having issues syncing fr...
# ask-ai
l
@kapa.ai I am still having issues syncing from mysql source to BQ destination, I have opted for
Replicate Source
in the Connections setup on the OSS UI, but the sync never seems to complete, I am wondering if the previous version
1.5.1
used the other method:
Append Historical Changes
(Append new rows and updates only) which was able to sync OK?
k
Based on the information in the knowledge sources, syncing from a MySQL source to a BigQuery destination can encounter issues depending on the sync mode and connector versions used. - The "Replicate Source" option in Airbyte typically refers to a mode that attempts to mirror the source table in the destination, often using a combination of incremental sync and deduplication (such as "Incremental Append + Deduped"). This mode can be resource-intensive, especially for large datasets, and may not complete if there are performance bottlenecks or configuration issues. There are reports of syncs never completing or timing out, particularly with large tables or when using older connector versions or insufficient resources. For example, one user reported that syncing 8 million rows from MySQL to BigQuery in deduped+history mode never started writing to BigQuery and eventually failed with a deadline exceeded error. The recommendation was to use GCS staging and increase chunk size, but even then, issues persisted for large tables. Upgrading connectors and checking resource usage was also suggested, but no definitive solution was provided in the thread for this specific scenario [Destination Bigquery sync process never starts](https://discuss.airbyte.io/t/298). - The "Append Historical Changes" mode (sometimes called "Incremental Append" or "Incremental Append + Deduped") is designed to append only new or updated rows, and optionally deduplicate them. Some users have reported that this mode works better for their use case, especially when using CDC (Change Data Capture) with MySQL. However, there are also reports of issues with CDC and cursor selection, where Airbyte fails to properly track changes and re-syncs all data, behaving like a full refresh instead of incremental [BigQuery Destination using incremental append](https://discuss.airbyte.io/t/2127). - There is no explicit documentation in the knowledge sources confirming that version 1.5.1 used a different default sync mode or that it would have worked better for your scenario. However, there are user reports suggesting that certain sync modes (like "Append+Deduped") were more reliable in some setups, while others (like "Append-only") encountered deserialization errors or data loss, especially with large datasets and CDC [source-mysql sync failure](https://github.com/airbytehq/airbyte/issues/53614), [CDC MySQL Source: Append-only syncs fail](https://github.com/airbytehq/airbyte/issues/50856). Summary: If your sync never completes with "Replicate Source," it may be due to the volume of data, connector version, or resource constraints. Some users have found "Append Historical Changes" (Incremental Append or Incremental Append + Deduped) to be more reliable, but this is not guaranteed and may depend on your specific setup and data volume. Upgrading connectors, using GCS staging, increasing chunk size, and monitoring resource usage are recommended troubleshooting steps. There is no clear evidence in the knowledge sources that version 1.5.1 used a fundamentally different method that would guarantee success, but user experiences do suggest that sync mode and connector version can impact reliability. If you continue to experience issues, consider sharing detailed logs and your connector versions for more targeted troubleshooting, as suggested in the forum threads.
l
@kapa.ai I am using the most recent version of airbyte 1.7.1 and the most recent version of BQ destination and Mysql source plugins, I am also already using GCS for staging to BQ
k
A message from kapa.ai
Thank you for clarifying your setup: you are using Airbyte 1.7.1, the latest BigQuery destination and MySQL source connectors, and GCS staging for BigQuery. Based on the knowledge sources, there are several known issues and troubleshooting steps relevant to your scenario: - Large Syncs and GCS Staging: For large data syncs, using GCS staging is recommended. However, even with GCS staging, users have reported that syncs can hang or never complete, especially with large tables or when using certain sync modes. Adjusting the chunk size (e.g., increasing it to 10MB or more) has been suggested, but this does not always resolve the issue. Some users also reported that files were not appearing in the GCS bucket even though the connector had access, indicating possible issues with the sync workflow or configuration [Destination Bigquery sync process never starts](https://discuss.airbyte.io/t/298). - Sync Mode Impact: There are reports that switching from incremental to full-refresh mode allowed the sync to complete, suggesting that the combination of incremental mode with MySQL source and BigQuery destination (via GCS) can be problematic in some cases. The issue seems to be related to how Airbyte handles incremental syncs and CDC with MySQL, especially when using GCS staging as the loading method [Destination Bigquery sync process never starts](https://discuss.airbyte.io/t/298). - Connector Versions: Upgrading both source and destination connectors to the latest versions is recommended. However, even with the latest versions, some users still encounter issues with syncs not completing. There is no explicit confirmation in the knowledge sources that the most recent versions resolve all such issues. - Debugging Steps: - Check your sync logs and server logs for errors related to schema validation, file writing, or memory usage. - Monitor the running containers' memory consumption during the sync. - Try syncing a single small table to isolate whether the issue is data volume or configuration-related. - If possible, test with different sync modes (e.g., full-refresh vs. incremental) to see if one completes successfully. - Known Issues: There are also known issues with certain data types (e.g., CSV files containing ASCII 0 characters) causing sync failures with the BigQuery destination when using GCS staging [BigQuery GCS staging ASCII 0 issue](https://github.com/airbytehq/airbyte/issues/62134). Summary: Even with the latest Airbyte version and connectors, and using GCS staging, there are still open issues with MySQL to BigQuery syncs not completing, especially in incremental mode. The knowledge sources do not provide a definitive solution for this scenario. If you have already tried the recommended troubleshooting steps and the issue persists, you may need to provide detailed logs to the Airbyte team for further investigation. If you have specific error messages or logs, sharing them could help identify the root cause more precisely.