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

From John R Pierce
Subject Re: PostgreSQL run as process in windows
Date
Msg-id 50E50349.1040507@hogranch.com
Whole thread Raw
In response to Re: PostgreSQL run as process in windows  (Craig Ringer <craig@2ndQuadrant.com>)
Responses Re: PostgreSQL run as process in windows
Re: PostgreSQL run as process in windows
List pgsql-general
On 1/2/2013 7:45 PM, Craig Ringer wrote:
> 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.

2nd and 3rd the emotion.


of course, a pooler only works right if the client applications are
modified to open a connection, do a transaction, and close the
connection.  if the clients continue to hold idle connections, the
pooler won't do anything useful for you.

typically a database server get the best overall throughput if you limit
the number of concurrent queries to maybe 2-4 times the CPU core count,
give or take how fast your storage IO is and how many pending IO
operations can be in the pipe.






pgsql-general by date:

Previous
From: Craig Ringer
Date:
Subject: Re: PostgreSQL run as process in windows
Next
From: tuanhoanganh
Date:
Subject: Re: PostgreSQL run as process in windows