Received: from maia.hub.org (maia-2.hub.org [200.46.204.251]) by mail.postgresql.org (Postfix) with ESMTP id 3A87562E706 for ; Fri, 23 Jul 2010 12:55:58 -0300 (ADT) Received: from mail.postgresql.org ([200.46.204.86]) by maia.hub.org (mx1.hub.org [200.46.204.251]) (amavisd-maia, port 10024) with ESMTP id 99410-06 for ; Fri, 23 Jul 2010 15:55:50 +0000 (UTC) X-Greylist: domain auto-whitelisted by SQLgrey-1.7.6 Received: from mail-pz0-f46.google.com (mail-pz0-f46.google.com [209.85.210.46]) by mail.postgresql.org (Postfix) with ESMTP id 8AA1E62DBEC for ; Fri, 23 Jul 2010 12:55:50 -0300 (ADT) Received: by pzk26 with SMTP id 26so128830pzk.19 for ; Fri, 23 Jul 2010 08:55:49 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to:cc :subject:references:mime-version:content-type:content-disposition :in-reply-to:user-agent; bh=etChvRoOQjTnM3ST4zckuS4WLEAS07qD65PErgzDips=; b=G8XdIbU3AJuELj1epXHDwRq4qo4OJE1mmhOcXtcewQ2JLgxcH0mIuBXs9Y9gRKUmNk Ls1CktPvPxSHPt0uSrzpFwTYLh+zeF8P8WE6POjwsbfVhoArn5aJfEmhXHfIVoMbDtCI T0dQQOsShystgiNlB0D687jgS6d0lmcbu8vc4= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:cc:subject:references:mime-version :content-type:content-disposition:in-reply-to:user-agent; b=K0ko30R++jh3MvmDMpB5PBvScadrvGG2qaWJP2kGIoHKMAhIDNEkG4EU/TtvHGt8pf RKYzf4JIAx0CJHr0JJM0y5j/lGOpVzu4J7Kw53tLb7RjS/ngtsOdduXqYkDqn9aVLQXu bvQRQuu8XYHOT81me8v/P/SwFl9AzBdrcngmw= Received: by 10.114.106.13 with SMTP id e13mr5612985wac.153.1279900548674; Fri, 23 Jul 2010 08:55:48 -0700 (PDT) Received: from eddie (c-76-23-17-20.hsd1.ut.comcast.net [76.23.17.20]) by mx.google.com with ESMTPS id k23sm620440waf.5.2010.07.23.08.55.44 (version=TLSv1/SSLv3 cipher=RC4-MD5); Fri, 23 Jul 2010 08:55:45 -0700 (PDT) Message-ID: <4c49bb81.17bb720a.42c2.1de8@mx.google.com> Date: Fri, 23 Jul 2010 09:55:35 -0600 From: Joshua Tolley To: Scott Carey Cc: Robert Haas , Craig Ringer , Matthew Wakeling , "pgsql-performance@postgresql.org" Subject: Re: Pooling in Core WAS: Need help in performance tuning. References: <4C37791C0200002500033379@gw.wicourts.gov> <4C37CBFB.1000800@agliodbs.com> <4C37EA1D.6000008@postnewspapers.com.au> <4C38BF03.6060503@agliodbs.com> <19244.1278787866@sss.pgh.pa.us> <4C3AF564.5030204@postnewspapers.com.au> <82DAA0BC-52E8-4279-81DF-14373755A42F@richrelevance.com> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="UExESr5xZTMxdOWv" Content-Disposition: inline In-Reply-To: <82DAA0BC-52E8-4279-81DF-14373755A42F@richrelevance.com> User-Agent: Mutt/1.5.18 (2008-05-17) X-Virus-Scanned: Maia Mailguard 1.0.1 X-Spam-Status: No, hits=-1.9 tagged_above=-10 required=5 tests=BAYES_00=-1.9, RCVD_IN_DNSWL_NONE=-0.0001 X-Spam-Level: X-Archive-Number: 201007/336 X-Sequence-Number: 39725 --UExESr5xZTMxdOWv Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Thu, Jul 22, 2010 at 02:44:04PM -0700, Scott Carey wrote: > On Jul 22, 2010, at 11:36 AM, Robert Haas wrote: > > On Mon, Jul 12, 2010 at 6:58 AM, Craig Ringer > > wrote: > >> So rather than asking "should core have a connection pool" perhaps > >> what's needed is to ask "what can an in-core pool do that an external > >> pool cannot do?" > >=20 > > Avoid sending every connection through an extra hop. > >=20 >=20 > Dynamically adjust settings based on resource usage of the DB. >=20 Relatively minor, but it would be convenient to avoid having to query $external_pooler to determine the client_addr of an incoming connection. -- Joshua Tolley / eggyknap End Point Corporation http://www.endpoint.com --UExESr5xZTMxdOWv Content-Type: application/pgp-signature; name="signature.asc" Content-Description: Digital signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.9 (GNU/Linux) iEYEARECAAYFAkxJu3cACgkQRiRfCGf1UMPNzQCfetoZ7SwRULD3xJ2iERQdRqYm NnwAn3LfYtK/YsHOHNzDcqR519hnTDKo =Xx/n -----END PGP SIGNATURE----- --UExESr5xZTMxdOWv--