Re: Pooling with npgsql does not seem to work

Поиск
Список
Период
Сортировка
От Raul Kaubi
Тема Re: Pooling with npgsql does not seem to work
Дата
Msg-id CAO_+3-DavFaeOKWbcoWKf7wAg9823yh0dBL3VbhFNmE5g0z=qw@mail.gmail.com
обсуждение исходный текст
Ответ на Re: Pooling with npgsql does not seem to work  ("David G. Johnston" <david.g.johnston@gmail.com>)
Список pgsql-admin
Kontakt David G. Johnston (<david.g.johnston@gmail.com>) kirjutas kuupäeval K, 14. oktoober 2020 kell 20:07:
On Wed, Oct 14, 2020 at 8:49 AM Raul Kaubi <raulkaubi@gmail.com> wrote:
Actually, I tried both settings
MinPoolSize
Minimum Pool Size

Same for max.
Seems like both are supported. In addition to that, when I deliberately made typo there, the application just won’t start at all.

So seems like these both are fine, since application does indeed start with these, just I do not see theses 17 processes anywhere..

The npgsql project has its own support channels, this question doesn't meet the point of this mailing list nor the PostgreSQL server lists generally, but I was curious and took a look around their documentation (not helpful) and code.  I don't see where the driver, upon initial connection with a pool, forces open a number of connections equal to the minimum specified.  The minimum behaves such that once exceeded the number of open connections will then not decrease below that number.  It doesn't proactively open connections to obtain the minimum - not an unreasonable choice.

David J.


Oh, yeah, it makes sense - this looks like is working as intended then.
Thanks.

Raul

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

Предыдущее
От: "David G. Johnston"
Дата:
Сообщение: Re: pgbouncer installation example (Step by step)
Следующее
От: Thomas SIMON
Дата:
Сообщение: Re: Weird behavior with unique constraint not respected, and random results on same queries