Re: PostgreSQL run as process in windows - Mailing list pgsql-general

From Craig Ringer
Subject Re: PostgreSQL run as process in windows
Date
Msg-id 50E4FEEF.90200@2ndQuadrant.com
Whole thread Raw
In response to PostgreSQL run as process in windows  (tuanhoanganh <hatuan05@gmail.com>)
Responses Re: PostgreSQL run as process in windows
Re: PostgreSQL run as process in windows
List 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 by date:

Previous
From: John R Pierce
Date:
Subject: Re: PostgreSQL run as process in windows
Next
From: John R Pierce
Date:
Subject: Re: PostgreSQL run as process in windows