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 CE6A6D1B56B for ; Tue, 28 Oct 2003 18:34:58 +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 43004-07 for ; Tue, 28 Oct 2003 14:34:28 -0400 (AST) Received: from candle.pha.pa.us (unknown [207.106.42.251]) by svr1.postgresql.org (Postfix) with ESMTP id D2307D1B54C for ; Tue, 28 Oct 2003 14:34:25 -0400 (AST) Received: (from pgman@localhost) by candle.pha.pa.us (8.11.6/8.11.6) id h9SIYFB25030; Tue, 28 Oct 2003 13:34:15 -0500 (EST) From: Bruce Momjian Message-Id: <200310281834.h9SIYFB25030@candle.pha.pa.us> Subject: Re: Adding foreign key performance In-Reply-To: <200310281306.10779.jkherr@centurytel.net> To: "John K. Herreshoff" Date: Tue, 28 Oct 2003 13:34:15 -0500 (EST) Cc: Stephan Szabo , Jeff , pgsql-performance@postgresql.org X-Mailer: ELM [version 2.4ME+ PL108 (25)] MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset=US-ASCII X-Virus-Scanned: by amavisd-new at postgresql.org X-Archive-Number: 200310/709 X-Sequence-Number: 4457 John K. Herreshoff wrote: > 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... Did those tables have analyze statistics? Can you try it without statistics (I think you have to drop the tables to erase the statistics). -- Bruce Momjian | http://candle.pha.pa.us pgman@candle.pha.pa.us | (610) 359-1001 + If your life is a hard drive, | 13 Roberts Road + Christ can be your backup. | Newtown Square, Pennsylvania 19073