Todd Matthews
10/28/2025, 8:45 PMkapa.ai
10/28/2025, 8:45 PM/employees/{id}/details). The cached data is written to disk when the read_records method is called, and subsequent requests read from this cache instead of making new HTTP requests. [HTTP-API-based Connectors](https://docs.airbyte.com/platform/connector-development/cdk-python/http-streams#nested-streams--caching) ## For PyAirbyte When using PyAirbyte (the Python library for Airbyte), data is cached in a local database. By default, PyAirbyte uses DuckDB as the cache, but it also supports other SQL caches like PostgreSQL and BigQuery. The cache stores extracted data temporarily before it's processed or loaded to a destination. [Leverage PyAirbyte with this demo](https://airbyte.com/tutorials/leverage-pyairbyte-with-this-demo) ## For Local File Destinations When using local file-based destinations (CSV or JSON), Airbyte writes data to the /local/ directory in the container, which is mounted from /tmp/airbyte_local on the host machine by default. [Browsing logs](https://docs.airbyte.com/platform/operator-guides/browsing-output-logs#csv-or-json-local-destinations-check-local-data-folder) ## For Failed Syncs During sync operations, temporary data is stored in **`_airbyte_tmp_*` tables** in the destination database. These tables are normally deleted after a successful sync, but may remain if a sync fails. [Source S3 - Failed attempts using up data space](https://discuss.airbyte.io/t/2067)Todd Matthews
10/28/2025, 9:12 PMkapa.ai
10/28/2025, 9:13 PMkapa.ai
10/28/2025, 9:13 PMTodd Matthews
10/28/2025, 9:15 PMkapa.ai
10/28/2025, 9:15 PMkapa.ai
10/28/2025, 9:16 PMio.airbyte.commons.server.errors.ConflictException This was resolved by upgrading from docker image 1.3.1 to 1.5.1 (for bootloader, server, webapp, worker). ["Cannot cast to boolean" and "Failed to access database" DB errors + HTTP 409 error](https://github.com/airbytehq/airbyte/issues/54150) ### Temporal Context Deadline Issues Another user experienced issues after replacing their database, where the Temporal pod was highly sensitive to delays and timeouts when interacting with the database. The solution was to: > "After recreating everything from scratch (again) but using an RDS instance in the same region as my EKS cluster, everything started working properly." The key insight was that network latency between the database and Airbyte components can cause context deadline exceeded errors. [Airbyte Temporal context deadline exceeded on eks](https://github.com/airbytehq/airbyte/issues/59730) ### Terraform-Specific Issues For Terraform API errors, there have been reports of 500 errors with NullPointerException when creating connections, though these were related to connector schema issues rather than database replacement. [Problem with creating a connector through terraform: error 500](https://github.com/airbytehq/airbyte/issues/44094) ## Recommended Steps 1. Check database connectivity - Ensure your new database is accessible from all Airbyte components 2. Verify network latency - If using a cloud database, ensure it's in the same region as your Airbyte deployment 3. Check server logs - Look for specific database connection errors or migration issues 4. Consider version compatibility - Ensure your Airbyte version is compatible with your database version 5. Allow time for initialization - After database replacement, Airbyte needs to run migrations and initialize properly Unfortunately, the knowledge sources don't contain specific information about the exact error you're experiencing with Terraform after database replacement. For more targeted assistance, you'll need to share the specific error message from your Terraform logs.