From: Joshua D. Drake <jd@commandprompt.com>
To: Richard van den Berg <richard.vandenberg@trust-factory.com>
Cc: pgsql-performance@postgresql.org
Subject: Re: Foreign key slows down copy/insert
Date: Mon, 18 Apr 2005 19:20:25 -0700 (PDT)
Message-ID: <Pine.LNX.4.62.0504181917110.12937@hosting.commandprompt.com> (raw)
In-Reply-To: <425E5B38.6020407@trust-factory.com>
References: <425E5B38.6020407@trust-factory.com>
> Since the database I am working on has many FKs, I would rather not have to
> drop/add them when I am loading large data sets.
You may want to hunt the archives. IIRCC I saw a couple of posts in the
recent months about an update you can do to one of the system tables to disable
the key checks and then re-enable them after your done with the import.
Sincerely,
Joshua D. Drake
>
--
Command Prompt, Inc., Your PostgreSQL solutions company. 503-667-4564
Custom programming, 24x7 support, managed services, and hosting
Open Source Authors: plPHP, pgManage, Co-Authors: plPerlNG
Reliable replication, Mammoth Replicator - http://www.commandprompt.com/
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: jd@commandprompt.com, richard.vandenberg@trust-factory.com
Subject: Re: Foreign key slows down copy/insert
In-Reply-To: <Pine.LNX.4.62.0504181917110.12937@hosting.commandprompt.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