pg.ddx.io  pgsql-performance@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Jonah H. Harris <jonah.harris@gmail.com>
To: Shiva Sarna <shivasarna@yahoo.co.in>
Cc: pgsql-performance@postgresql.org
Subject: Re: increasing database connections
Date: Thu, 1 Mar 2007 00:49:14 -0500
Message-ID: <36e682920702282149y3529b175ob5814e3f957aec15@mail.gmail.com> (raw)
In-Reply-To: <20070301051859.65918.qmail@web7714.mail.in.yahoo.com>
References: <20070301051859.65918.qmail@web7714.mail.in.yahoo.com>

On 3/1/07, Shiva Sarna <shivasarna@yahoo.co.in> wrote:
> I am sorry if it is a repeat question but I want to know if database
> performance will decrease if I increase the max-connections to 2000. At
> present it is 100.

Most certainly.  Adding connections over 200 will degrade performance
dramatically.  You should look into pgpool or connection pooling from
the application.

-- 
Jonah H. Harris, Software Architect | phone: 732.331.1324
EnterpriseDB Corporation            | fax: 732.331.1301
33 Wood Ave S, 3rd Floor            | jharris@enterprisedb.com
Iselin, New Jersey 08830            | http://www.enterprisedb.com/



view thread (8+ messages)  latest in thread

Message-ID: <36e682920702282149y3529b175ob5814e3f957aec15@mail.gmail.com>
Permalink:  ../36e682920702282149y3529b175ob5814e3f957aec15@mail.gmail.com/
Also on:    postgresql.org/message-id/36e682920702282149y3529b175ob5814e3f957aec15@mail.gmail.com

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-performance@postgresql.org
  Cc: jonah.harris@gmail.com, shivasarna@yahoo.co.in
  Subject: Re: increasing database connections
  In-Reply-To: <36e682920702282149y3529b175ob5814e3f957aec15@mail.gmail.com>
  References: <20070301051859.65918.qmail@web7714.mail.in.yahoo.com> <36e682920702282149y3529b175ob5814e3f957aec15@mail.gmail.com>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox