Jhonatas Kleinkauff
09/29/2025, 7:16 PMkapa.ai
09/29/2025, 7:16 PM/connections/list endpoint is still extremely slow on Airbyte 1.8.2, there are a few key areas to investigate and potential actions to improve performance, based on the available knowledge sources: 1. Pagination Support Airbyte 1.8 introduced pagination in the UI for connections, sources, and destinations, which should help with performance when you have many connections. However, the API itself also supports pagination parameters (limit and offset) on the /connections endpoint. If you are not already using these, try limiting the number of connections returned per request to reduce payload size and response time: http GET /connections?limit=20&offset=0 This can significantly improve response times, especially in large workspaces. The default limit is 20, and you can set it up to 100 per request [Airbyte Public API - Connections](https://raw.githubusercontent.com/airbytehq/airbyte-platform/f284238f0099c4c0a3542d4c42a88773c45c363d/airbyte-api/src/main/openapi/api.yaml). 2. Database and Temporal Table Size Large-scale deployments can suffer from slow API responses if the Temporal "attempts" table grows too large. This table can accumulate hundreds of GBs of data, leading to slow /web_backend/connections/list responses or even timeouts. Manually pruning this table (removing old sync history) has been shown to restore normal API latency. There is currently no built-in automated cleanup, but this is a known issue and a feature request exists for configurable retention and cleanup [[Feature Request] - Improve Temporal History Retention and Cleanup for Large-Scale Deployments](https://github.com/airbytehq/airbyte/discussions/62951). 3. Resource Allocation Ensure your Airbyte deployment has sufficient CPU and memory resources. Performance can degrade if the server is under-provisioned, especially with many connections or frequent syncs. Upgrading to higher-performance CPUs and increasing memory allocation can help [Integrations: Faster sync speed](https://docs.airbyte.com/integrations/speed-improvements). 4. Restarting Services If you suspect a memory leak or resource exhaustion (as was previously reported), restarting the airbyte-server and airbyte-worker containers may temporarily alleviate slowness, though this is not a permanent fix [Long loading time](https://discuss.airbyte.io/t/2536). 5. Upgrade Airbyte If you are not on the latest patch of 1.8.x, consider upgrading. Each release may include performance improvements and bug fixes related to API responsiveness [Release notes v1.8](https://docs.airbyte.com/release_notes/v-1.8). Summary: - Use pagination on the /connections endpoint. - Prune the Temporal "attempts" table if it has grown very large. - Ensure your deployment has adequate resources. - Restart services if you suspect memory/resource issues. - Stay up to date with Airbyte releases for ongoing performance improvements. If you have already tried all of the above and the endpoint is still slow, the root cause may be related to the size of your Temporal tables or a specific performance bottleneck in your environment. In that case, manual database maintenance and/or reaching out to Airbyte support for deeper investigation may be necessary.