Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1VwqbK-0002QG-96 for pgsql-performance@arkaria.postgresql.org; Sat, 28 Dec 2013 09:54:35 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.80) (envelope-from ) id 1VwqbJ-0002Mq-Ab for pgsql-performance@arkaria.postgresql.org; Sat, 28 Dec 2013 09:54:33 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1VwqbH-0002Mh-5L for pgsql-performance@postgresql.org; Sat, 28 Dec 2013 09:54:31 +0000 Received: from [2404:130:0:10::40:2] (helo=mail.catalyst.net.nz) by magus.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1Vwqb7-0001g6-U3 for pgsql-performance@postgresql.org; Sat, 28 Dec 2013 09:54:29 +0000 Received: from localhost (localhost [127.0.0.1]) by mail.catalyst.net.nz (Postfix) with ESMTP id 4337732BAC; Sat, 28 Dec 2013 22:54:15 +1300 (NZDT) X-Virus-Scanned: Debian amavisd-new at catalyst.net.nz Received: from mail.catalyst.net.nz ([127.0.0.1]) by localhost (bertrand.catalyst.net.nz [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id LnlPz6pMsDFC; Sat, 28 Dec 2013 22:54:14 +1300 (NZDT) Received: from [192.168.1.64] (122-60-64-230.jetstream.xtra.co.nz [122.60.64.230]) (Authenticated sender: mark.kirkwood) by mail.catalyst.net.nz (Postfix) with ESMTPSA id A673632629; Sat, 28 Dec 2013 22:54:14 +1300 (NZDT) Message-ID: <52BE9FC6.4060105@catalyst.net.nz> Date: Sat, 28 Dec 2013 22:54:14 +1300 From: Mark Kirkwood User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:24.0) Gecko/20100101 Thunderbird/24.2.0 MIME-Version: 1.0 To: ankush upadhyay , pgsql-performance@postgresql.org Subject: Re: Are there some additional postgres tuning to improve performance in multi tenant system References: In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Host-Lookup-Failed: Reverse DNS lookup failed for 2404:130:0:10::40:2 (failed) X-Pg-Spam-Score: -1.1 (-) 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 28/12/13 18:19, 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? > It is a bit tricky to tell without any relevant information (e.g schema description). But a likely culprit would be a missing index on the relevant 'tenant_id' type field in each table that you are using to distinguish the various tenant datasets. Regards Mark -- Sent via pgsql-performance mailing list (pgsql-performance@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-performance