Jesper,
If they both took the same amount of time, then you are almost certainly bottlenecked on gzip.
Try a faster CPU or use "gzip -fast".
- Luke
________________________________
From: pgsql-performance-owner@postgresql.org on behalf of Jesper Krogh
Sent: Mon 4/10/2006 12:55 AM
To: pgsql-performance@postgresql.org
Subject: [PERFORM] Restore performance?
Hi
I'm currently upgrading a Posgresql 7.3.2 database to a
8.1.<something-good>
I'd run pg_dump | gzip > sqldump.gz on the old system. That took about
30 hours and gave me an 90GB zipped file. Running
cat sqldump.gz | gunzip | psql
into the 8.1 database seems to take about the same time. Are there
any tricks I can use to speed this dump+restore process up?
The database contains quite alot of BLOB, thus the size.
Jesper
--
./Jesper Krogh, jesper@krogh.cc, Jabber ID: jesper@jabbernet.dk
---------------------------(end of broadcast)---------------------------
TIP 6: explain analyze is your friend