Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1VwuLK-0002Ah-Mn for pgsql-performance@arkaria.postgresql.org; Sat, 28 Dec 2013 13:54:18 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.80) (envelope-from ) id 1VwuLK-0004lp-0f for pgsql-performance@arkaria.postgresql.org; Sat, 28 Dec 2013 13:54:18 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1VwuLI-0004li-Sn for pgsql-performance@postgresql.org; Sat, 28 Dec 2013 13:54:16 +0000 Received: from relay4-d.mail.gandi.net ([2001:4b98:c:538::196]) by magus.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1VwuLC-0005qZ-29 for pgsql-performance@postgresql.org; Sat, 28 Dec 2013 13:54:16 +0000 Received: from mfilter1-d.gandi.net (mfilter1-d.gandi.net [217.70.178.130]) by relay4-d.mail.gandi.net (Postfix) with ESMTP id 86493172080; Sat, 28 Dec 2013 14:54:07 +0100 (CET) X-Virus-Scanned: Debian amavisd-new at mfilter1-d.gandi.net Received: from relay4-d.mail.gandi.net ([217.70.183.196]) by mfilter1-d.gandi.net (mfilter1-d.gandi.net [10.0.15.180]) (amavisd-new, port 10024) with ESMTP id 1mzvJxw-Mphk; Sat, 28 Dec 2013 14:54:05 +0100 (CET) X-Originating-IP: 98.27.58.255 Received: from [192.168.10.146] (cpe-098-027-058-255.nc.res.rr.com [98.27.58.255]) (Authenticated sender: adsend@dunslane.net) by relay4-d.mail.gandi.net (Postfix) with ESMTPSA id 50F6C172067; Sat, 28 Dec 2013 14:54:05 +0100 (CET) Message-ID: <52BED7FB.6020602@dunslane.net> Date: Sat, 28 Dec 2013 08:54:03 -0500 From: Andrew Dunstan User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/20130110 Thunderbird/17.0.2 MIME-Version: 1.0 To: ankush upadhyay CC: pgsql-performance@postgresql.org Subject: Re: Are there some additional postgres tuning to improve performance in multi tenant system References: <52BED007.2050304@dunslane.net> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Pg-Spam-Score: -1.9 (-) List-Archive: List-Help: List-ID: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: X-Mailing-List: pgsql-performance Precedence: bulk Sender: pgsql-performance-owner@postgresql.org On 12/28/2013 08:46 AM, ankush upadhyay wrote: > On Sat, Dec 28, 2013 at 6:50 PM, Andrew Dunstan > wrote: > > > On 12/28/2013 12:19 AM, ankush upadhyay wrote: > > Hello All, > > I am using multi tenant system and doing performance testing > of multi tenant application. In case of single tenant it is > working fine but once I enable tenants, then some time > database servers not responding. Any clue? > > > > > > I usually use the term "multi-tenancy" to refer to different > postgres instances running on the same machine, rather than > different databases within a single instance of postgres. So lease > describe your setup in more detail. > > cheers > > andrew > > > > First of all Thanks Andrew for let me know email etiquette and > extremely sorry for confusion. > > Here I meant to say that different postgres instances running on the > same machine. > > Actually I have one application machine and one database server > machine with multiple postgres instances running on it and accessing > by application server. > > I hope this time I could explain it in more details. > > Why are you doing that, as opposed to running multiple databases in a single instance? Running more than a handful of instances in a single machine is almost always a recipe for poor performance. The vast majority of users in my experience run a single postgres instance per machine, possibly with a large number of databases. cheers andrew -- Sent via pgsql-performance mailing list (pgsql-performance@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-performance