Re: Restore performance?

Поиск
Список
Период
Сортировка
От Luke Lonergan
Тема Re: Restore performance?
Дата
Msg-id 3E37B936B592014B978C4415F90D662D01F475D5@MI8NYCMAIL06.Mi8.com
обсуждение исходный текст
Ответ на Restore performance?  (Jesper Krogh <jesper@krogh.cc>)
Ответы Re: Restore performance?
Список 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 по дате отправления:

Предыдущее
От: Jesper Krogh
Дата:
Сообщение: Restore performance?
Следующее
От: "Jesper Krogh"
Дата:
Сообщение: Dump restore performance 7.3 -> 8.1