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 4A3A5528BE for ; Thu, 16 Jun 2005 12:29:41 -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 77534-01 for ; Thu, 16 Jun 2005 15:29:37 +0000 (GMT) Received: from boutiquenumerique.com (boutiquenumerique.com [82.67.9.10]) by svr1.postgresql.org (Postfix) with ESMTP id F04D2528D9 for ; Thu, 16 Jun 2005 12:29:36 -0300 (ADT) Received: (qmail 15322 invoked from network); 16 Jun 2005 17:29:47 +0200 Received: from unknown (HELO localhost) (boutiquenumerique-lists@192.168.0.4) by boutiquenumerique.com with SMTP; 16 Jun 2005 17:29:47 +0200 To: "Thomas Kellerer" , pgsql-sql@postgresql.org Subject: Re: SELECT very slow References: <1118930439.3382.91.camel@state.g2switchworks.com> Message-ID: Date: Thu, 16 Jun 2005 17:29:32 +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.005 tagged_above=0 required=5 tests=AWL X-Spam-Level: X-Archive-Number: 200506/201 X-Sequence-Number: 21802 > If autocommit is on (or fetch size is zero) then the driver will build > the whole > result set before returning to the caller. Sure, but that is not your problem : even building the whole result set should not take longer than a few seconds (I gave you test timings in a previous message). So... what ? What does the taskman say ? CPU at 100% ? how much kernel time ? > > http://jdbc.postgresql.org/documentation/80/query.html#query-with-cursor > > Thomas > > > ---------------------------(end of broadcast)--------------------------- > TIP 2: you can get off all lists at once with the unregister command > (send "unregister YourEmailAddressHere" to majordomo@postgresql.org) >