From: Jeff <threshar@torgo.978.org>
To: Vivek Khera <khera@kcilink.com>
Cc: pgsql-performance@postgresql.org
Subject: Re: Adding foreign key performance
Date: Tue, 28 Oct 2003 14:25:24 -0500
Message-ID: <20031028142524.30e9e6fc.threshar@torgo.978.org> (raw)
In-Reply-To: <x7ekwxdv6r.fsf@yertle.int.kciLink.com>
References: <20031028091645.3d610841.threshar@torgo.978.org>
<x7ekwxdv6r.fsf@yertle.int.kciLink.com>
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/
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: threshar@torgo.978.org, khera@kcilink.com
Subject: Re: Adding foreign key performance
In-Reply-To: <20031028142524.30e9e6fc.threshar@torgo.978.org>
* 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