pg.ddx.io  pgsql-jdbc@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Kris Jurka <books@ejurka.com>
To: Khaldoun Ateyeh <Khaldoun.Ateyeh@panoratio.de>
Cc: pgsql-jdbc@postgresql.org
Subject: Re: table full scan
Date: Thu, 5 Jan 2006 07:14:22 -0500 (EST)
Message-ID: <Pine.BSO.4.61.0601050713560.9579@leary.csoft.net> (raw)
In-Reply-To: <0BD53BBFEDA6B240851F0B40DC7992E7180812@S007DCDE.panoratio.local>
References: <0BD53BBFEDA6B240851F0B40DC7992E7180812@S007DCDE.panoratio.local>



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



view thread (6+ messages)  latest in thread

Message-ID: <Pine.BSO.4.61.0601050713560.9579@leary.csoft.net>
Permalink:  ../Pine.BSO.4.61.0601050713560.9579@leary.csoft.net/
Also on:    postgresql.org/message-id/Pine.BSO.4.61.0601050713560.9579@leary.csoft.net

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-jdbc@postgresql.org
  Cc: books@ejurka.com, Khaldoun.Ateyeh@panoratio.de
  Subject: Re: table full scan
  In-Reply-To: <Pine.BSO.4.61.0601050713560.9579@leary.csoft.net>
  References: <0BD53BBFEDA6B240851F0B40DC7992E7180812@S007DCDE.panoratio.local> <Pine.BSO.4.61.0601050713560.9579@leary.csoft.net>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox