Re: Connections - Postgres 9.2 - Mailing list pgsql-general

From Venkata Balaji N
Subject Re: Connections - Postgres 9.2
Date
Msg-id CAEyp7J-TJWyMKX_3ZEGzSX+cfq+mORnDOiADQyQw0Q=6sAKGDw@mail.gmail.com
Whole thread Raw
In response to Re: Connections - Postgres 9.2  (Lucas Possamai <drum.lucas@gmail.com>)
Responses Re: Connections - Postgres 9.2
List pgsql-general

On Tue, May 17, 2016 at 6:28 AM, Lucas Possamai <drum.lucas@gmail.com> wrote:
hmm.. thanks for all the answers guys...


One more question: Those IDLE connections.. are using the server's resources?
To solve that problem I would need a Pool connection, right?

Would the pool connection solve that IDLE connections? But more important than that, are the IDLE connections using the machine's resources ?

Yes. There is no straight way to terminate the IDLE connections from the database end. You would need a connection pooler like pgBouncer which can help you terminate IDLE connections after a certain time.

It would be much better if your Application can terminate connections to the database.

Regards,
Venkata B N

Fujitsu Australia

pgsql-general by date:

Previous
From: Adrian Klaver
Date:
Subject: Re: Connections - Postgres 9.2
Next
From: John R Pierce
Date:
Subject: Re: Connections - Postgres 9.2