<@U04S8PLJWMT> I have been using a Self-Managed Co...
# ask-ai
s
@kapa.ai I have been using a Self-Managed Community version Airbyte Platform v1.7.1 in the GKE cluster, deployed using helm chart. I created a connection between a source connector (PostgreSQL) to the sink connector (BigQuery). Source DB has around 150 GiB data. What is the DB limit to replicate the initial load data from PostgreSQL?
k
Based on the available knowledge sources, there is no explicit hard limit documented for the amount of data that can be replicated from a PostgreSQL source using Airbyte in a self-managed deployment. Airbyte is designed to handle large tables and databases, and specifically recommends using Change Data Capture (CDC) with logical replication for large databases (especially those over 500 GB), as this method is more efficient for initial and ongoing syncs of large datasets. For databases smaller than 500 GB, the xmin replication method is also an option, though it may be less efficient for very large tables due to full table scans and other limitations [Cloud SQL for PostgreSQL Quick Start](https://docs.airbyte.com/integrations/sources/postgres/cloud-sql-postgres#quick-start), [Advanced: Setup using CDC](https://docs.airbyte.com/integrations/sources/postgres/cloud-sql-postgres#advanced-setup-using-cdc), [Low-Latency Data Availability Stack](https://airbyte.com/tutorials/low-latency-data-availability-stack). In practice, users have reported successful initial syncs with tables and databases in the hundreds of gigabytes range, but also encountered issues (such as out-of-memory errors or snapshot/WAL retention problems) when syncing very large tables (hundreds of GBs to TBs). These issues are typically related to resource constraints (memory, disk, network) or database configuration, rather than a strict Airbyte-imposed limit [Scaling Airbyte](https://docs.airbyte.com/platform/1.7/operator-guides/scaling-airbyte#what-to-scale), [Forum: Initial load of huge table fails](https://discuss.airbyte.io/t/3694), [Forum: Source-psql hitting oom](https://discuss.airbyte.io/t/1715). Key considerations for large initial loads: - Ensure your GKE cluster and Airbyte pods have sufficient memory and disk resources, as the source worker reads up to 10,000 records in memory at a time. - For large tables (>500 GB), CDC/logical replication is recommended for efficiency and reliability. - There is no documented hard limit for initial sync size, but operational issues may arise with very large datasets if resources are insufficient or database settings (e.g., WAL retention, temp file limits) are not tuned. - Airbyte supports checkpointing, so failed syncs can resume from the last successful state, which is helpful for large data loads [Cloud SQL for PostgreSQL](https://docs.airbyte.com/integrations/sources/postgres/cloud-sql-postgres). In summary: There is no explicit database size limit for initial load replication from PostgreSQL in Airbyte. Successful replication of 150 GiB should be feasible with proper resource allocation and configuration. For much larger datasets, additional tuning and monitoring may be required, but Airbyte is designed to handle large-scale syncs using CDC/logical replication. If you encounter specific errors or performance issues, reviewing Airbyte and PostgreSQL logs and scaling your resources accordingly is recommended.