X-Original-To: pgsql-hackers-postgresql.org@localhost.postgresql.org Received: from localhost (unknown [64.117.224.130]) by svr1.postgresql.org (Postfix) with ESMTP id 624E9D1C4C7 for ; Fri, 15 Aug 2003 02:05:36 +0000 (GMT) Received: from svr1.postgresql.org ([64.117.224.193]) by localhost (neptune.hub.org [64.117.224.130]) (amavisd-new, port 10024) with ESMTP id 52227-02 for ; Thu, 14 Aug 2003 23:05:29 -0300 (ADT) Received: from houston.familyhealth.com.au (unknown [203.59.48.253]) by svr1.postgresql.org (Postfix) with ESMTP id 9E411D1C4BA for ; Thu, 14 Aug 2003 23:05:23 -0300 (ADT) Received: from mars (work-40.internal [192.168.0.40]) by houston.familyhealth.com.au (8.12.9/8.12.9) with SMTP id h7F25ILt054389; Fri, 15 Aug 2003 10:05:18 +0800 (WST) (envelope-from chriskl@familyhealth.com.au) Message-ID: <23b401c362d3$072395e0$2800a8c0@mars> From: "Christopher Kings-Lynne" To: "Bruce Momjian" , "Peter Childs" Cc: "PostgreSQL-development" References: <200308142213.h7EMD5U18776@candle.pha.pa.us> Subject: Re: [GENERAL] 7.4Beta Date: Fri, 15 Aug 2003 10:14:59 +0800 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2800.1158 X-MIMEOLE: Produced By Microsoft MimeOLE V6.00.2800.1165 X-Virus-Scanned: by amavisd-new at postgresql.org X-Archive-Number: 200308/786 X-Sequence-Number: 42443 > > I throw last nights backup at it. Data went in in about 1/2 an hour then the > > constraints went in and they took at age. about 2 hours..... > > Is there anyway to speed up the database constraint code? Because quite > > frankly at the current speed your probably better off without the > > constraints.... (Same problem with 7.3 come to think about it.) I can also attest to the horrendously long time it takes to restore the ADD FOREIGN KEY section... Chris