<@U04S8PLJWMT> are there any data limits to synchi...
# ask-ai
a
@kapa.ai are there any data limits to synching between MSSql, MySql and Postgres databases?
k
Yes, there are several data limits and considerations when syncing between MSSQL, MySQL, and Postgres databases using Airbyte: ### General Airbyte Cloud Limits - Max number of streams per connection: 1,000 - Max number of fields per connection: 20,000 - Max size of a single record: 20MB (may be lower depending on the destination, e.g., MongoDB is 16MB) - Max number of instances of the same source connector: 10 - These limits are specific to Airbyte Cloud and may differ for self-managed deployments. Some limits do not apply to Airbyte Teams customers. For more details, see the [Airbyte Cloud limits documentation](https://docs.airbyte.com/platform/cloud/managing-airbyte-cloud/understand-airbyte-cloud-limits). ### Postgres as a Destination - Recommended for small data volumes: Postgres is not recommended as a destination for large data volumes (e.g., over 10GB). For larger volumes, a data warehouse like BigQuery, Snowflake, or Redshift is recommended. - Performance issues: Postgres may perform poorly with large writes or updates over ~100GB, and scaling IOPS is as important as increasing memory and compute. - Temporary storage: The Airbyte Postgres destination requires access to the
/tmp
file system for bulk loading. Lack of access will cause sync failures. - Column and table name length limits: Highly nested or flattened sources may cause name collisions due to Postgres' 63-byte name limit, resulting in errors if truncated names collide[Postgres destination troubleshooting](https://docs.airbyte.com/integrations/destinations/postgres/postgres-troubleshooting#connector-limitations). ### MySQL Source Limitations - Supported versions: MySQL 8.4, 8.0, 5.7, or 5.6. - CDC requirements: Tables must have a primary key for incremental sync with CDC. Some managed MySQL services (e.g., Digital Ocean) may clear binary logs, affecting CDC. - Batch size: Airbyte typically queries in batches of 500K records, but some providers (e.g., PlanetScale) may limit this to 100K[MySQL troubleshooting](https://docs.airbyte.com/integrations/sources/mysql/mysql-troubleshooting#troubleshooting-mysql-sources). ### Postgres Source Limitations - Supported versions: Postgres v9.3+ for non-CDC, v10+ for CDC. - Incremental sync: Only supported for tables with primary keys. - CDC disk usage: Logical replication increases disk usage; frequent syncs are recommended to avoid filling up disk space. - Hot standby: Syncing from a hot standby may be interrupted by updates from the primary server unless specific settings are adjusted. - Temporary file size: Large tables may hit the `temp_file_limit`—increase this setting if you encounter errors[Postgres source troubleshooting](https://docs.airbyte.com/integrations/sources/postgres/postgres-troubleshooting#connector-limitations). ### MSSQL Source Limitations - The knowledge sources do not provide explicit data volume or record size limits for MSSQL, but similar considerations around primary keys, CDC, and large data volumes likely apply. ### Large Data Syncs - Airbyte does not currently support setting a row limit for syncs, but there are open feature requests for this. Large syncs can be problematic, especially if they are not broken into smaller batches, as this increases the risk of failure and resource contention[Github Issue: Break long and large data syncs](https://github.com/airbytehq/airbyte/issues/13783). In summary: While there are no hard-coded maximums for total data volume (other than those listed above), practical limits are imposed by connector capabilities, database performance, and infrastructure resources. For very large data volumes, consider using a data warehouse as the destination and ensure your source and destination databases are properly configured for high-throughput, long-running syncs.