Re: Big number of connections

Поиск
Список
Период
Сортировка
От Igor Neyman
Тема Re: Big number of connections
Дата
Msg-id DM2PR07MB557C8C149398C16068654A2DA990@DM2PR07MB557.namprd07.prod.outlook.com
обсуждение исходный текст
Ответ на Big number of connections  (Jarek <jarek@poczta.srv.pl>)
Ответы Re: Big number of connections  (Andrew Dunstan <andrew@dunslane.net>)
Re: Big number of connections  (jarek <jarek@poczta.srv.pl>)
Список pgsql-performance
-----Original Message-----
From: pgsql-performance-owner@postgresql.org [mailto:pgsql-performance-owner@postgresql.org] On Behalf Of Jarek
Sent: Thursday, March 31, 2016 3:08 PM
To: pgsql-performance@postgresql.org
Subject: [PERFORM] Big number of connections

Hello!

    We are going to build system based on PostgreSQL database for huge number of individual users (few thousands). Each
userwill have his own account, for authorization we will use Kerberos (MIT or Windows). 
 
Most of users will have low activity, but for various reasons, connection should be open all the time.
I'd like to know what potential problems and limitations we can expect with such deployment.
    During preliminary testing we have found that for each connection we need ~1MB RAM. Is there any way to decrease
this? Is there any risk, that such number of users will degrade performance ?
 
    I'll be happy to hear any remarks and suggestions related to design, administration and handling of such
installation.

best regards
Jarek

_______________________________________________________________________________

Take a look at PgBouncer.
It should solve your problems.

Regards,
Igor Neyman

В списке pgsql-performance по дате отправления:

Предыдущее
От: Jarek
Дата:
Сообщение: Big number of connections
Следующее
От: Andrew Dunstan
Дата:
Сообщение: Re: Big number of connections