Received: from localhost (postgresql.org [64.49.215.8]) by postgresql.org (Postfix) with ESMTP id 342844759A6 for ; Thu, 8 Aug 2002 13:41:29 -0400 (EDT) Received: from mail.libertyrms.com (unknown [216.94.172.167]) by postgresql.org (Postfix) with ESMTP id ABD86475973 for ; Thu, 8 Aug 2002 13:41:28 -0400 (EDT) Received: from andrew by mail.libertyrms.com with local (Exim 3.22 #3 (Debian)) id 17crHs-0004my-00 for ; Thu, 08 Aug 2002 13:41:28 -0400 Date: Thu, 8 Aug 2002 13:41:28 -0400 From: Andrew Sullivan To: pgsql-admin@postgresql.org Subject: Re: Problems with migration Message-ID: <20020808134128.K7239@mail.libertyrms.com> Mail-Followup-To: Andrew Sullivan , pgsql-admin@postgresql.org References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: ; from tobiasschmalfuss@web.de on Wed, Aug 07, 2002 at 04:50:35PM +0200 X-Virus-Scanned: by AMaViS new-20020517 X-Archive-Number: 200208/80 X-Sequence-Number: 5195 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 M6K 3E3 +1 416 646 3304 x110