Rod Taylor <pg(at)rbt(dot)ca> writes:
> The kernel also starts to play a significant role with a high number of
> connections. Some operating systems don't perform as well with a high
> number of processes (process handling, scheduling, file handles, etc.).
Right; the main problem with having lots more backends than you need is
that the idle ones still eat their share of RAM and open file handles.
A connection pooler uses relatively few resources per idle connection,
so it's a much better impedance match if you want to service lots of
connections that are mostly idle.
regards, tom lane
In response to
pgsql-performance by date
|Next:||From: John Allgood||Date: 2005-02-23 19:15:52|
|Subject: Re: Peformance Tuning Opterons/ Hard Disk Layout|
|Previous:||From: Tom Lane||Date: 2005-02-23 18:37:28|
|Subject: Re: Peformance Tuning Opterons/ Hard Disk Layout |