Received: from localhost (postgresql.org [64.49.215.8]) by postgresql.org (Postfix) with ESMTP id 39A15476B91 for ; Mon, 27 Jan 2003 16:25:05 -0500 (EST) Received: from davinci.ethosmedia.com (unknown [209.10.40.251]) by postgresql.org (Postfix) with ESMTP id 86D78476CF4 for ; Mon, 27 Jan 2003 16:22:29 -0500 (EST) Received: from [66.219.92.2] (HELO chocolate-mousse) by davinci.ethosmedia.com (CommuniGate Pro SMTP 4.0.2) with ESMTP id 2335945; Mon, 27 Jan 2003 13:22:34 -0800 Content-Type: text/plain; charset="iso-8859-1" From: Josh Berkus Reply-To: josh@agliodbs.com Organization: Aglio Database Solutions To: Stephan Szabo , Matt Mello Subject: Re: Indexing foreign keys Date: Mon, 27 Jan 2003 13:23:19 -0800 X-Mailer: KMail [version 1.4] Cc: References: <20030127131057.F81562-100000@megazone23.bigpanda.com> In-Reply-To: <20030127131057.F81562-100000@megazone23.bigpanda.com> MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Message-Id: <200301271323.19644.josh@agliodbs.com> X-Virus-Scanned: by AMaViS new-20020517 X-Archive-Number: 200301/363 X-Sequence-Number: 1010 Guys, > You don't always need to create them, because there are fk patterns where > an index is counterproductive, but if you're not in one of those cases you > should create them. I'm not sure the docs actually say anything about > this however. See: http://techdocs.postgresql.org/techdocs/pgsqladventuresep2.php http://techdocs.postgresql.org/techdocs/pgsqladventuresep3.php (and yes, I know I need to finish this series ...) --=20 -Josh Berkus Aglio Database Solutions San Francisco