Re: pgbouncer best practices

Поиск
Список
Период
Сортировка
От Ben Chobot
Тема Re: pgbouncer best practices
Дата
Msg-id d3b0685f-5e6c-5f1f-2379-3947a6cc2e0a@silentmedia.com
обсуждение исходный текст
Ответ на pgbouncer best practices  (Rita <rmorgan466@gmail.com>)
Ответы Re: pgbouncer best practices
Список pgsql-general
Rita wrote on 7/7/23 9:23 AM:
I have an  application that does many db calls  from a server farm. I've increased my max connections on postgresql to 1000 and tuned the server accordingly. However, I still get can't connect to postgresql some times. I installed pgbouncer on few servers in the farm. I pointed the traffic to pgbouncer and things helped dramatically. My question are: is there a ratio of max connections and pool i should use in my pgbouncer config?

Does your application allow for transaction pooling? pgBouncer can unlock a lot more efficiency if you can cycle server slots on transaction boundaries.

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

Предыдущее
От: Rita
Дата:
Сообщение: pgbouncer best practices
Следующее
От: Gurjeet Singh
Дата:
Сообщение: Re: pgbouncer best practices