pg_restore problem

From: "lists" <lists(at)insyde(dot)com(dot)br>
To: <pgsql-admin(at)postgresql(dot)org>
Subject: pg_restore problem
Date: 2003-03-28 12:35:44
Message-ID: 003201c2f526$8e88fd60$8efaabc8@insyde
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-admin

Hi,

I've a dump I made with the command:

pg_dump -a -b -Fc -f DB.dump -o -v DB

then I try to restore with:

pg_restore -a -d DB2 -Fc -o -v DB.dump

This database is about 1.5Gb big.

The dump takes abou 1 hour, but the restore takes forever!

Last time I ran it, it takes more than 10 hours, when I gave up
and stopped the process.

Tried with both Ft and Fc.

Another doubt: Why a dump of this DB with Ft has about the
same size of the original DB(1.5GB) and with Fc it has about 50MB?

My system is:
P3 1Ghz, 1GB ram, Win2k, Postgres 7.2.2
Free space ~5GB.

TIA,

Ricardo.

Responses

Browse pgsql-admin by date

  From Date Subject
Next Message Peter Eisentraut 2003-03-28 13:55:21 Re: [ Possible problem with Postgres ]
Previous Message Ian Barwick 2003-03-28 12:01:16 Re: About sorting rows randomly