Re: [SQL] more info on ..out of memory error on dumping over 1, 000, 000 to file

From: Clayton Cottingham <drfrog(at)smartt(dot)com>
To: "pgsql-sql(at)postgresql(dot)org" <pgsql-sql(at)postgreSQL(dot)org>
Subject: Re: [SQL] more info on ..out of memory error on dumping over 1, 000, 000 to file
Date: 1999-08-25 21:04:21
Message-ID: 37C45A55.ABCADAF9@smartt.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-sql

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

In response to

Browse pgsql-sql by date

  From Date Subject
Next Message Hector M Banda 1999-08-26 03:13:37 OT: Pros and cons about using POSTGRESQL and MYSQL
Previous Message Albert REINER 1999-08-25 20:51:41 Re: [SQL] PgSQL 6.5.1 and Group BY pb