X-Original-To: pgsql-sql-postgresql.org@localhost.postgresql.org Received: from localhost (unknown [200.46.204.144]) by svr1.postgresql.org (Postfix) with ESMTP id 526BF5288E for ; Wed, 15 Jun 2005 17:04:20 -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 85829-07 for ; Wed, 15 Jun 2005 20:04:15 +0000 (GMT) Received: from boutiquenumerique.com (boutiquenumerique.com [82.67.9.10]) by svr1.postgresql.org (Postfix) with ESMTP id 9A8C1528AD for ; Wed, 15 Jun 2005 17:04:13 -0300 (ADT) Received: (qmail 14817 invoked from network); 15 Jun 2005 22:04:19 +0200 Received: from unknown (HELO localhost) (boutiquenumerique-lists@192.168.0.4) by boutiquenumerique.com with SMTP; 15 Jun 2005 22:04:19 +0200 To: "Thomas Kellerer" , pgsql-sql@postgresql.org Subject: Re: SELECT very slow References: Message-ID: Date: Wed, 15 Jun 2005 22:04:08 +0200 From: PFC Organization: =?iso-8859-15?Q?La_Boutique_Num=E9rique?= Content-Type: text/plain; format=flowed; delsp=yes; charset=iso-8859-15 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit In-Reply-To: User-Agent: Opera M2(BETA2)/8.0 (Linux, build 987) X-Virus-Scanned: by amavisd-new at hub.org X-Spam-Status: No, hits=0.006 tagged_above=0 required=5 tests=AWL X-Spam-Level: X-Archive-Number: 200506/174 X-Sequence-Number: 21775 > It's not the program or Java. The same program takes about 20 seconds > with Firebird and the exactly same data. Hm, that's still very slow (it should do it in a couple seconds like my PC does... maybe the problem is common to postgres and firebird ?) Try eliminating disk IO by writing a set returning function which returns 1000000 rows, something simple like just a sequence number and a text value... if this is slow too... i don't know... do you have an antivirus or zonealarm or something ? Have you tried connecting from another machine ? > > Thomas > > > > ---------------------------(end of broadcast)--------------------------- > TIP 6: Have you searched our list archives? > > http://archives.postgresql.org >