Re: Big number of connections

From: Moreno Andreo <moreno(dot)andreo(at)evolu-s(dot)it>
To: pgsql-performance(at)postgresql(dot)org
Subject: Re: Big number of connections
Date: 2016-04-04 14:43:07
Message-ID: 57027D7B.1040301@evolu-s.it
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-performance

Il 04/04/2016 15:33, Pavel Stehule ha scritto:
>
>
> PostgreSQL doesn't contain integrated pooler - so any connection to
> Postgres enforces one PostgreSQL proces. A performance benchmarks is
> showing maximum performance about 10x cores. With high number of
> connections you have to use low size of work_mem, what enforces can
> have negative impact on performance too. Too high number of active
> PostgreSQL processes increase a risk of performance problems with spin
> locks, etc.

:-O
I wasn't absolutely aware of this thing... is there a way to monitor
active connections, or at least to report when they grow too much?
(say, I have an 8-core system and want to track down if, and when,
active connections grow over 80)

Thanks
Moreno.-

In response to

Responses

Browse pgsql-performance by date

  From Date Subject
Next Message Artem Tomyuk 2016-04-04 14:54:46 Re: Big number of connections
Previous Message Pavel Stehule 2016-04-04 13:33:32 Re: Big number of connections