Re: Adding foreign key performance - Mailing list pgsql-performance

From Jeff
Subject Re: Adding foreign key performance
Date
Msg-id 20031028142524.30e9e6fc.threshar@torgo.978.org
Whole thread Raw
In response to Re: Adding foreign key performance  (Vivek Khera <khera@kcilink.com>)
List pgsql-performance
On Tue, 28 Oct 2003 14:22:04 -0500
Vivek Khera <khera@kcilink.com> wrote:

> If you're restoring from a pg_dump -Fc (compressed dump) it already
> happens for you.  The indexes and foreign keys are not added until the
> very end, from what I recall.
>

This happens with regular dumps - at the end is a pile of alter table's
that create the indices, FK's and triggers.

Is the -Fc method different?

--
Jeff Trout <jeff@jefftrout.com>
http://www.jefftrout.com/
http://www.stuarthamm.net/

pgsql-performance by date:

Previous
From: Bruce Momjian
Date:
Subject: Re: Adding foreign key performance
Next
From: Christopher Kings-Lynne
Date:
Subject: Re: Adding foreign key performance