Re: Problem with large tables - Mailing list pgsql-general

From Tom Lane
Subject Re: Problem with large tables
Date
Msg-id 15637.986506680@sss.pgh.pa.us
Whole thread Raw
In response to Problem with large tables  ("Hector Miranda" <hamg1@hotmail.com>)
List pgsql-general
"Hector Miranda" <hamg1@hotmail.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

pgsql-general by date:

Previous
From: Doug McNaught
Date:
Subject: Re: locked up backends
Next
From: "ADBAAMD"
Date:
Subject: Re: Database Name Case Sensitivity