pg.ddx.io  pgsql-performance@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Rod Taylor <rbt@rbt.ca>
To: teknokrat@yahoo.com
Cc: Postgresql Performance <pgsql-performance@postgresql.org>
Subject: Re: performance of foreign key constraints
Date: Thu, 28 Aug 2003 14:58:18 -0400
Message-ID: <1062097097.79027.214.camel@jester> (raw)
In-Reply-To: <bilfku$2csg$1@news.hub.org>
References: <bildcd$232q$1@news.hub.org>
	<20030828102646.Q9762-100000@megazone.bigpanda.com>
	<bilfku$2csg$1@news.hub.org>

> The references are all to the same table i.e. they are employee ids, so 
> leaving some and not others would make no sense. The table has no 
> deletes, small amount of inserts and moderate amount of updates. However 
> there are many selects and its their performance I am most concerned with.

Foreign keys have no impact on selects.

Although this does sound like a rather strange design to me (20+ columns
wide and they're all employee ids?)

Attachments:

  signature.asc (application/pgp-signature, 186B) download

view thread (7+ messages)  latest in thread

Message-ID: <1062097097.79027.214.camel@jester>
Permalink:  ../1062097097.79027.214.camel@jester/
Also on:    postgresql.org/message-id/1062097097.79027.214.camel@jester

 · 

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: rbt@rbt.ca, teknokrat@yahoo.com
  Subject: Re: performance of foreign key constraints
  In-Reply-To: <1062097097.79027.214.camel@jester>
  References: <bildcd$232q$1@news.hub.org> <20030828102646.Q9762-100000@megazone.bigpanda.com> <bilfku$2csg$1@news.hub.org> <1062097097.79027.214.camel@jester>

* 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