Re: pg 7.4.x - pg_restore impossibly slow - Mailing list pgsql-performance

From Jim C. Nasby
Subject Re: pg 7.4.x - pg_restore impossibly slow
Date
Msg-id 20060414062010.GZ49405@pervasive.com
Whole thread Raw
In response to Re: pg 7.4.x - pg_restore impossibly slow  ("patrick keshishian" <pkeshish@gmail.com>)
Responses Re: pg 7.4.x - pg_restore impossibly slow
List pgsql-performance
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

pgsql-performance by date:

Previous
From: "Jim C. Nasby"
Date:
Subject: Re: Blocks read for index scans
Next
From: Terje Elde
Date:
Subject: Re: Blocks read for index scans