Re: Selecting RAM and CPU based on max_connections

Поиск
Список
Период
Сортировка
От Andreas Kretschmer
Тема Re: Selecting RAM and CPU based on max_connections
Дата
Msg-id B6D783EC-C01A-41D2-BF6E-896A8273D7DD@a-kretschmer.de
обсуждение исходный текст
Ответ на Selecting RAM and CPU based on max_connections  (aditya desai <admad123@gmail.com>)
Ответы Re: Selecting RAM and CPU based on max_connections  (Laurenz Albe <laurenz.albe@cybertec.at>)
Список pgsql-performance
On 20 May 2022 10:27:50 CEST, aditya desai <admad123@gmail.com> wrote:
>Hi,
>One of our applications needs 3000 max_connections to the database.
>Connection pooler like pgbouncer or pgpool is not certified within the
>organization yet. So they are looking for setting up high configuration
>Hardware with CPU and Memory. Can someone advise how much memory and CPU
>they will need if they want max_conenction value=3000.
>
>Regards,
>Aditya.

Pgbouncer would be the best solution. CPU: number of concurrent connections. RAM: shared_buffer + max_connections *
work_mem+ maintenance_mem + operating system + ... 



--
2ndQuadrant - The PostgreSQL Support Company



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

Предыдущее
От: aditya desai
Дата:
Сообщение: Selecting RAM and CPU based on max_connections
Следующее
От: Laurenz Albe
Дата:
Сообщение: Re: Selecting RAM and CPU based on max_connections