Re: increasing database connections

From: "Joshua D(dot) Drake" <jd(at)commandprompt(dot)com>
To: "Jonah H(dot) Harris" <jonah(dot)harris(at)gmail(dot)com>
Cc: Shiva Sarna <shivasarna(at)yahoo(dot)co(dot)in>, pgsql-performance(at)postgresql(dot)org
Subject: Re: increasing database connections
Date: 2007-03-01 06:18:18
Message-ID: 45E6702A.5060602@commandprompt.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-performance

Jonah H. Harris wrote:
> On 3/1/07, Shiva Sarna <shivasarna(at)yahoo(dot)co(dot)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.

huh? That is certainly not my experience. I have systems that show no
depreciable performance hit on even 1000+ connections. To be fair to the
discussion, these are on systems with 4+ cores. Usually 8+ and
significant ram 16/32 gig fo ram.

Sincerely,

Joshua D. Drake

>

--

=== The PostgreSQL Company: Command Prompt, Inc. ===
Sales/Support: +1.503.667.4564 || 24x7/Emergency: +1.800.492.2240
Providing the most comprehensive PostgreSQL solutions since 1997
http://www.commandprompt.com/

Donate to the PostgreSQL Project: http://www.postgresql.org/about/donate
PostgreSQL Replication: http://www.commandprompt.com/products/

In response to

Responses

Browse pgsql-performance by date

  From Date Subject
Next Message Mark Kirkwood 2007-03-01 07:07:06 Re: increasing database connections
Previous Message Jonah H. Harris 2007-03-01 05:49:14 Re: increasing database connections