Re: Restore performance?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxxxxxxx on behalf of Jesper Krogh
Sent: Mon 4/10/2006 12:55 AM
To: pgsql-performance@xxxxxxxxxxxxxx
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@xxxxxxxx, Jabber ID: jesper@xxxxxxxxxxxx



---------------------------(end of broadcast)---------------------------
TIP 6: explain analyze is your friend






[Postgresql General]     [Postgresql PHP]     [PHP Users]     [PHP Home]     [PHP on Windows]     [Kernel Newbies]     [PHP Classes]     [PHP Books]     [PHP Databases]     [Yosemite]

  Powered by Linux