From: Clayton Cottingham <drfrog@smartt.com>
To: pgsql-sql@postgresql.org <pgsql-sql@postgreSQL.org>
Subject: Re: [SQL] more info on ..out of memory error on dumping over 1, 000, 000 to file
Date: Wed, 25 Aug 1999 21:04:21 +0000
Message-ID: <37C45A55.ABCADAF9@smartt.com> (raw)
References: <37C26D28.E0C908BF@smartt.com>
Clayton Cottingham wrote:
> i keep gettin' out of memory errors when running this type of command on
> my tables
>
> psql database -c "select column1,column2 from table;" > 2columnsout
>
> the reason im doing it this way is to just retrieve two columns, is
> there as another way to do this ? i looked at the -o filename option,it
> still produced the same error!?
>
> possible something to add to pg_dump? the ability to dump certain
> columns?
>
> ************
it seems the dump stops at approx the half way point
this happens even on a limited selectect
as
if table has 1 mill rows
select * from table limit 500000,75000;
it would produce an out of memory
has anyone else experienced this?
my hardware/os is k166 w 64mb ram
running on linux kernel 2.3.2 and glibc2.1
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-sql@postgresql.org
Cc: drfrog@smartt.com
Subject: Re: [SQL] more info on ..out of memory error on dumping over 1, 000, 000 to file
In-Reply-To: <37C45A55.ABCADAF9@smartt.com>
References: <37C26D28.E0C908BF@smartt.com> <37C45A55.ABCADAF9@smartt.com>
* 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