pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Ruairi <rcarroll@bluemetrix.com>
To: pgsql-admin@postgresql.org
Subject: Restore of pg_dump taking a long time...
Date: Wed, 24 May 2006 12:38:33 +0100
Message-ID: <008c01c67f26$9848caf0$2815a8c0@D5T7W62J> (raw)

Hi,
I'm currently restoring a fairly large DB from a pg_dump and it's taking 
about 12 hours to finish. The main part of this time is spent creating 
indexes. Is there anyway I can speed up the restore process, or do i just 
have to wait? I'm using postgres 8.1.3 on freebsd and the pg_dump is gzip'd. 
I'm restoring with the following command : "zcat <gzip'd db> | psql -U 
postgres <destination db>"

Regards,
Ruairi Carroll 




view thread (9+ messages)  latest in thread

Message-ID: <008c01c67f26$9848caf0$2815a8c0@D5T7W62J>
Permalink:  ../008c01c67f26$9848caf0$2815a8c0@D5T7W62J/
Also on:    postgresql.org/message-id/008c01c67f26$9848caf0$2815a8c0@D5T7W62J

 · 

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-admin@postgresql.org
  Cc: rcarroll@bluemetrix.com
  Subject: Re: Restore of pg_dump taking a long time...
  In-Reply-To: <008c01c67f26$9848caf0$2815a8c0@D5T7W62J>
  References: <008c01c67f26$9848caf0$2815a8c0@D5T7W62J>

* 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