Re: Monitoring number of backends

From: Stephen Frost <sfrost(at)snowman(dot)net>
To: andy <andy(at)squeakycode(dot)net>
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: Monitoring number of backends
Date: 2013-10-22 17:59:37
Message-ID: 20131022175937.GA2706@tamriel.snowman.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Andy,

* andy (andy(at)squeakycode(dot)net) wrote:
> My website is about to get a little more popular. I'm trying to add
> in some measurements to determine an upper limit of how many
> concurrent database connections I'm currently using.

PG is really *much* happier if you have only one backend per CPU in your
system. The way to get there is by using a connection pooler like
pg_bouncer and configuring it based on how many CPUs you have.

pg_bouncer can also provide stats for you.

Thanks,

Stephen

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message andy 2013-10-22 18:25:03 Re: Monitoring number of backends
Previous Message andy 2013-10-22 17:41:58 Monitoring number of backends