Re: Problem w/ dumping huge table and no disk space - Mailing list pgsql-general

From Tom Lane
Subject Re: Problem w/ dumping huge table and no disk space
Date
Msg-id 14328.999907905@sss.pgh.pa.us
Whole thread Raw
In response to Re: Problem w/ dumping huge table and no disk space  (David Ford <david@blue-labs.org>)
List pgsql-general
David Ford <david@blue-labs.org> writes:
> $ postgres --version
> postgres (PostgreSQL) 7.1beta5

You're still running beta5?  (bites tongue ...)

Update to 7.1.3.  AFAIR you should be able to do that without initdb.
That will fix your WAL growth problems and allow you to do the large
DELETE you wanted.

> 1) If I run pg_dump, it runs for about 20 minutes the aborts abruptly w/
> out of memory err, pg_dump is killed by the kernel and postgres spews
> pipe errors until it reaches the end of the table or I kill it.

Are you trying to run pg_dump with -d or -D switch?  If so, try it without.

            regards, tom lane

pgsql-general by date:

Previous
From: David Ford
Date:
Subject: Re: Problem w/ dumping huge table and no disk space
Next
From: Tom Lane
Date:
Subject: Re: recursive text construction in plpgsql?