pg.ddx.io  pgsql-performance@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Jesper Krogh <jesper@krogh.cc>
To: pgsql-performance@postgresql.org
Subject: Dump restore performance 7.3 -> 8.1
Date: Mon, 10 Apr 2006 10:22:31 +0200 (CEST)
Message-ID: <27860.195.41.66.226.1144657351.squirrel@mail.jabbernet.dk> (raw)


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




Message-ID: <27860.195.41.66.226.1144657351.squirrel@mail.jabbernet.dk>
Permalink:  ../27860.195.41.66.226.1144657351.squirrel@mail.jabbernet.dk/
Also on:    postgresql.org/message-id/27860.195.41.66.226.1144657351.squirrel@mail.jabbernet.dk

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-performance@postgresql.org
  Cc: jesper@krogh.cc
  Subject: Re: Dump restore performance 7.3 -> 8.1
  In-Reply-To: <27860.195.41.66.226.1144657351.squirrel@mail.jabbernet.dk>
  References: <27860.195.41.66.226.1144657351.squirrel@mail.jabbernet.dk>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox