Syed Hamza Raza Kazmi
09/19/2025, 6:02 AMkapa.ai
09/19/2025, 6:03 AMSQL_MAX_IDLE_CONNS have not always been effective. Some users have also tried using connection poolers like PgBouncer, but encountered compatibility issues due to Airbyte's use of prepared statements and other connection behaviors. In some cases, updating Airbyte to a newer version has resolved the issue, but it remains a concern for some deployments, especially at scale or when using external databases like AWS RDS or Cloud SQL for Airbyte's metadata storage [Airbyte opens too many connections in my external database](https://github.com/airbytehq/airbyte/discussions/48342) [Airbyte Internal Database connections are not closed](https://discuss.airbyte.io/t/1953) [Scaling Airbyte Instances with PGBouncer - Connection Issues](https://github.com/airbytehq/airbyte/issues/44447). If you are experiencing this issue, consider: - Updating Airbyte to the latest version, as some connection management bugs have been fixed in recent releases. - Monitoring and tuning your database's connection limits. - Reviewing Airbyte's configuration for connection pooling and idle connection settings, though their effectiveness may vary. - If using connection poolers like PgBouncer, be aware of potential compatibility issues with Airbyte and Temporal. If the problem persists, you may need to restart Airbyte or the database as a temporary workaround, and follow ongoing discussions and issues for updates from the Airbyte team.Syed Hamza Raza Kazmi
09/19/2025, 6:24 AMkapa.ai
09/19/2025, 6:24 AMkapa.ai
09/19/2025, 6:24 AMpg_stat_activity, which showed many idle connections for each Airbyte instance. Attempts to limit these idle connections using settings like SQL_MAX_IDLE_CONNS did not always resolve the issue, and the problem persisted even when using connection poolers like PgBouncer in transaction mode, due to compatibility issues with prepared statements [Scaling Airbyte Instances with PGBouncer - Connection Issues](https://github.com/airbytehq/airbyte/issues/44447). So, to directly answer your question: the open connections are mostly idle, not active.