pg.ddx.io  pgsql-performance@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Jim C. Nasby <jnasby@pervasive.com>
To: patrick keshishian <pkeshish@gmail.com>
Cc: Tom Lane <tgl@sss.pgh.pa.us>
Cc: pgsql-performance@postgresql.org
Subject: Re: pg 7.4.x - pg_restore impossibly slow
Date: Fri, 14 Apr 2006 01:20:11 -0500
Message-ID: <20060414062010.GZ49405@pervasive.com> (raw)
In-Reply-To: <53b425b00604131826s2872bd49id2ac1ab99a5fade4@mail.gmail.com>
References: <53b425b00604121826x213fe2fdmc793e22026469923@mail.gmail.com>
	<9585.1144903611@sss.pgh.pa.us>
	<53b425b00604131826s2872bd49id2ac1ab99a5fade4@mail.gmail.com>

On Thu, Apr 13, 2006 at 06:26:00PM -0700, patrick keshishian wrote:
> $ dropdb dbname
> $ createdb dbname
> $ pg_restore -vsOd dbname dbname.DUMP

That step is pointless, because the next pg_restore will create the
schema for you anyway.

> $ date > db.restore ; pg_restore -vcOd dbname \
>     dbname.DUMP ; date >> db.restore
-- 
Jim C. Nasby, Sr. Engineering Consultant      jnasby@pervasive.com
Pervasive Software      http://pervasive.com    work: 512-231-6117
vcard: http://jim.nasby.net/pervasive.vcf       cell: 512-569-9461



view thread (7+ messages)  latest in thread

Message-ID: <20060414062010.GZ49405@pervasive.com>
Permalink:  ../20060414062010.GZ49405@pervasive.com/
Also on:    postgresql.org/message-id/20060414062010.GZ49405@pervasive.com

 · 

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 using the --to and --cc options:
  reply via email

  To: pgsql-performance@postgresql.org
  Cc: jnasby@pervasive.com, pkeshish@gmail.com, tgl@sss.pgh.pa.us
  Subject: Re: pg 7.4.x - pg_restore impossibly slow
  In-Reply-To: <20060414062010.GZ49405@pervasive.com>

* 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