From: Andrew Sullivan <andrew@libertyrms.info>
To: pgsql-admin@postgresql.org
Subject: Re: Problems with migration
Date: Thu, 8 Aug 2002 13:41:28 -0400
Message-ID: <20020808134128.K7239@mail.libertyrms.com> (raw)
In-Reply-To: <ONEIJFHLDDLLOLKCKBIEOEEFCAAA.tobiasschmalfuss@web.de>
References: <ONEIJFHLDDLLOLKCKBIEOEEFCAAA.tobiasschmalfuss@web.de>
On Wed, Aug 07, 2002 at 04:50:35PM +0200, Tobias Schmalfuss wrote:
>
> now i try to fill this tables with java from oracle tables. i think 70000
> collums are in the table customer.
>
> the problem is that at the beginning it is so fast by the insterts in the
> tables.
> but after a wile it is slower and slower. somtime he need some minutes for
> one record.
> when i delete the foreign keys it is verry fast. but i need the keys for
> consistent datas.
Which version of Postgres? This was _supposed_ to be fixed in 7.1,
but it definitely was not. I gather some more works' been done, and
7.2 is better. I've not had a chance to test that corner of the code
yet.
Anyway, through 7.1.3 this is a known bug. Nothing you can do about
it. If you know your source data is good, my suggestion is to drop
the RI triggers, import the data, and re-enable the RI triggers.
A
--
----
Andrew Sullivan 87 Mowat Avenue
Liberty RMS Toronto, Ontario Canada
<andrew@libertyrms.info> M6K 3E3
+1 416 646 3304 x110
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 from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-admin@postgresql.org
Cc: andrew@libertyrms.info
Subject: Re: Problems with migration
In-Reply-To: <20020808134128.K7239@mail.libertyrms.com>
References: <ONEIJFHLDDLLOLKCKBIEOEEFCAAA.tobiasschmalfuss@web.de> <20020808134128.K7239@mail.libertyrms.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