X-Original-To: pgsql-admin@postgresql.org Received: from localhost (postgresql.org [64.49.215.8]) by postgresql.org (Postfix) with ESMTP id 7AD704761B5 for ; Fri, 28 Feb 2003 11:55:25 -0500 (EST) Received: from postgresql.org ([64.49.215.8]) by localhost (postgresql.org [64.49.215.8:10024]) (amavisd-new) with SMTP id 69442-04 for ; Fri, 28 Feb 2003 11:55:13 -0500 (EST) Received: from mail.virginia.edu (mail.Virginia.EDU [128.143.2.9]) by postgresql.org (Postfix) with SMTP id 2B5E347620A for ; Fri, 28 Feb 2003 10:41:34 -0500 (EST) Received: from smtp.mail.virginia.edu by mail.virginia.edu id ab12935; 28 Feb 2003 10:41 EST Received: from jlk3xpc (d-128-19-222.bootp.Virginia.EDU [128.143.19.222]) by smtp.mail.Virginia.EDU (8.11.6/8.11.6) with SMTP id h1SFfaN23118 for ; Fri, 28 Feb 2003 10:41:36 -0500 Message-ID: <006d01c2df40$a9f34a70$de138f80@virginia.edu> From: Jodi Kanter To: Postgres Admin List Subject: indexes Date: Fri, 28 Feb 2003 10:47:13 -0500 MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_NextPart_000_006A_01C2DF16.C0FEBDF0" X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2800.1106 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1106 X-Virus-Scanned: by amavisd-new X-Archive-Number: 200302/432 X-Sequence-Number: 7630 This is a multi-part message in MIME format. ------=_NextPart_000_006A_01C2DF16.C0FEBDF0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable I have three tables that are queried frequently together. I have indexes on= the PK values in each table as these are the fields that are typically use= d in the where clauses. Do I need to also have indexes on the corresponding= FK values to improve performance? Thanks, Jodi _______________________________ Jodi L Kanter BioInformatics Database Administrator University of Virginia (434) 924-2846 jkanter@virginia.edu =20 =20 =20 ------=_NextPart_000_006A_01C2DF16.C0FEBDF0 Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable
I have three tables that are queried=20 frequently together. I have indexes on the PK values in each table as these= are=20 the fields that are typically used in the where clauses. Do I need to also = have=20 indexes on the corresponding FK values to improve=20 performance?
Thanks,
Jodi

_______________________________
Jodi=20 L Kanter
BioInformatics Database Administrator
University of=20 Virginia
(434) 924-2846
jkanter@virginia.edu

 

 

 

<= /DIV> ------=_NextPart_000_006A_01C2DF16.C0FEBDF0--