Connection Pooling Error

Hello Helical Team,

I am using dynamic DB switching. For the same, I am using Groovy Plain JDBC data source. The connection id for the same is 12 and it is in /hi/hi-repository/dynamicSwitch directory.
When many users are using multiple dashboards, I am getting an error saying “ConnectionException: Too many connections” . How can I resolve this?

Thank You

1 Like

Hello Linapag,

Temporarily the problem can be fixed by increasing the maximum number of connections from database side based on the number of users using that connection.
reference :

This is not the optimal solution and in our next release, this issue will be fixed. Solution for this is a managed connection, but as of now managed connection doesn’t support Dynamic DB Switching.


Thank You
Team Helical