Re: Indexing foreign keys - Mailing list pgsql-performance

From Josh Berkus
Subject Re: Indexing foreign keys
Date
Msg-id 200301271323.19644.josh@agliodbs.com
Whole thread Raw
In response to Re: Indexing foreign keys  (Stephan Szabo <sszabo@megazone23.bigpanda.com>)
List pgsql-performance
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


pgsql-performance by date:

Previous
From: Stephan Szabo
Date:
Subject: Re: Indexing foreign keys
Next
From: "Ron St.Pierre"
Date:
Subject: Re: Indexing foreign keys