Re: Problem w/ dumping huge table and no disk space

From: Tod McQuillin <devin(at)spamcop(dot)net>
To: Calvin Dodge <caldodge(at)fpcc(dot)net>
Cc: <pgsql-general(at)postgresql(dot)org>
Subject: Re: Problem w/ dumping huge table and no disk space
Date: 2001-09-08 07:09:26
Message-ID: 20010908160749.G89526-100000@glass.pun-pun.prv
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

On 7 Sep 2001, Calvin Dodge wrote:

> You could even do:
>
> pg_dump mydatabase|gzip -c|ssh othersystem.com 'gunzip -c |psql
> mydatabase'

This is getting off topic, but I just thought I'd mention that

pg_dump mydatabase | ssh -C othersystem.com 'psql mydatabase'

does effectively the same thing as the above and saves you process
creation overhead on both systems.
--
Tod McQuillin

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Justin Clift 2001-09-08 07:26:32 Re: [GENERAL] SQL Server to PostgreSQL HOWTO
Previous Message Justin Clift 2001-09-08 06:57:45 Re: Idea: jobs.postgresql.org