X-Original-To: pgsql-performance-postgresql.org@localhost.postgresql.org Received: from localhost (unknown [200.46.204.144]) by svr1.postgresql.org (Postfix) with ESMTP id D2E7B52840 for ; Tue, 24 May 2005 21:38:18 -0300 (ADT) Received: from svr1.postgresql.org ([200.46.204.71]) by localhost (av.hub.org [200.46.204.144]) (amavisd-new, port 10024) with ESMTP id 26086-10 for ; Wed, 25 May 2005 00:38:09 +0000 (GMT) Received: from server07.icaen.uiowa.edu (server07.icaen.uiowa.edu [128.255.17.47]) by svr1.postgresql.org (Postfix) with ESMTP id 73EE85283F for ; Tue, 24 May 2005 21:38:08 -0300 (ADT) Received: from server11.icaen.uiowa.edu (server11.icaen.uiowa.edu [128.255.17.51]) by server07.icaen.uiowa.edu (8.13.3/8.12.9) with ESMTP id j4P0cAPX020880; (envelope-from ) Tue, 24 May 2005 19:38:11 -0500 (CDT) Received: from [192.168.1.11] (12-215-118-172.client.mchsi.com [12.215.118.172]) (authenticated user=jfmeinel) by server11.icaen.uiowa.edu (8.13.2/smtp-serv-1.7) with ESMTP id j4P0c9Vw022007 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256); (envelope-from ) Tue, 24 May 2005 19:38:10 -0500 (CDT) Message-ID: <4293C8F0.7000909@arbash-meinel.com> Date: Tue, 24 May 2005 19:38:08 -0500 From: John A Meinel User-Agent: Mozilla Thunderbird 1.0.2 (Windows/20050317) X-Accept-Language: en-us, en MIME-Version: 1.0 To: Michael Stone Cc: pgsql-performance@postgresql.org Subject: Re: Select performance vs. mssql References: <20050524191328.58243.qmail@web53110.mail.yahoo.com> <200505241635.14558.josh@agliodbs.com> <20050525002039.GA27519@mathom.us> In-Reply-To: <20050525002039.GA27519@mathom.us> X-Enigmail-Version: 0.91.0.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="------------enig76FB9CDF9426CE71A3EBE91F" X-Virus-Scanned: ClamAV version 0.83, clamav-milter version 0.83 on clamav.icaen.uiowa.edu X-Virus-Scanned: ClamAV version 0.83, clamav-milter version 0.83 on clamav.icaen.uiowa.edu X-Virus-Status: Clean X-Virus-Scanned: by amavisd-new at hub.org X-Spam-Status: No, hits=0 tagged_above=0 required=5 tests= X-Spam-Level: X-Archive-Number: 200505/375 X-Sequence-Number: 12539 This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --------------enig76FB9CDF9426CE71A3EBE91F Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Michael Stone wrote: > On Tue, May 24, 2005 at 04:35:14PM -0700, Josh Berkus wrote: > >> Pretty much. There has been discussion about allowing index-only >> access to "frozen" tables, i.e. archive partitions. But it all sort >> of hinges on someone implementing it and testing .... > > > Is there any way to expose the planner estimate? For some purposes it's > enough to just give a rough ballpark (e.g., a google-esque "results 1-10 > of approximately 10000000") so a user knows whether its worth even > starting to page through. > > Mike Stone > > ---------------------------(end of broadcast)--------------------------- > TIP 4: Don't 'kill -9' the postmaster Well, you could always do: EXPLAIN SELECT ... And then parse out the rows= in the first line. John =:-> --------------enig76FB9CDF9426CE71A3EBE91F Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.0 (Cygwin) Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org iD8DBQFCk8jwJdeBCYSNAAMRAt3BAKDVHzLw/aWp+X1lJ2uFo3e5qNoJFACgozLj PI6Vo9151U09gncRXoDT/Xc= =Nq48 -----END PGP SIGNATURE----- --------------enig76FB9CDF9426CE71A3EBE91F--