Re: PostgreSQL run as process in windows

Поиск
Список
Период
Сортировка
От Craig Ringer
Тема Re: PostgreSQL run as process in windows
Дата
Msg-id 50E4FEEF.90200@2ndQuadrant.com
обсуждение исходный текст
Ответ на PostgreSQL run as process in windows  (tuanhoanganh <hatuan05@gmail.com>)
Ответы Re: PostgreSQL run as process in windows  (John R Pierce <pierce@hogranch.com>)
Re: PostgreSQL run as process in windows  (tuanhoanganh <hatuan05@gmail.com>)
Список pgsql-general
On 01/03/2013 10:40 AM, tuanhoanganh wrote:
> Hello all.
> I have more than 500 users connect to Postgres in windows 2008 R2. I
> change registry make postgres service support 512 connect. But is
> there any good way make postgres run as process not service. Is it
> safe run postgres as process in windows.

Running PostgreSQL directly via pg_ctl, not as a service, will not
change how it performs under load at all. It will not help you service
more than 500 concurrent connections.

You really need to put a connection pool in place to limit the number of
concurrent workers. Look at PgBouncer or PgPool-II. As far as I know
neither of them runs on Windows; you might want to think about a Linux
box as a front-end.

--
 Craig Ringer                   http://www.2ndQuadrant.com/
 PostgreSQL Development, 24x7 Support, Training & Services



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

Предыдущее
От: John R Pierce
Дата:
Сообщение: Re: PostgreSQL run as process in windows
Следующее
От: John R Pierce
Дата:
Сообщение: Re: PostgreSQL run as process in windows