X-Original-To: pgsql-jdbc-postgresql.org@localhost.postgresql.org Received: from localhost (av.hub.org [200.46.204.144]) by postgresql.org (Postfix) with ESMTP id D4D5E9DC898 for ; Thu, 5 Jan 2006 08:09:41 -0400 (AST) Received: from postgresql.org ([200.46.204.71]) by localhost (av.hub.org [200.46.204.144]) (amavisd-new, port 10024) with ESMTP id 63926-08 for ; Thu, 5 Jan 2006 08:09:44 -0400 (AST) X-Greylist: from auto-whitelisted by SQLgrey- Received: from mail63.csoft.net (leary3.csoft.net [63.111.22.74]) by postgresql.org (Postfix) with SMTP id C4BC79DC82D for ; Thu, 5 Jan 2006 08:09:39 -0400 (AST) Received: (qmail 23570 invoked by uid 1112); 5 Jan 2006 12:14:22 -0000 Date: Thu, 5 Jan 2006 07:14:22 -0500 (EST) From: Kris Jurka X-X-Sender: books@leary.csoft.net To: Khaldoun Ateyeh cc: pgsql-jdbc@postgresql.org Subject: Re: table full scan In-Reply-To: <0BD53BBFEDA6B240851F0B40DC7992E7180812@S007DCDE.panoratio.local> Message-ID: References: <0BD53BBFEDA6B240851F0B40DC7992E7180812@S007DCDE.panoratio.local> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed X-Virus-Scanned: by amavisd-new at hub.org X-Spam-Status: No, score=0.014 required=5 tests=[AWL=0.014] X-Spam-Score: 0.014 X-Spam-Level: X-Archive-Number: 200601/4 X-Sequence-Number: 14455 On Thu, 5 Jan 2006, Khaldoun Ateyeh wrote: > I am using jdbc to full scan a huge table (over 11 million records). > Unfortunately, I get an OutOfMemoryError exception. Is there any way to > tell postgre not to try to load the whole table at once? > http://jdbc.postgresql.org/documentation/81/query.html#query-with-cursor Kris Jurka