Received: from localhost (postgresql.org [64.49.215.8]) by postgresql.org (Postfix) with ESMTP id CBA4F476C19 for ; Wed, 11 Dec 2002 14:49:04 -0500 (EST) Received: from mail.virginia.edu (mail.Virginia.EDU [128.143.2.9]) by postgresql.org (Postfix) with SMTP id B3466476CB7 for ; Wed, 11 Dec 2002 14:48:34 -0500 (EST) Received: from smtp.mail.virginia.edu by mail.virginia.edu id aa09773; 11 Dec 2002 14:47 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 gBBJllN25476 for ; Wed, 11 Dec 2002 14:47:48 -0500 Message-ID: <010301c2a14e$af1f4ba0$de138f80@virginia.edu> From: Jodi Kanter To: Postgres Admin List Subject: PKs for dictionary tables Date: Wed, 11 Dec 2002 14:51:23 -0500 MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_NextPart_000_0100_01C2A124.C62A9810" X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 5.50.4522.1200 X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4522.1200 X-Virus-Scanned: by AMaViS new-20020517 X-Archive-Number: 200212/156 X-Sequence-Number: 6651 This is a multi-part message in MIME format. ------=_NextPart_000_0100_01C2A124.C62A9810 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable I have a database in which there is a particular data tables that has a lot= of dictionary (or lookup) tables hanging off of it. The dictionary tables = do not currently have PKs. They consist merely of a list of values that are= used to create drop down lists in an application. Would it be more efficient to create PKs for these dictionary tables so tha= t an integer value is stored in the main data table as opposed to a sting v= alue? Is there a preferred database standard? Thanks Jodi _______________________________ Jodi L Kanter BioInformatics Database Administrator University of Virginia (434) 924-2846 jkanter@virginia.edu =20 =20 =20 ------=_NextPart_000_0100_01C2A124.C62A9810 Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable
I have a database in which there is a= =20 particular data tables that has a lot of dictionary (or lookup) tables hang= ing=20 off of it. The dictionary tables do not currently have PKs. They consist me= rely=20 of a list of values that are used to create drop down lists in an=20 application.
 
Would it be more efficient to create PK= s for=20 these dictionary tables so that an integer value is stored in the main data= =20 table as opposed to a sting value?
Is there a preferred database=20 standard?
 
Thanks
Jodi

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

 

 

 

<= /DIV> ------=_NextPart_000_0100_01C2A124.C62A9810--