pg.ddx.io  pgsql-sql@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Herouth Maoz <herouth@oumail.openu.ac.il>
To: Eric McKeown <ericm@palaver.net>
To: PGsql <pgsql-sql@postgreSQL.org>
Subject: Re: [SQL] dilemma
Date: Wed, 14 Oct 1998 11:46:13 +0200
Message-ID: <l03110700b24a22c17e45@[194.90.105.243]> (raw)
In-Reply-To: <Pine.LNX.3.96.981013211531.20289F-100000@farout.palaver.net>

At 4:24 +0200 on 14/10/98, Eric McKeown wrote:


> Is there a better way to design this?  I thought about making the option
> ids for each vehicle a comma-delimited text field, but maybe the search
> would be even slower if I did that.  Since I'm not a SQL expert, I don't
> know, but I'm asking all the experts out there--how should I set this
> thing up??

Your solution is the best, most classic solution. You just need to index
the relational table properly (Put an index on each of the fields).

Herouth

--
Herouth Maoz, Internet developer.
Open University of Israel - Telem project
http://telem.openu.ac.il/~herutma





view thread (3+ messages)  latest in thread

Message-ID: <l03110700b24a22c17e45@[194.90.105.243]>
Permalink:  ../l03110700b24a22c17e45@%5B194.90.105.243%5D/
Also on:    postgresql.org/message-id/l03110700b24a22c17e45@[194.90.105.243]

 · 

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-sql@postgresql.org
  Cc: herouth@oumail.openu.ac.il, ericm@palaver.net
  Subject: Re: [SQL] dilemma
  In-Reply-To: <l03110700b24a22c17e45@[194.90.105.243]>
  References: <Pine.LNX.3.96.981013211531.20289F-100000@farout.palaver.net> <l03110700b24a22c17e45@[194.90.105.243]>

* 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