Re: Problem with large tables

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: "Hector Miranda" <hamg1(at)hotmail(dot)com>
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: Problem with large tables
Date: 2001-04-05 21:38:00
Message-ID: 15637.986506680@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

"Hector Miranda" <hamg1(at)hotmail(dot)com> writes:
> I'm working with Posgresql 7.0.3 on Red Hat linux 6.2. When I make the
> following query "select * from mytable" (2000000 rows),

You're running out of application memory for the query result. (libpq
doesn't recover from that too gracefully, unfortunately.) Consider
using a cursor to fetch the data in more manageable chunks.

regards, tom lane

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Peter Eisentraut 2001-04-05 21:39:08 Re: Database Name Case Sensitivity
Previous Message Maurice Balick 2001-04-05 21:17:44 locked up backends