pg.ddx.io  pgsql-performance@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Josh Berkus <josh@agliodbs.com>
To: Stephan Szabo <sszabo@megazone23.bigpanda.com>
To: Matt Mello <alien@spaceship.com>
Cc: pgsql-performance@postgresql.org
Subject: Re: Indexing foreign keys
Date: Mon, 27 Jan 2003 13:23:19 -0800
Message-ID: <200301271323.19644.josh@agliodbs.com> (raw)
In-Reply-To: <20030127131057.F81562-100000@megazone23.bigpanda.com>
References: <20030127131057.F81562-100000@megazone23.bigpanda.com>

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 ...)


-- 
-Josh Berkus
 Aglio Database Solutions
 San Francisco




view thread (12+ messages)  latest in thread

Message-ID: <200301271323.19644.josh@agliodbs.com>
Permalink:  ../200301271323.19644.josh@agliodbs.com/
Also on:    postgresql.org/message-id/200301271323.19644.josh@agliodbs.com

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-performance@postgresql.org
  Cc: josh@agliodbs.com, sszabo@megazone23.bigpanda.com, alien@spaceship.com
  Subject: Re: Indexing foreign keys
  In-Reply-To: <200301271323.19644.josh@agliodbs.com>
  References: <20030127131057.F81562-100000@megazone23.bigpanda.com> <200301271323.19644.josh@agliodbs.com>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox