Connection Life Time
Posted: Mon 09 Dec 2019 17:42
Hi...
I have a special scenario where I have to open 100+ different DB connections sequentially. This causes issues with the max connection limit (default: 100) of the PostgreSQL server. Of course, I could increment this limit to let's say 200, but it's only a question of time when I have to open 200+ connections in that special use case.
Anything I can do to force the release/closing of a connection explicitly? THX IA, Ekki
I have a special scenario where I have to open 100+ different DB connections sequentially. This causes issues with the max connection limit (default: 100) of the PostgreSQL server. Of course, I could increment this limit to let's say 200, but it's only a question of time when I have to open 200+ connections in that special use case.
Anything I can do to force the release/closing of a connection explicitly? THX IA, Ekki