Received: from maia.hub.org (maia-5.hub.org [200.46.204.29]) by mail.postgresql.org (Postfix) with ESMTP id 5B409133798E for ; Thu, 7 Apr 2011 19:04:05 -0300 (ADT) Received: from mail.postgresql.org ([200.46.204.86]) by maia.hub.org (mx1.hub.org [200.46.204.29]) (amavisd-maia, port 10024) with ESMTP id 90559-04 for ; Thu, 7 Apr 2011 22:03:56 +0000 (UTC) X-Greylist: from auto-whitelisted by SQLgrey-1.7.6 Received: from out02.mta.xmission.com (out02.mta.xmission.com [166.70.13.232]) by mail.postgresql.org (Postfix) with ESMTP id 907361337BD3 for ; Thu, 7 Apr 2011 19:03:54 -0300 (ADT) Received: from in02.mta.xmission.com ([166.70.13.52]) by out02.mta.xmission.com with esmtps (TLSv1:AES256-SHA:256) (Exim 4.69) (envelope-from ) id 1Q7xIu-0007EX-DP; Thu, 07 Apr 2011 16:03:52 -0600 Received: from [208.187.158.94] (helo=[172.16.1.234]) by in02.mta.xmission.com with esmtpsa (TLSv1:AES256-SHA:256) (Exim 4.69) (envelope-from ) id 1Q7xIs-0003Cw-SK; Thu, 07 Apr 2011 16:03:52 -0600 Message-ID: <4D9E34BF.6010602@gmail.com> Date: Thu, 07 Apr 2011 16:03:43 -0600 From: Rob Sargent User-Agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.2.14) Gecko/20110221 SUSE/3.1.8 Lightning/1.0b2 Thunderbird/3.1.8 MIME-Version: 1.0 To: pgsql-general@postgresql.org References: <1302208932097-4289407.post@n5.nabble.com> <4D9E30A7.9030101@hogranch.com> In-Reply-To: <4D9E30A7.9030101@hogranch.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-XM-SPF: eid=; ; ; mid=; ; ; hst=in02.mta.xmission.com; ; ; ip=208.187.158.94; ; ; frm=robjsargent@gmail.com; ; ; spf=neutral X-XM-AID: U2FsdGVkX19O36BtOqFcqWSlA/KoMTP/9365H9yrF50= X-SA-Exim-Connect-IP: 208.187.158.94 X-SA-Exim-Mail-From: robjsargent@gmail.com X-Spam-DCC: XMission; sa02 1397; Body=1 Fuz1=1 Fuz2=1 X-Spam-Combo: ;pgsql-general@postgresql.org X-Spam-Relay-Country: Subject: Re: PostgreSQL backend process high memory usage issue X-SA-Exim-Version: 4.2.1 (built Fri, 06 Aug 2010 16:31:04 -0600) X-SA-Exim-Scanned: Yes (on in02.mta.xmission.com) X-Virus-Scanned: Maia Mailguard 1.0.1 X-Spam-Status: No, hits=-1.889 tagged_above=-5 required=5 tests=BAYES_00=-1.9, FREEMAIL_FROM=0.001, T_TO_NO_BRKTS_FREEMAIL=0.01 X-Spam-Level: X-Archive-Number: 201104/287 X-Sequence-Number: 174643 On 04/07/2011 03:46 PM, John R Pierce wrote: > On 04/07/11 1:42 PM, Shianmiin wrote: >> Since the connection pool will be used by all tenants, eventually each >> connection will hit all the tables/views. > > > don't all connections in a given pool have to use the same user > credentials? won't that be problematic for this architecture? > > > typically one munges the connection to set an effective user inside the connection established by "common" credentials