Re: Converting from single user w/pool to multiple users

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: Converting from single user w/pool to multiple users
Дата
Msg-id 27387.1111681454@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: Converting from single user w/pool to multiple users  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-general
I wrote:
> There's no hard limit.  Offhand the only thing I can think of that might
> be a bit slow is password lookup during connection --- I think that does
> a linear scan through a list of usernames.  This is only an issue if you
> use passwords of course, but I suppose you probably would.  (It would
> likely not be hard to improve the search algorithm, if it did become
> a bottleneck.)

BTW, I take that back --- it already is a binary search, so there
shouldn't be any problem with thousands of users.  Still, I like
your idea of continuing to pool the connections better.  Backend
startup is a bit expensive.

            regards, tom lane

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

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: Converting from single user w/pool to multiple users
Следующее
От: fabrizio ravazzini
Дата:
Сообщение: Pgsql 8.0 on Win32 Production env.