Received: from localhost (maia-3.hub.org [200.46.204.184]) by postgresql.org (Postfix) with ESMTP id ABB5B9FB433 for ; Thu, 1 Mar 2007 01:49:22 -0400 (AST) Received: from postgresql.org ([200.46.204.71]) by localhost (mx1.hub.org [200.46.204.184]) (amavisd-new, port 10024) with ESMTP id 47520-04 for ; Thu, 1 Mar 2007 01:48:55 -0400 (AST) X-Greylist: domain auto-whitelisted by SQLgrey-1.7.4 Received: from nz-out-0506.google.com (nz-out-0506.google.com [64.233.162.227]) by postgresql.org (Postfix) with ESMTP id 033E29FB432 for ; Thu, 1 Mar 2007 01:49:18 -0400 (AST) Received: by nz-out-0506.google.com with SMTP id r28so399326nza for ; Wed, 28 Feb 2007 21:49:18 -0800 (PST) DKIM-Signature: a=rsa-sha1; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=JPDNICYs5q01oJpNLbgQOzDbtJ9gK5/UY0WU8uFaeSK+x6ggkAWoxN/teWJb/jLxkq9AuDhQMPPtJSOW1siIQhum4tGX1YjSpKBwz9px14Ur2ntZuksLhr6VTJMkRDnBGit8FdNY11E88XVJn+3wbuHMWfNj3WhxS8/arQWQ3tY= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=cowE90xAiqQX7VGGhlgOnU45g/jkGnDrcPjgMINT4rFQBNdi+1dFisV2sdmr++PYQmNl54OPWIsVKvxx49Uz1LbPBvbNhQLrBwbG4uIYP9WPIGpjKv46EeyScQt62Zg1nfAz0w/IaUWlleumgGvpIAzB0DCJwz1HZAfLD/RFJaU= Received: by 10.115.55.1 with SMTP id h1mr192288wak.1172728154588; Wed, 28 Feb 2007 21:49:14 -0800 (PST) Received: by 10.114.183.2 with HTTP; Wed, 28 Feb 2007 21:49:14 -0800 (PST) Message-ID: <36e682920702282149y3529b175ob5814e3f957aec15@mail.gmail.com> Date: Thu, 1 Mar 2007 00:49:14 -0500 From: "Jonah H. Harris" To: "Shiva Sarna" Subject: Re: increasing database connections Cc: pgsql-performance@postgresql.org In-Reply-To: <20070301051859.65918.qmail@web7714.mail.in.yahoo.com> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <20070301051859.65918.qmail@web7714.mail.in.yahoo.com> X-Virus-Scanned: Maia Mailguard 1.0.1 X-Archive-Number: 200703/2 X-Sequence-Number: 23407 On 3/1/07, Shiva Sarna 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/