pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Jodi Kanter <jkanter@virginia.edu>
To: Postgres Admin List <pgsql-admin@postgresql.org>
Subject: PKs for dictionary tables
Date: Wed, 11 Dec 2002 14:51:23 -0500
Message-ID: <010301c2a14e$af1f4ba0$de138f80@virginia.edu> (raw)

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 that an integer value is stored in the main data table as opposed to a sting value?
Is there a preferred database standard?

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



 

 

 

view thread (2+ messages)  latest in thread

Message-ID: <010301c2a14e$af1f4ba0$de138f80@virginia.edu>
Permalink:  ../010301c2a14e$af1f4ba0$de138f80@virginia.edu/
Also on:    postgresql.org/message-id/010301c2a14e$af1f4ba0$de138f80@virginia.edu

 · 

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-admin@postgresql.org
  Cc: jkanter@virginia.edu
  Subject: Re: PKs for dictionary tables
  In-Reply-To: <010301c2a14e$af1f4ba0$de138f80@virginia.edu>
  References: <010301c2a14e$af1f4ba0$de138f80@virginia.edu>

* 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