Re: Server crash... trying to figure it out

Поиск
Список
Период
Сортировка
От Kevin Grittner
Тема Re: Server crash... trying to figure it out
Дата
Msg-id 4DE4F380020000250003DF20@gw.wicourts.gov
обсуждение исходный текст
Ответ на Re: Server crash... trying to figure it out  (Wells Oliver <woliver@padres.com>)
Список pgsql-admin
Wells Oliver <woliver@padres.com> wrote:

> Do you have any recommendations on a pg connection pooler?

If the software you're using includes a connection pool, that is
often the best choice; if not (or it doesn't work well) both pgpool
and pgbouncer have their followings.

In my view the most important things are that the pool have a hard
upper limit on the number of database connections, that it is aware
of database transactions, and that when all connections are busy it
will queue a request to start a new transaction until one of the
existing transactions completes.  A good pooler, configured to the
right size (which is usually at or close to the number of actual
cores on the machine, times two), will improve both throughput and
response time under load.

-Kevin

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

Предыдущее
От: Wells Oliver
Дата:
Сообщение: Re: Server crash... trying to figure it out
Следующее
От: Jenish
Дата:
Сообщение: Strange behavior of child table.