I'm on Airbyte version 1.8.2, the connections page...
# ask-ai
j
I'm on Airbyte version 1.8.2, the connections page is taking so long to load every connections. Is there any tuning or configuration to make this page list connections faster?
k
If your Airbyte connections page is slow to load on version 1.8.2, here are some relevant points and suggestions based on the available knowledge sources: 1. Pagination Improvements: Starting from Airbyte 1.8, pagination was added to the Connections, Sources, and Destinations pages to improve UI performance, especially for workspaces with many connections. This should automatically help with performance as you scroll, loading data incrementally rather than all at once. If you are not seeing this improvement, ensure your deployment is fully upgraded and the UI is not cached or stale. Also, note that some visual/content differences may occur due to this change [Airbyte 1.8 Release Notes](https://docs.airbyte.com/release_notes/v-1.8). 2. Resource Allocation: Performance issues can sometimes be related to insufficient CPU or memory. Check your server/container resource usage (CPU, RAM) and consider increasing them if they are maxed out. There have been reports of memory leaks in previous versions, but upgrading to the latest version (which you are on) should help, as recent versions optimize database queries and reduce memory footprint [Long loading time](https://discuss.airbyte.io/t/2536). 3. Database Performance: If your Airbyte instance is self-hosted, ensure that the Airbyte database is running on a performant, external instance rather than within the same Docker/Kubernetes environment, as this can help with query performance, especially with many connections [Airbyte taking too much resources and Time](https://discuss.airbyte.io/t/995). 4. Known Issues: There have been issues in the past where connections disappeared or were not displayed due to frontend bugs or filtering issues. If you suspect this, check the Airbyte GitHub issues for your version and see if there are any open issues related to the UI or connection listing [[1.8.0 - Server frontend service] - Some connections are no more displayed in the frontend](https://github.com/airbytehq/airbyte/issues/65131). 5. API Pagination: The Airbyte API for listing connections supports pagination (limit and offset parameters). If you are using the API directly or have custom integrations, ensure you are paginating results to avoid loading all connections at once [Airbyte Public API - Connections](https://raw.githubusercontent.com/airbytehq/airbyte-platform/f284238f0099c4c0a3542d4c42a88773c45c363d/airbyte-api/src/main/openapi/api.yaml). Summary of Actions: - Make sure you are on the latest 1.8.x patch and clear your browser cache. - Monitor and, if needed, increase server/container resources. - Ensure your Airbyte database is performant and, if possible, external. - Use pagination in the UI and API. - If the problem persists, check for open issues or report your experience to the Airbyte team. If you have already tried these steps and the page is still slow, there may be a specific bug or performance bottleneck in your environment. In that case, providing logs and more details to the Airbyte community or support team would be the next best step.
j
it seems the problem is when the connections has musch events to load @kapa.ai
k
A message from kapa.ai
You are correct—having a large number of events (such as sync attempts or job history) associated with each connection can significantly slow down the loading of the connections page. This is a known issue in large-scale Airbyte deployments. The root cause is often the unbounded growth of the Temporal "attempts" table, which stores sync/job history. As this table grows (sometimes to hundreds of GBs), API calls to list connections can become very slow or even time out. Customers have reported that after manually pruning this table, performance improves dramatically. Currently, there is no built-in configuration to automatically limit or prune the number of events/history per connection, but there is an open feature request to add a configurable retention period and automated cleanup for this data. Until such a feature is released, the only workaround is manual pruning of the Temporal "attempts" table in your Airbyte database [Improve Temporal History Retention and Cleanup for Large-Scale Deployments](https://github.com/airbytehq/airbyte/discussions/62951). Summary: - The slowness is likely due to a large number of sync/job events per connection. - There is no official automated cleanup yet, but it is a known issue and a feature request exists. - Manual database cleanup of old job history can help restore performance. If this is a critical blocker, you may want to follow or contribute to the ongoing discussion and feature request for automated retention and cleanup.
j
@kapa.ai can you help me prune the temporal table to improve the performance of this endpoint? Or is there any page or guide? How do do this?
k
A message from kapa.ai
There is no official Airbyte documentation or step-by-step guide in the provided knowledge sources that details how to manually prune the Temporal tables (such as the attempts or history tables) to improve performance. However, several discussions and issues confirm that this is a common problem and that manual pruning is sometimes performed by users to restore performance. Key points from the sources: - The variable
TEMPORAL_HISTORY_RETENTION_IN_DAYS
can be set to control how long Temporal keeps history, but there are reports that this does not always work as expected, and some users still see large tables even after setting it [Auto delete job history logs after specific period](https://github.com/airbytehq/airbyte/issues/39358), [Quickly run out of storage](https://discuss.airbyte.io/t/2417), [Purging of old syncs from Airbyte databases](https://github.com/airbytehq/airbyte/discussions/55233). - There is no built-in Airbyte feature (as of now) to automatically prune the jobs or attempts tables in the Airbyte or Temporal databases. Users have requested this feature, and it is under discussion [Improve Temporal History Retention and Cleanup for Large-Scale Deployments](https://github.com/airbytehq/airbyte/discussions/62951), [Remove jobs (and attempts) older than X days](https://github.com/airbytehq/airbyte/issues/21137). - Some users have manually deleted rows from the database tables (such as attempts and jobs) to reduce size and improve performance, but there is no official, safe procedure published by Airbyte. Manual deletion should be done with caution and only if you are comfortable with SQL and understand the database schema, as it may have side effects. Summary: - There is no official guide or page from Airbyte on how to safely prune the Temporal tables. - You can try setting the
TEMPORAL_HISTORY_RETENTION_IN_DAYS
environment variable, but results may vary. - Manual pruning is possible but not officially documented or supported—proceed with caution and consider backing up your database first. If you need to proceed, you may want to consult with your database administrator or reach out to Airbyte support for more tailored guidance. If you are on Airbyte Cloud, you should contact Airbyte Support directly for assistance. If you would like to follow community discussions or request this feature, you can monitor or contribute to these threads: - [Purging of old syncs from Airbyte databases](https://github.com/airbytehq/airbyte/discussions/55233) - [Improve Temporal History Retention and Cleanup for Large-Scale Deployments](https://github.com/airbytehq/airbyte/discussions/62951) - [Auto delete job history logs after specific period](https://github.com/airbytehq/airbyte/issues/39358) I'm sorry I can't provide a step-by-step SQL script or official guide, as it is not available in the current knowledge sources.
j
@kapa.ai can you provide a query on how to prune airbyte and temporal tables?
k
A message from kapa.ai
I'm sorry, but the knowledge sources do not provide an official or recommended SQL query for pruning the Airbyte or Temporal tables. While several discussions confirm that users have manually deleted rows from tables like
attempts
,
jobs
, and Temporal's history tables to reduce database size and improve performance, there is no documented, safe procedure or example query provided by Airbyte in the available documentation or community threads. The only guidance mentioned is to set the
TEMPORAL_HISTORY_RETENTION_IN_DAYS
environment variable to control retention, but users have reported inconsistent results with this approach, and no direct SQL examples are given [Purging of old syncs from Airbyte databases](https://github.com/airbytehq/airbyte/discussions/55233), [Auto delete job history logs after specific period](https://github.com/airbytehq/airbyte/issues/39358), [Improve Temporal History Retention and Cleanup for Large-Scale Deployments](https://github.com/airbytehq/airbyte/discussions/62951). Summary: There is no official or example SQL query for pruning Airbyte or Temporal tables in the knowledge sources. Manual deletion is possible but not documented or officially supported—proceed with caution and consider backing up your database first.
j
@kapa.ai is it possible to disable the load of events, in the connection page, to avoid this problem of having many events to load?
k
A message from kapa.ai
I'm sorry, but the knowledge sources do not mention any configuration or setting that allows you to disable the loading of events in the Airbyte connection page. The documentation describes how the Connection Timeline displays historical events and provides filtering options, but there is no reference to an option to turn off or limit event loading to improve performance in cases where there are many events [Connection timeline](https://docs.airbyte.com/platform/cloud/managing-airbyte-cloud/review-connection-timeline). If this is a critical issue, you may want to follow ongoing discussions or feature requests related to performance improvements and event retention, but as of now, disabling event loading is not supported according to the available documentation.
j
@kapa.ai is it safe to prune old records from the attempts table?
k
A message from kapa.ai
The knowledge sources do not provide an official statement or documentation from Airbyte regarding the safety of manually pruning (deleting) old records from the
attempts
table. While there are community discussions and feature requests about the need for automated cleanup and the impact of large
attempts
tables on performance, there is no explicit guidance or guarantee from Airbyte about the consequences of manual deletion [Improve Temporal History Retention and Cleanup for Large-Scale Deployments](https://github.com/airbytehq/airbyte/discussions/62951) [Purging of old syncs from Airbyte databases](https://github.com/airbytehq/airbyte/discussions/55233). Therefore, based on the available information, it is unclear whether it is completely safe to prune old records from the
attempts
table, and doing so may have unintended side effects. If you decide to proceed, it is strongly recommended to back up your database first and test thoroughly in a non-production environment.
j
@kapa.ai it's possible to configure the pagination for the connections page?
k
A message from kapa.ai
Based on the available knowledge sources, there is no information about a user-configurable pagination setting specifically for the Airbyte connections page in the UI. The documentation describes how pagination is implemented for API integrations and connector development, allowing you to configure pagination when building connectors or using the API, but it does not mention any option to configure or customize pagination for the connections listing page in the Airbyte user interface [Pagination in Connector Builder](https://docs.airbyte.com/platform/next/connector-development/connector-builder-ui/pagination). If you are experiencing performance issues with the connections page, these are likely due to internal pagination mechanisms that are not exposed for user configuration. There is no documented way to adjust the page size or pagination behavior for the connections page itself.