Re: Restore performance? - Mailing list pgsql-performance

From Luke Lonergan
Subject Re: Restore performance?
Date
Msg-id 3E37B936B592014B978C4415F90D662D01F475D5@MI8NYCMAIL06.Mi8.com
Whole thread Raw
In response to Restore performance?  (Jesper Krogh <jesper@krogh.cc>)
Responses Re: Restore performance?
List pgsql-performance
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





pgsql-performance by date:

Previous
From: Jesper Krogh
Date:
Subject: Restore performance?
Next
From: "Jesper Krogh"
Date:
Subject: Dump restore performance 7.3 -> 8.1