X-Original-To: pgsql-performance-postgresql.org@localhost.postgresql.org Received: from localhost (av.hub.org [200.46.204.144]) by svr1.postgresql.org (Postfix) with ESMTP id EC8D3D926C for ; Mon, 7 Nov 2005 00:26:13 -0400 (AST) 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 67763-04 for ; Mon, 7 Nov 2005 04:26:12 +0000 (GMT) X-Greylist: from auto-whitelisted by SQLgrey- Received: from obelix.askesis.nl (laudanum.demon.nl [82.161.125.16]) by svr1.postgresql.org (Postfix) with ESMTP id ACF71D79D9 for ; Mon, 7 Nov 2005 00:26:10 -0400 (AST) Received: obelix.askesis.nl 172.31.0.1 from 172.31.1.8 172.31.1.8 via HTTP with MS-WebStorage 6.0.6249 Received: from Panoramix by obelix.askesis.nl; 07 Nov 2005 05:26:07 +0100 Subject: Re: Performance PG 8.0 on dual opteron / 4GB / 3ware From: Joost Kraaijeveld To: Tom Lane Cc: Pgsql-Performance In-Reply-To: <2503.1131308773@sss.pgh.pa.us> References: <1131283854.15471.4.camel@Panoramix> <25425.1131297440@sss.pgh.pa.us> <1131305633.5882.17.camel@Panoramix> <2503.1131308773@sss.pgh.pa.us> Content-Type: text/plain Content-Transfer-Encoding: 7bit Date: Mon, 07 Nov 2005 05:25:59 +0100 Message-Id: <1131337559.5877.7.camel@Panoramix> Mime-Version: 1.0 X-Mailer: Evolution 2.0.4 X-Virus-Scanned: by amavisd-new at hub.org X-Spam-Status: No, score=0.058 required=5 tests=[AWL=0.057, UNPARSEABLE_RELAY=0.001] X-Spam-Score: 0.058 X-Spam-Level: X-Archive-Number: 200511/106 X-Sequence-Number: 15363 Hi Tom, On Sun, 2005-11-06 at 15:26 -0500, Tom Lane wrote: > I'm confused --- where's the 82sec figure coming from, exactly? From actually executing the query. From PgAdmin: -- Executing query: select objectid from prototype.orders Total query runtime: 78918 ms. Data retrieval runtime: 188822 ms. 1104379 rows retrieved. > We've heard reports of performance issues in PgAdmin with large > result sets ... if you do the same query in psql, what happens? jkr@Panoramix:~/postgresql$ time psql muntdev -c "select objectid from prototype.orders" > output.txt real 0m5.554s user 0m1.121s sys 0m0.470s Now *I* am confused. What does PgAdmin do more than giving the query to the database? (BTW: I have repeated both measurements and the numbers above were all from the last measurement I did and are about average) -- Groeten, Joost Kraaijeveld Askesis B.V. Molukkenstraat 14 6524NB Nijmegen tel: 024-3888063 / 06-51855277 fax: 024-3608416 e-mail: J.Kraaijeveld@Askesis.nl web: www.askesis.nl