Thread: Dump restore performance 7.3 -> 8.1

Dump restore performance 7.3 -> 8.1

From
"Jesper Krogh"
Date:
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?

Neither disk-io (viewed using vmstat 1) or cpu (viewed using top) seems to
be the bottleneck.

The database contains quite alot of BLOB's, thus the size.

Jesper
--
Jesper Krogh