X-Original-To: pgsql-performance-postgresql.org@localhost.postgresql.org Received: from localhost (unknown [200.46.204.2]) by svr1.postgresql.org (Postfix) with ESMTP id 01CD2D1B53F for ; Tue, 28 Oct 2003 18:11:09 +0000 (GMT) Received: from svr1.postgresql.org ([200.46.204.71]) by localhost (neptune.hub.org [200.46.204.2]) (amavisd-new, port 10024) with ESMTP id 41218-01 for ; Tue, 28 Oct 2003 14:10:37 -0400 (AST) Received: from granger.centurytel.net (granger.centurytel.net [209.142.136.117]) by svr1.postgresql.org (Postfix) with ESMTP id A83C5D1B50A for ; Tue, 28 Oct 2003 14:10:36 -0400 (AST) Received: from 192.168.1.3 (pppoe0511.grp.centurytel.net [64.91.27.4]) by granger.centurytel.net (8.12.10/8.12.10) with ESMTP id h9SIAJHj013488; Tue, 28 Oct 2003 12:10:19 -0600 (CST) From: "John K. Herreshoff" To: Stephan Szabo , Jeff Subject: Re: Adding foreign key performance Date: Tue, 28 Oct 2003 13:06:10 -0500 User-Agent: KMail/1.5 Cc: pgsql-performance@postgresql.org References: <20031028091645.3d610841.threshar@torgo.978.org> <20031028072112.X60098@megazone.bigpanda.com> In-Reply-To: <20031028072112.X60098@megazone.bigpanda.com> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200310281306.10779.jkherr@centurytel.net> X-Virus-Scanned: by amavisd-new at postgresql.org X-Archive-Number: 200310/707 X-Sequence-Number: 4455 FWIW: I'm fiddling with that right now, and the FK think was quick... a few seconds... the tables in question have 1400 records, 343000 records and 7200 records... I'm running Beta5... John. On Tuesday 28 October 2003 10:21, Stephan Szabo wrote: > On Tue, 28 Oct 2003, Jeff wrote: > > I recalled seeing a thread on -HACKERS about some major improvements to > > the speed of adding an FK to an existing table in 7.4. Naturally I was > > curious and decided to give it a whirl. My findings are not too good. In > > fact, they are bad. > > > > Could it be this patch never made it in? > > I think it went in between b4 and b5, can you try with b5? > > > ---------------------------(end of broadcast)--------------------------- > TIP 5: Have you checked our extensive FAQ? > > http://www.postgresql.org/docs/faqs/FAQ.html